projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging: hv: remove unneeded osd_schedule_callback
[firefly-linux-kernel-4.4.55.git]
/
mm
/
slab.c
diff --git
a/mm/slab.c
b/mm/slab.c
index fcae9815d3b35ce951669e8a404fb71b7a40d34f..b1e40dafbab3cc6326a6913acf17155cbcd8e7f0 100644
(file)
--- a/
mm/slab.c
+++ b/
mm/slab.c
@@
-901,7
+901,7
@@
static int transfer_objects(struct array_cache *to,
struct array_cache *from, unsigned int max)
{
/* Figure out how many entries to transfer */
- int nr = min
(min(from->avail, max)
, to->limit - to->avail);
+ int nr = min
3(from->avail, max
, to->limit - to->avail);
if (!nr)
return 0;