diff options
| author | Johannes Weiner <[email protected]> | 2024-03-27 15:01:11 -0400 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-04-25 20:56:05 -0700 |
| commit | 883dd161e9a83e188487debc562b1928917a4b39 (patch) | |
| tree | bbe025ffd5ec026bb95bf84dc4ca96254dec4cfd /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | e1f42a577f63647dadf1abe4583053c03d6be045 (diff) | |
mm: page_alloc: batch vmstat updates in expand()
expand() currently updates vmstat for every subpage. This is unnecessary,
since they're all of the same zone and migratetype.
Count added pages locally, then do a single vmstat update.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Johannes Weiner <[email protected]>
Suggested-by: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions