diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-03-16 18:53:18 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-03-17 12:28:30 +0100 |
commit | 1be1cb7b47f0744141ed61cdb25648819ae1a56f (patch) | |
tree | 2d13d83492881e333f633f5513aec79b4816ff78 /mm/page_cgroup.c | |
parent | 3e8ebb5c433f016dff5824587436642d87fc2e6c (diff) | |
download | linux-stable-1be1cb7b47f0744141ed61cdb25648819ae1a56f.tar.gz linux-stable-1be1cb7b47f0744141ed61cdb25648819ae1a56f.tar.bz2 linux-stable-1be1cb7b47f0744141ed61cdb25648819ae1a56f.zip |
debugobjects: replace static objects when slab cache becomes available
Impact: refactor/consolidate object management, prepare for delayed free
debugobjects allocates static reference objects to track objects which
are initialized or activated before the slab cache becomes
available. These static reference objects have to be handled
seperately in free_object(). The handling of these objects is in the
way of implementing a delayed free functionality. The delayed free is
required to avoid callbacks into the mm code from
debug_check_no_obj_freed().
Replace the static object references with dynamic ones after the slab
cache has been initialized. The static objects are now marked initdata.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
LKML-Reference: <200903162049.58058.nickpiggin@yahoo.com.au>
Diffstat (limited to 'mm/page_cgroup.c')
0 files changed, 0 insertions, 0 deletions