[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200915161814.GC2949@xz-x1>
Date: Tue, 15 Sep 2020 12:18:14 -0400
From: Peter Xu <peterx@...hat.com>
To: Oleg Nesterov <oleg@...hat.com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
"Maya B . Gokhale" <gokhale2@...l.gov>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Yang Shi <yang.shi@...ux.alibaba.com>,
Marty Mcfadden <mcfadden8@...l.gov>,
Kirill Shutemov <kirill@...temov.name>,
Jann Horn <jannh@...gle.com>, Jan Kara <jack@...e.cz>,
Kirill Tkhai <ktkhai@...tuozzo.com>,
Andrea Arcangeli <aarcange@...hat.com>,
Christoph Hellwig <hch@....de>,
Andrew Morton <akpm@...ux-foundation.org>
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
Powered by blists - more mailing lists