diff options
| author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-09-14 16:00:07 +0100 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-10-04 10:32:28 -0700 |
| commit | 775d9b10530a0a303dc08a9cdb2ed1f8667d9c5f (patch) | |
| tree | 157362cfc271d97a451dafe0fbee9d3dc1467fb3 /scripts/stackusage | |
| parent | ext4: use bdev_getblk() to avoid memory reclaim in readahead path (diff) | |
| download | linux-775d9b10530a0a303dc08a9cdb2ed1f8667d9c5f.tar.gz linux-775d9b10530a0a303dc08a9cdb2ed1f8667d9c5f.zip | |
buffer: use bdev_getblk() to avoid memory reclaim in readahead path
__getblk() adds __GFP_NOFAIL, which is unnecessary for readahead; we're
quite comfortable with the possibility that we may not get a bh back.
Switch to bdev_getblk() which does not include __GFP_NOFAIL.
Link: https://lkml.kernel.org/r/20230914150011.843330-5-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Hui Zhu <teawater@antgroup.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
