aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/slub.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 9fb892b6afe3..0996b3be751a 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1631,7 +1631,8 @@ new_slab:
1631 c->page = new; 1631 c->page = new;
1632 goto load_freelist; 1632 goto load_freelist;
1633 } 1633 }
1634 slab_out_of_memory(s, gfpflags, node); 1634 if (!(gfpflags & __GFP_NOWARN) && printk_ratelimit())
1635 slab_out_of_memory(s, gfpflags, node);
1635 return NULL; 1636 return NULL;
1636debug: 1637debug:
1637 if (!alloc_debug_processing(s, c->page, object, addr)) 1638 if (!alloc_debug_processing(s, c->page, object, addr))