aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slab.c')
-rw-r--r--mm/slab.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mm/slab.c b/mm/slab.c
index 7451bdacaf18..f9626d51a4b1 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -935,7 +935,6 @@ static int transfer_objects(struct array_cache *to,
935 935
936 from->avail -= nr; 936 from->avail -= nr;
937 to->avail += nr; 937 to->avail += nr;
938 to->touched = 1;
939 return nr; 938 return nr;
940} 939}
941 940
@@ -2963,8 +2962,10 @@ retry:
2963 spin_lock(&l3->list_lock); 2962 spin_lock(&l3->list_lock);
2964 2963
2965 /* See if we can refill from the shared array */ 2964 /* See if we can refill from the shared array */
2966 if (l3->shared && transfer_objects(ac, l3->shared, batchcount)) 2965 if (l3->shared && transfer_objects(ac, l3->shared, batchcount)) {
2966 l3->shared->touched = 1;
2967 goto alloc_done; 2967 goto alloc_done;
2968 }
2968 2969
2969 while (batchcount > 0) { 2970 while (batchcount > 0) {
2970 struct list_head *entry; 2971 struct list_head *entry;