mm/mempolicy.c | 28 +++++++++++++++++++-------
mm/page_alloc.c | 33 +++++++++++++++++++++---------
mm/slab.c | 13 +++++++-----
- mm/slub.c | 35 +++++++++++++++++++++-----------
+ mm/slub.c | 36 +++++++++++++++++++++------------
mm/vmscan.c | 2 -
- 12 files changed, 133 insertions(+), 109 deletions(-)
+ 12 files changed, 133 insertions(+), 110 deletions(-)
--- a/include/linux/cpuset.h
+++ b/include/linux/cpuset.h
/*
* The defrag ratio allows a configuration of the tradeoffs between
-@@ -1480,22 +1481,32 @@ static struct page *get_any_partial(stru
+@@ -1480,23 +1481,32 @@ static struct page *get_any_partial(stru
get_cycles() % 1024 > s->remote_node_defrag_ratio)
return NULL;
}
}
- }
+- put_mems_allowed();
+ } while (!put_mems_allowed(cpuset_mems_cookie));
- put_mems_allowed();
#endif
return NULL;
+ }
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -2251,7 +2251,6 @@ static unsigned long do_try_to_free_page