diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2023-12-15 20:02:35 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-12-29 11:58:33 -0800 |
| commit | 12ac5a65cb5612e938abdd58c2dcc9cdc80b6101 (patch) | |
| tree | a3de81140b8a51a0283d9e9fde0476988fb17c5f /tools/perf/scripts/python | |
| parent | 6ad7c607b125ce02bd0870f490d990aee8609070 (diff) | |
fs: reduce stack usage in do_mpage_readpage
Some architectures support a very large PAGE_SIZE, so instead of the 8
pointers we see with a 4kB PAGE_SIZE, we can see 128 pointers with 64kB or
so many on Hexagon that it trips compiler warnings about exceeding stack
frame size.
All we're doing with this array is checking for block contiguity, which we
can as well do by remembering the address of the first block in the page
and checking this block is at the appropriate offset from that address.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Jens Axboe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions