projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbff2e4
)
SLUB: Fix some coding style issues
author
Amerigo Wang
<amwang@redhat.com>
Wed, 19 Aug 2009 18:44:13 +0000
(21:44 +0300)
committer
Pekka Enberg
<penberg@cs.helsinki.fi>
Wed, 19 Aug 2009 18:44:13 +0000
(21:44 +0300)
Signed-off-by: WANG Cong <amwang@redhat.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
b9f1491
..
e4c3e3a
100644
(file)
--- a/
mm/slub.c
+++ b/
mm/slub.c
@@
-1109,8
+1109,7
@@
static struct page *allocate_slab(struct kmem_cache *s, gfp_t flags, int node)
}
if (kmemcheck_enabled
- && !(s->flags & (SLAB_NOTRACK | DEBUG_DEFAULT_FLAGS)))
- {
+ && !(s->flags & (SLAB_NOTRACK | DEBUG_DEFAULT_FLAGS))) {
int pages = 1 << oo_order(oo);
kmemcheck_alloc_shadow(page, oo_order(oo), flags, node);
@@
-2001,7
+2000,7
@@
static inline int calculate_order(int size)
return order;
fraction /= 2;
}
- min_objects
--;
+ min_objects--;
}
/*