diff options
author | Baoquan He <[email protected]> | 2023-07-22 09:14:37 +0800 |
---|---|---|
committer | Dennis Zhou <[email protected]> | 2023-08-25 08:04:59 -0700 |
commit | 7ee1e758bebe13d96217bcfd5230892ed44760e7 (patch) | |
tree | 6b7afec57953b733b6888135beba6d49a57406bd /scripts/clang-tools/gen_compile_commands.py | |
parent | 5b672085e70c2ea40f4c9d6a23848079bf0ff700 (diff) |
mm/percpu.c: optimize the code in pcpu_setup_first_chunk() a little bit
This removes the need of local varibale 'chunk', and optimize the code
calling pcpu_alloc_first_chunk() to initialize reserved chunk and
dynamic chunk to make it simpler.
Signed-off-by: Baoquan He <[email protected]>
[Dennis: reworded first chunk init comment]
Signed-off-by: Dennis Zhou <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions