aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/hugetlb.c1
-rw-r--r--mm/slab.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index f127940ec24f..d7ca59d66c59 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -84,6 +84,7 @@ static struct page *dequeue_huge_page(struct vm_area_struct *vma,
84 list_del(&page->lru); 84 list_del(&page->lru);
85 free_huge_pages--; 85 free_huge_pages--;
86 free_huge_pages_node[nid]--; 86 free_huge_pages_node[nid]--;
87 break;
87 } 88 }
88 } 89 }
89 return page; 90 return page;
diff --git a/mm/slab.c b/mm/slab.c
index bde271c001ba..a684778b2b41 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -2776,7 +2776,7 @@ static int cache_grow(struct kmem_cache *cachep,
2776 * 'nodeid'. 2776 * 'nodeid'.
2777 */ 2777 */
2778 if (!objp) 2778 if (!objp)
2779 objp = kmem_getpages(cachep, flags, nodeid); 2779 objp = kmem_getpages(cachep, local_flags, nodeid);
2780 if (!objp) 2780 if (!objp)
2781 goto failed; 2781 goto failed;
2782 2782