[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181221144840.GB10600@bombadil.infradead.org>
Date: Fri, 21 Dec 2018 06:48:40 -0800
From: Matthew Wilcox <willy@...radead.org>
To: Nikolay Borisov <nborisov@...e.com>
Cc: linux-mm@...ck.org, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH] mm: Refactor readahead defines in mm.h
On Fri, Dec 21, 2018 at 04:40:53PM +0200, Nikolay Borisov wrote:
> All users of VM_MAX_READAHEAD actually convert it to kbytes and then to
> pages. Define the macro explicitly as (SZ_128K / PAGE_SIZE). This
> simplifies the expression in every filesystem. Also rename the macro to
> VM_READAHEAD_PAGES to properly convey its meaning. Finally remove unused
> VM_MIN_READAHEAD
>
> Signed-off-by: Nikolay Borisov <nborisov@...e.com>
Reviewed-by: Matthew Wilcox <willy@...radead.org>
Powered by blists - more mailing lists