[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YNL/kb3E1miS28of@infradead.org>
Date: Wed, 23 Jun 2021 11:32:01 +0200
From: Christoph Hellwig <hch@...radead.org>
To: "Matthew Wilcox (Oracle)" <willy@...radead.org>
Cc: akpm@...ux-foundation.org, linux-fsdevel@...r.kernel.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 28/46] mm/writeback: Add filemap_dirty_folio()
On Tue, Jun 22, 2021 at 01:15:33PM +0100, Matthew Wilcox (Oracle) wrote:
> Reimplement __set_page_dirty_nobuffers() as a wrapper around
> filemap_dirty_folio(). This can use a cast to struct folio
> because we know that the ->set_page_dirty address space op
> is always called with a page pointer that happens to also be
> a folio pointer. Saves 7 bytes of kernel text.
Modulo the cast comment from the last patch this looks fine:
Reviewed-by: Christoph Hellwig <hch@....de>
Powered by blists - more mailing lists