commit | 88e4ccf294ca62c2da998012a83533ce150c8dce | [log] [tgz] |
---|---|---|
author | Alexey Dobriyan <adobriyan@gmail.com> | Mon Jun 23 02:58:37 2008 +0400 |
committer | Pekka Enberg <penberg@cs.helsinki.fi> | Tue Jul 15 20:36:01 2008 +0300 |
tree | bfb5e1a3bc4b5f0459cdd2d7ebe6ace2593f4e9d | |
parent | 0937502af7c9b648ed4e884ccb7f504b01a005a1 [diff] [blame] |
slub: current is always valid Acked-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
diff --git a/mm/slub.c b/mm/slub.c index b3f2e71..488400d 100644 --- a/mm/slub.c +++ b/mm/slub.c
@@ -411,7 +411,7 @@ 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));