diff options
| author | 2007-06-23 17:16:32 -0700 | |
|---|---|---|
| committer | 2007-06-24 08:59:11 -0700 | |
| commit | 849663430268db63a9c3c7467984e4e530ded901 (patch) | |
| tree | 376459d03c5be4757813c5d185e364307bbbbd39 /scripts | |
| parent | SM501: Check SM501 ID register on initialisation (diff) | |
SLUB: fix behavior if the text output of list_locations overflows PAGE_SIZE
If slabs are allocated or freed from a large set of call sites (typical for
the kmalloc area) then we may create more output than fits into a single
PAGE and sysfs only gives us one page. The output should be truncated.
This patch fixes the checks to do the truncation properly.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
