linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* mce: a question about memory_failure_early_kill in memory_failure()
@ 2016-04-19 11:13 Xishi Qiu
  2016-04-20  7:07 ` Naoya Horiguchi
  0 siblings, 1 reply; 7+ messages in thread
From: Xishi Qiu @ 2016-04-19 11:13 UTC (permalink / raw)
  To: Linux MM, LKML, Naoya Horiguchi; +Cc: Xishi Qiu

/proc/sys/vm/memory_failure_early_kill

1: means kill all processes that have the corrupted and not reloadable page mapped.
0: means only unmap the corrupted page from all processes and only kill a process
who tries to access it.

If set memory_failure_early_kill to 0, and memory_failure() has been called.
memory_failure()
	hwpoison_user_mappings()
		collect_procs()  // the task(with no PF_MCE_PROCESS flag) is not in the tokill list
			try_to_unmap()

If the task access the memory, there will be a page fault,
so the task can not access the original page again, right?

Thanks,
Xishi Qiu

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-04-21  8:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-19 11:13 mce: a question about memory_failure_early_kill in memory_failure() Xishi Qiu
2016-04-20  7:07 ` Naoya Horiguchi
2016-04-20 10:51   ` Xishi Qiu
2016-04-20 10:58     ` Xishi Qiu
2016-04-20 23:15       ` Naoya Horiguchi
2016-04-21  3:17         ` Xishi Qiu
2016-04-21  8:20         ` Xishi Qiu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).