Re: 回复: [PATCH v2] debugobjects: install cpu hotplug callback

2020-09-04 Thread Thomas Gleixner
On Fri, Sep 04 2020 at 07:50, Ingo Molnar wrote: >> +#if defined(CONFIG_HOTPLUG_CPU) >> +static int object_cpu_offline(unsigned int cpu) >> +{ >> + struct debug_percpu_free *percpu_pool; >> + struct hlist_node *tmp; >> + struct debug_obj *obj; >> + >> + percpu_pool =

Re: 回复: [PATCH v2] debugobjects: install cpu hotplug callback

2020-09-03 Thread Ingo Molnar
ogle.com > 抄送: linux-kernel@vger.kernel.org > 主题: [PATCH v2] debugobjects: install cpu hotplug callback > > From: Zqiang > > Due to cpu hotplug, it may never be online after it's offline, > some objects in percpu pool is never free, in order to avoid > this happening, inst

回复: [PATCH v2] debugobjects: install cpu hotplug callback

2020-09-03 Thread Zhang, Qiang
: install cpu hotplug callback From: Zqiang Due to cpu hotplug, it may never be online after it's offline, some objects in percpu pool is never free, in order to avoid this happening, install cpu hotplug callback, call this callback func to free objects in percpu pool when cpu going offline. Signed

[PATCH v2] debugobjects: install cpu hotplug callback

2020-08-26 Thread qiang.zhang
From: Zqiang Due to cpu hotplug, it may never be online after it's offline, some objects in percpu pool is never free, in order to avoid this happening, install cpu hotplug callback, call this callback func to free objects in percpu pool when cpu going offline. Signed-off-by: Zqiang ---