Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1382400

mce: a question about memory_failure_early_kill in memory_failure()

From Xishi Qiu <qiuxishi@huawei.com>
Newsgroups linux.kernel
Subject mce: a question about memory_failure_early_kill in memory_failure()
Date 2016-04-19 13:20 +0200
Message-ID <rpBRg-615-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


/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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

mce: a question about memory_failure_early_kill in memory_failure() Xishi Qiu <qiuxishi@huawei.com> - 2016-04-19 13:20 +0200
  Re: mce: a question about memory_failure_early_kill in  memory_failure() Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2016-04-20 09:10 +0200
    Re: mce: a question about memory_failure_early_kill in memory_failure() Xishi Qiu <qiuxishi@huawei.com> - 2016-04-20 13:00 +0200
      Re: mce: a question about memory_failure_early_kill in memory_failure() Xishi Qiu <qiuxishi@huawei.com> - 2016-04-20 13:00 +0200
        Re: mce: a question about memory_failure_early_kill in  memory_failure() Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2016-04-21 01:20 +0200
          Re: mce: a question about memory_failure_early_kill in memory_failure() Xishi Qiu <qiuxishi@huawei.com> - 2016-04-21 05:20 +0200
          Re: mce: a question about memory_failure_early_kill in memory_failure() Xishi Qiu <qiuxishi@huawei.com> - 2016-04-21 10:30 +0200

csiph-web