diff options
author | Glauber Costa <[email protected]> | 2013-02-22 20:20:00 +0400 |
---|---|---|
committer | Pekka Enberg <[email protected]> | 2013-02-28 09:29:38 +0200 |
commit | 7d557b3cb69398d83ceabad9cf147c93a3aa97fd (patch) | |
tree | f1582b8912fe77bac85dc0e1cbac44acab1a7e7a /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | b1e0541674904db00e17ce646b0a1d54f59136a5 (diff) |
slub: correctly bootstrap boot caches
After we create a boot cache, we may allocate from it until it is bootstraped.
This will move the page from the partial list to the cpu slab list. If this
happens, the loop:
list_for_each_entry(p, &n->partial, lru)
that we use to scan for all partial pages will yield nothing, and the pages
will keep pointing to the boot cpu cache, which is of course, invalid. To do
that, we should flush the cache to make sure that the cpu slab is back to the
partial list.
Signed-off-by: Glauber Costa <[email protected]>
Reported-by: Steffen Michalke <[email protected]>
Tested-by: KAMEZAWA Hiroyuki <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Tejun Heo <[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