Messages in this thread | | | Date | Tue, 15 Sep 2020 12:18:14 -0400 | From | Peter Xu <> | Subject | Re: [PATCH 1/4] mm: Trial do_wp_page() simplification |
| |
On Tue, Sep 15, 2020 at 05:03:49PM +0200, Oleg Nesterov wrote: > > - if (reuse_swap_page(vmf->page, &total_map_swapcount)) { > > It seems that nobody else calls reuse_swap_page() with total_map_swapcount != NULL.
Seems correct. Though maybe we could postpone the cleanup later, until the fallouts of the cow rework settle (just in case we'd like to bring some mapcount logic back). Thanks,
-- Peter Xu
| |