projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0937502
)
slub: current is always valid
author
Alexey Dobriyan
<adobriyan@gmail.com>
Sun, 22 Jun 2008 22:58:37 +0000
(
02:58
+0400)
committer
Pekka Enberg
<penberg@cs.helsinki.fi>
Tue, 15 Jul 2008 17:36:01 +0000
(20:36 +0300)
Acked-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/slub.c
patch
|
blob
|
history
diff --git
a/mm/slub.c
b/mm/slub.c
index
b3f2e71
..
488400d
100644
(file)
--- a/
mm/slub.c
+++ b/
mm/slub.c
@@
-411,7
+411,7
@@
static void set_track(struct kmem_cache *s, void *object,
if (addr) {
p->addr = addr;
p->cpu = smp_processor_id();
- p->pid = current
? current->pid : -1
;
+ p->pid = current
->pid
;
p->when = jiffies;
} else
memset(p, 0, sizeof(struct track));