diff options
| author | Baoquan He <[email protected]> | 2024-03-09 12:44:54 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-04-25 20:56:08 -0700 |
| commit | 4b68a773a7ceb3467efec308963140d3e217ec59 (patch) | |
| tree | 134f2a0963c19c9cb01071318462f822e6530880 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 5c46d5319bde73075c5f2cefd555426848eb506f (diff) | |
mm/vmalloc.c: optimize to reduce arguments of alloc_vmap_area()
If called by __get_vm_area_node(), by open coding the field assignments of
'struct vm_struct *vm', and move the vm->flags and vm->caller assignments
into __get_vm_area_node(), the passed in arguments 'flags' and 'caller'
can be removed.
This alleviates overloaded arguments passed in for alloc_vmap_area().
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Baoquan He <[email protected]>
Reviewed-by: Uladzislau Rezki (Sony) <[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