diff options
Diffstat (limited to 'kernel/mm/ksm.c')
-rw-r--r-- | kernel/mm/ksm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/mm/ksm.c b/kernel/mm/ksm.c index b5cd647da..2f028e6d0 100644 --- a/kernel/mm/ksm.c +++ b/kernel/mm/ksm.c @@ -283,7 +283,8 @@ static inline struct rmap_item *alloc_rmap_item(void) { struct rmap_item *rmap_item; - rmap_item = kmem_cache_zalloc(rmap_item_cache, GFP_KERNEL); + rmap_item = kmem_cache_zalloc(rmap_item_cache, GFP_KERNEL | + __GFP_NORETRY | __GFP_NOWARN); if (rmap_item) ksm_rmap_items++; return rmap_item; |