Files
kernel_oneplus_sm8250/include/linux
Nikolay Borisov a8aad8f9ad BACKPORT: mm: refactor readahead defines in mm.h
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

[akpm@linux-foundation.org: fix fs/io_uring.c, per Stephen]
Link: http://lkml.kernel.org/r/20181221144053.24318-1-nborisov@suse.com
Change-Id: I77cfef5b38468d9cd9539ee43a6579a5e4c59d45
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Matthew Wilcox <willy@infradead.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Eric Van Hensbergen <ericvh@gmail.com>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Cc: Dominique Martinet <asmadeus@codewreck.org>
Cc: David Howells <dhowells@redhat.com>
Cc: Chris Mason <clm@fb.com>
Cc: Josef Bacik <josef@toxicpanda.com>
Cc: David Sterba <dsterba@suse.com>
Cc: Miklos Szeredi <miklos@szeredi.hu>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2025-12-03 06:28:17 -05:00
..
2025-08-31 10:10:00 +01:00
2025-09-30 21:35:03 +01:00
2022-10-26 13:19:32 +02:00
2022-12-17 00:25:35 +02:00
2025-08-30 09:46:24 +02:00
2025-08-30 09:46:24 +02:00
2020-06-17 06:00:22 +05:30
2021-01-30 13:32:12 +01:00
2020-05-11 10:27:22 -07:00
2024-06-09 02:32:30 +03:00
2021-03-05 07:01:18 +01:00
2021-08-27 15:24:34 +02:00
2022-08-25 11:15:23 +02:00
2020-09-09 19:48:58 +02:00
2025-08-30 09:45:32 +02:00
2021-06-30 19:17:14 +02:00
2023-06-21 15:39:57 +02:00
2025-09-22 10:17:51 +02:00
2020-06-16 12:51:47 -07:00
2023-02-22 12:28:07 +00:00
2025-09-16 13:55:10 +02:00
2025-08-28 03:26:18 +03:00
2023-10-25 11:16:20 +02:00
2021-12-14 10:18:04 +01:00
2025-08-30 09:45:32 +02:00
2023-05-18 15:51:07 +00:00
2020-09-11 11:22:30 -07:00
2024-02-23 08:12:39 +01:00