diff options
author | Zqiang <qiang.zhang@windriver.com> | 2020-09-08 09:27:09 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-10-01 17:13:54 +0300 |
commit | 88451f2cd3cec2abc30debdf129422d2699d1eba (patch) | |
tree | adde4c22e62edfd77bbbc8bee9579a37d75fa849 /drivers | |
parent | f9e62f318fd706a54b7ce9b28e5c7e49bbde8788 (diff) | |
download | linux-88451f2cd3cec2abc30debdf129422d2699d1eba.tar.xz |
debugobjects: Free per CPU pool after CPU unplug
If a CPU is offlined the debug objects per CPU pool is not cleaned up. If
the CPU is never onlined again then the objects in the pool are wasted.
Add a CPU hotplug callback which is invoked after the CPU is dead to free
the pool.
[ tglx: Massaged changelog and added comment about remote access safety ]
Signed-off-by: Zqiang <qiang.zhang@windriver.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Waiman Long <longman@redhat.com>
Link: https://lore.kernel.org/r/20200908062709.11441-1-qiang.zhang@windriver.com
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions