diff options
Diffstat (limited to 'mm/ksm.c')
-rw-r--r-- | mm/ksm.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -283,7 +283,8 @@ static inline struct rmap_item *alloc_rmap_item(void) | |||
283 | { | 283 | { |
284 | struct rmap_item *rmap_item; | 284 | struct rmap_item *rmap_item; |
285 | 285 | ||
286 | rmap_item = kmem_cache_zalloc(rmap_item_cache, GFP_KERNEL); | 286 | rmap_item = kmem_cache_zalloc(rmap_item_cache, GFP_KERNEL | |
287 | __GFP_NORETRY | __GFP_NOWARN); | ||
287 | if (rmap_item) | 288 | if (rmap_item) |
288 | ksm_rmap_items++; | 289 | ksm_rmap_items++; |
289 | return rmap_item; | 290 | return rmap_item; |