diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2024-10-07 18:49:57 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-10-15 17:30:30 +0200 |
commit | a2a702383e8baa22ee66ee60f1e036835a1ef42e (patch) | |
tree | bf96953a5dde49404992c8769bb665a362346b5b /init | |
parent | 3f397bf9553d9f142fbfaa19713e0350803fcc31 (diff) | |
download | lwn-a2a702383e8baa22ee66ee60f1e036835a1ef42e.tar.gz lwn-a2a702383e8baa22ee66ee60f1e036835a1ef42e.zip |
debugobjects: Dont free objects directly on CPU hotplug
Freeing the per CPU pool of the unplugged CPU directly is suboptimal as the
objects can be reused in the real pool if there is room. Aside of that this
gets the accounting wrong.
Use the regular free path, which allows reuse and has the accounting correct.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/all/20241007164913.263960570@linutronix.de
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions