diff options
| author | Christoph Lameter <[email protected]> | 2014-08-06 16:04:11 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-08-06 18:01:13 -0700 |
| commit | 18bf854117c6caa4d0083bd42411895163467cb9 (patch) | |
| tree | 8d411ff12caf678b48232673b6c5db4b61b67428 /tools/perf/scripts/python | |
| parent | fa45dc254bcf740852752effa35387be684947f8 (diff) | |
slab: use get_node() and kmem_cache_node() functions
Use the two functions to simplify the code avoiding numerous explicit
checks coded checking for a certain node to be online.
Get rid of various repeated calculations of kmem_cache_node structures.
[[email protected]: fix build]
Signed-off-by: Christoph Lameter <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Acked-by: David Rientjes <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions