[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YWg+VUxXiJJTxXA3@casper.infradead.org>
Date: Thu, 14 Oct 2021 15:27:33 +0100
From: Matthew Wilcox <willy@...radead.org>
To: Kent Overstreet <kent.overstreet@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
akpm@...ux-foundation.org, linux-raid@...r.kernel.org,
linux-block@...r.kernel.org, axboe@...nel.dk,
alexander.h.duyck@...ux.intel.com
Subject: Re: [PATCH 5/5] brd: Kill usage of page->index
On Wed, Oct 13, 2021 at 12:00:34PM -0400, Kent Overstreet wrote:
> As part of the struct page cleanups underway, we want to remove as much
> usage of page->mapping and page->index as possible, as frequently they
> are known from context.
>
> In the brd code, we're never actually reading from page->index except in
> assertions, so references to it can be safely deleted.
>
> Signed-off-by: Kent Overstreet <kent.overstreet@...il.com>
More than that ... this is essentially asserting that the radix tree
code works, and we have a test suite to ensure that.
Reviewed-by: Matthew Wilcox (Oracle) <willy@...radead.org>
Powered by blists - more mailing lists