aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorChristoph Lameter <[email protected]>2013-07-02 12:12:10 -0700
committerPekka Enberg <[email protected]>2013-07-07 18:58:31 +0300
commit0f8f8094d28eb53368ac09186ea6b3a324cc7d44 (patch)
tree4f2d98ae905ce6405291880c034b18c8e59e2839 /tools/perf/scripts/python/syscall-counts-by-pid.py
parenta6d78159f8a717263bea71bef738256dafe6260d (diff)
slab: fix init_lock_keys
Some architectures (e.g. powerpc built with CONFIG_PPC_256K_PAGES=y CONFIG_FORCE_MAX_ZONEORDER=11) get PAGE_SHIFT + MAX_ORDER > 26. In 3.10 kernels, CONFIG_LOCKDEP=y with PAGE_SHIFT + MAX_ORDER > 26 makes init_lock_keys() dereference beyond kmalloc_caches[26]. This leads to an unbootable system (kernel panic at initializing SLAB) if one of kmalloc_caches[26...PAGE_SHIFT+MAX_ORDER-1] is not NULL. Fix this by making sure that init_lock_keys() does not dereference beyond kmalloc_caches[26] arrays. Signed-off-by: Christoph Lameter <[email protected]> Reported-by: Tetsuo Handa <[email protected]> Cc: Pekka Enberg <[email protected]> Cc: <[email protected]> [3.10.x] Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Pekka Enberg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions