Thread (47 messages) 47 messages, 6 authors, 2013-02-07

Re: [PATCH v5 07/14] memory-hotplug: move pgdat_resize_lock into sparse_remove_one_section()

From: Kamezawa Hiroyuki <hidden>
Date: 2012-12-26 03:48:35
Also in: linux-acpi, linux-mm, linux-s390, linux-sh, lkml, sparclinux

(2012/12/24 21:09), Tang Chen wrote:
In __remove_section(), we locked pgdat_resize_lock when calling
sparse_remove_one_section(). This lock will disable irq. But we don't need
to lock the whole function. If we do some work to free pagetables in
free_section_usemap(), we need to call flush_tlb_all(), which need
irq enabled. Otherwise the WARN_ON_ONCE() in smp_call_function_many()
will be triggered.

Signed-off-by: Tang Chen <redacted>
Signed-off-by: Lai Jiangshan <redacted>
Signed-off-by: Wen Congyang <redacted>
If this is a bug fix, call-trace in your log and BUGFIX or -fix- in patch title
will be appreciated, I think.

Acked-by: KAMEZAWA Hiroyuki <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help