diff options
| author | Yu Zhao <[email protected]> | 2019-11-30 17:49:37 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-12-01 06:29:18 -0800 |
| commit | dd98afd4d606a674809b6f9fc44c22347457b9fa (patch) | |
| tree | fd96f6d864c3a354ec96681e6b95973104ec0363 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | aed6814894323cc059224fec47841bf7b0d94774 (diff) | |
mm/slub.c: clean up validate_slab()
The function doesn't need to return any value, and the check can be done
in one pass.
There is a behavior change: before the patch, we stop at the first invalid
free object; after the patch, we stop at the first invalid object, free or
in use. This shouldn't matter because the original behavior isn't
intended anyway.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Yu Zhao <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: Tetsuo Handa <[email protected]>
Cc: Yu Zhao <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions