diff options
| author | Christoph Hellwig <[email protected]> | 2022-01-24 10:10:49 +0100 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-02-02 07:49:59 -0700 |
| commit | d5f68a42da7a4516e7503c281a54a58727f07dc3 (patch) | |
| tree | d46e6e44a1f009aa070ce56372cfc8886be8b9b4 /tools/perf/scripts/python/bin | |
| parent | 322cbb50de711814c42fb088f6d31901502c711a (diff) | |
fs: remove mpage_alloc
open code mpage_alloc in it's two callers and simplify the results
because of the context:
- __mpage_writepage always passes GFP_NOFS and can thus always sleep and
will never get a NULL return from bio_alloc at all.
- do_mpage_readpage can only get a non-sleeping context for readahead
which never sets PF_MEMALLOC and thus doesn't need the retry loop
either.
Both cases will never have __GFP_HIGH set.
Signed-off-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions