All of lore.kernel.org
 help / color / mirror / Atom feed
* mce: a question about memory_failure_early_kill in memory_failure()
@ 2016-04-19 11:13 ` Xishi Qiu
  0 siblings, 0 replies; 14+ 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] 14+ messages in thread

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

Thread overview: 14+ 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-19 11:13 ` Xishi Qiu
2016-04-20  7:07 ` Naoya Horiguchi
2016-04-20  7:07   ` Naoya Horiguchi
2016-04-20 10:51   ` Xishi Qiu
2016-04-20 10:51     ` Xishi Qiu
2016-04-20 10:58     ` Xishi Qiu
2016-04-20 10:58       ` Xishi Qiu
2016-04-20 23:15       ` Naoya Horiguchi
2016-04-20 23:15         ` Naoya Horiguchi
2016-04-21  3:17         ` Xishi Qiu
2016-04-21  3:17           ` Xishi Qiu
2016-04-21  8:20         ` Xishi Qiu
2016-04-21  8:20           ` Xishi Qiu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.