projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d1e9a4
)
slub: Fix debugobjects with lockless fastpath
author
Thomas Gleixner
<
[email protected]
>
Thu, 24 Mar 2011 19:26:46 +0000
(21:26 +0200)
committer
Pekka Enberg
<
[email protected]
>
Thu, 24 Mar 2011 19:26:46 +0000
(21:26 +0200)
On Thu, 24 Mar 2011, Ingo Molnar wrote:
> RIP: 0010:[<
ffffffff810570a9
>] [<
ffffffff810570a9
>] get_next_timer_interrupt+0x119/0x260
That's a typical timer crash, but you were unable to debug it with
debugobjects because commit
d3f661d6
broke those.
Cc: Christoph Lameter <
[email protected]
>
Tested-by: Ingo Molnar <
[email protected]
>
Signed-off-by: Thomas Gleixner <
[email protected]
>
Signed-off-by: Pekka Enberg <
[email protected]
>
mm/slub.c
patch
|
blob
|
history
diff --git
a/mm/slub.c
b/mm/slub.c
index 93de30db95f5943037b1a37a9fae1e2578f06287..a6a783594ad44e4caf2ba7daafa16df15585fa48 100644
(file)
--- a/
mm/slub.c
+++ b/
mm/slub.c
@@
-849,11
+849,11
@@
static inline void slab_free_hook(struct kmem_cache *s, void *x)
local_irq_save(flags);
kmemcheck_slab_free(s, x, s->objsize);
debug_check_no_locks_freed(x, s->objsize);
- if (!(s->flags & SLAB_DEBUG_OBJECTS))
- debug_check_no_obj_freed(x, s->objsize);
local_irq_restore(flags);
}
#endif
+ if (!(s->flags & SLAB_DEBUG_OBJECTS))
+ debug_check_no_obj_freed(x, s->objsize);
}
/*