git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
slub: use count_partial_free_approx() in slab_out_of_memory()
[sfrench/cifs-2.6.git]
/
mm
/
slub.c
diff --git
a/mm/slub.c
b/mm/slub.c
index 7e2a208134c313ae9efad133cc255773c0fab3c9..3aa12b9b323d9e8969a3506cece15d512be08216 100644
(file)
--- a/
mm/slub.c
+++ b/
mm/slub.c
@@
-3301,7
+3301,7
@@
slab_out_of_memory(struct kmem_cache *s, gfp_t gfpflags, int nid)
unsigned long nr_objs;
unsigned long nr_free;
- nr_free = count_partial
(n, count_free
);
+ nr_free = count_partial
_free_approx(n
);
nr_slabs = node_nr_slabs(n);
nr_objs = node_nr_objs(n);