diff options
| author | David Rientjes <[email protected]> | 2011-06-23 01:13:04 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-06-23 04:06:48 +0000 |
| commit | f957db4fcdd8f03e186aa8f041f4049e76ab741c (patch) | |
| tree | 34c5868d819fad1b831e72ca600e655a7b9d8872 /kernel/trace/trace_functions.c | |
| parent | mm, hotplug: fix error handling in mem_online_node() (diff) | |
| download | kernel-f957db4fcdd8f03e186aa8f041f4049e76ab741c.tar.gz kernel-f957db4fcdd8f03e186aa8f041f4049e76ab741c.zip | |
mm, hotplug: protect zonelist building with zonelists_mutex
Commit 959ecc48fc75 ("mm/memory_hotplug.c: fix building of node hotplug
zonelist") does not protect the build_all_zonelists() call with
zonelists_mutex as needed. This can lead to races in constructing
zonelist ordering if a concurrent build is underway. Protecting this
with lock_memory_hotplug() is insufficient since zonelists can be
rebuild though sysfs as well.
Signed-off-by: David Rientjes <[email protected]>
Reviewed-by: KOSAKI Motohiro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'kernel/trace/trace_functions.c')
0 files changed, 0 insertions, 0 deletions
