Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167721
b: refs/heads/master
c: 92f7ba7
h: refs/heads/master
i:
  167719: a2c0bd1
v: v3
  • Loading branch information
Hugh Dickins authored and Linus Torvalds committed Oct 29, 2009
1 parent acd58d5 commit 59b94bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2eca40a8ccd4160dbfaa5cbd61038d921d0e5f13
refs/heads/master: 92f7ba70eecf4da8264a767b181cc2090f62d4ad
3 changes: 2 additions & 1 deletion trunk/mm/memory-failure.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include <linux/mm.h>
#include <linux/page-flags.h>
#include <linux/sched.h>
#include <linux/ksm.h>
#include <linux/rmap.h>
#include <linux/pagemap.h>
#include <linux/swap.h>
Expand Down Expand Up @@ -661,7 +662,7 @@ static void hwpoison_user_mappings(struct page *p, unsigned long pfn,
int i;
int kill = 1;

if (PageReserved(p) || PageCompound(p) || PageSlab(p))
if (PageReserved(p) || PageCompound(p) || PageSlab(p) || PageKsm(p))
return;

if (!PageLRU(p))
Expand Down

0 comments on commit 59b94bf

Please sign in to comment.