Re: [PATCH] mm: Define VM_(MAX|MIN)_READAHEAD via sizes.h constants

2018-12-21 Thread Nikolay Borisov
On 21.12.18 г. 15:24 ч., Matthew Wilcox wrote: > On Fri, Dec 21, 2018 at 02:53:14PM +0200, Nikolay Borisov wrote: >> All users of the aformentioned macros convert them to kbytes by >> multplying. Instead, directly define the macros via the aptly named >> SZ_16K/SZ_128K ones. Also remove the now

Re: [PATCH] mm: Define VM_(MAX|MIN)_READAHEAD via sizes.h constants

2018-12-21 Thread Matthew Wilcox
On Fri, Dec 21, 2018 at 02:53:14PM +0200, Nikolay Borisov wrote: > All users of the aformentioned macros convert them to kbytes by > multplying. Instead, directly define the macros via the aptly named > SZ_16K/SZ_128K ones. Also remove the now redundant comments explaining > that VM_* are defined i

[PATCH] mm: Define VM_(MAX|MIN)_READAHEAD via sizes.h constants

2018-12-21 Thread Nikolay Borisov
All users of the aformentioned macros convert them to kbytes by multplying. Instead, directly define the macros via the aptly named SZ_16K/SZ_128K ones. Also remove the now redundant comments explaining that VM_* are defined in kbytes it's obvious. No functional changes. Signed-off-by: Nikolay Bor