[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <815893.1623839446@warthog.procyon.org.uk>
Date: Wed, 16 Jun 2021 11:30:46 +0100
From: David Howells <dhowells@...hat.com>
To: "Matthew Wilcox (Oracle)" <willy@...radead.org>
Cc: dhowells@...hat.com, akpm@...ux-foundation.org,
linux-fsdevel@...r.kernel.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Christoph Hellwig <hch@....de>,
Jeff Layton <jlayton@...nel.org>,
"Kirill A . Shutemov" <kirill.shutemov@...ux.intel.com>,
Vlastimil Babka <vbabka@...e.cz>,
William Kucharski <william.kucharski@...cle.com>
Subject: Re: [PATCH v11 26/33] mm/writeback: Add folio_wait_writeback()
Matthew Wilcox (Oracle) <willy@...radead.org> wrote:
> + struct page *page = &folio->page;
Isn't that a layering violation? Should it be something like:
struct page *page = folio_head();
or:
struct page *page = folio_subpage(0);
maybe?
Powered by blists - more mailing lists