[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YNlqTb3gUG6dVq3t@infradead.org>
Date: Mon, 28 Jun 2021 07:21:01 +0100
From: Christoph Hellwig <hch@...radead.org>
To: Matthew Wilcox <willy@...radead.org>
Cc: Christoph Hellwig <hch@...radead.org>, akpm@...ux-foundation.org,
linux-fsdevel@...r.kernel.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 05/46] mm: Add arch_make_folio_accessible()
On Thu, Jun 24, 2021 at 04:57:29PM +0100, Matthew Wilcox wrote:
> On Wed, Jun 23, 2021 at 10:00:37AM +0200, Christoph Hellwig wrote:
> > On Tue, Jun 22, 2021 at 01:15:10PM +0100, Matthew Wilcox (Oracle) wrote:
> > > As a default implementation, call arch_make_page_accessible n times.
> > > If an architecture can do better, it can override this.
> > >
> > > Also move the default implementation of arch_make_page_accessible()
> > > from gfp.h to mm.h.
> >
> > Can we wait with introducing arch hooks until we have an actual user
> > lined up?
>
> This one gets used in __folio_end_writeback() which is patch 24 in this
> series.
With arch hook I mean the ifdef to allow the architeture to override
the folio function. Same for the previous patch, btw.
Powered by blists - more mailing lists