diff options
| author | Wei Yang <[email protected]> | 2014-08-06 16:04:42 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-08-06 18:01:15 -0700 |
| commit | 54266640709a24c9844245d0d9f36b9cb1f31326 (patch) | |
| tree | c3fc54c3c86b0ff0d06f244baadada4f7d0dd2a3 /tools/perf/scripts/python | |
| parent | 5e804789673114c616816f8387169790afe376b5 (diff) | |
slub: avoid duplicate creation on the first object
When a kmem_cache is created with ctor, each object in the kmem_cache
will be initialized before ready to use. While in slub implementation,
the first object will be initialized twice.
This patch reduces the duplication of initialization of the first
object.
Fix commit 7656c72b ("SLUB: add macros for scanning objects in a slab").
Signed-off-by: Wei Yang <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: 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