diff options
| author | Rik van Riel <[email protected]> | 2023-01-27 18:46:51 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2023-01-28 00:08:00 +0000 |
| commit | da27f796a832122ee533c7685438dad1c4e338dd (patch) | |
| tree | f65cbf61db048942e78fc877732d60be814eebb0 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
| parent | ipc,namespace: make ipc namespace allocation wait for pending free (diff) | |
| download | kernel-da27f796a832122ee533c7685438dad1c4e338dd.tar.gz kernel-da27f796a832122ee533c7685438dad1c4e338dd.zip | |
ipc,namespace: batch free ipc_namespace structures
Instead of waiting for an RCU grace period between each ipc_namespace
structure that is being freed, wait an RCU grace period for every batch
of ipc_namespace structures.
Thanks to Al Viro for the suggestion of the helper function.
This speeds up the run time of the test case that allocates ipc_namespaces
in a loop from 6 minutes, to a little over 1 second:
real 0m1.192s
user 0m0.038s
sys 0m1.152s
Signed-off-by: Rik van Riel <[email protected]>
Reported-by: Chris Mason <[email protected]>
Tested-by: Giuseppe Scrivano <[email protected]>
Suggested-by: Al Viro <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions
