diff options
| author | Matthew Wilcox <[email protected]> | 2018-01-31 16:17:40 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2018-01-31 17:18:37 -0800 |
| commit | 146500e9604cece72d4bed1cd15fac789220c795 (patch) | |
| tree | 4ba9664cfc70ede864bc351129f471a9310f1c4f /tools/perf/scripts/python/bin/netdev-times-record | |
| parent | 977fbdcd5986c9ff700bf276644d2b1973a53348 (diff) | |
mm: get 7% more pages in a pagevec
We don't have to use an entire 'long' for the number of elements in the
pagevec; we know it's a number between 0 and 14 (now 15). So we can
store it in a char, and then the bool packs next to it and we still have
two or six bytes of padding for more elements in the header. That gives
us space to cram in an extra page.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/netdev-times-record')
0 files changed, 0 insertions, 0 deletions