Re: [PATCH] HWPOISON: add a pr_err message when forcibly send a sigbus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/19/23 12:22, Shuai Xue wrote:
When a process tries to access a page that is already offline, the
kernel will send a sigbus signal with the BUS_MCEERR_AR code. This
signal is typically handled by a registered sigbus handler in the
process. However, if the process does not have a registered sigbus
handler, it is important for end users to be informed about what
happened.

To address this, add an error message similar to those implemented on
the x86, powerpc, and parisc platforms.

Signed-off-by: Shuai Xue <xueshuai@xxxxxxxxxxxxxxxxx>
---
  arch/arm64/mm/fault.c  | 2 ++
  arch/parisc/mm/fault.c | 5 ++---
  arch/x86/mm/fault.c    | 3 +--
  3 files changed, 5 insertions(+), 5 deletions(-)

Acked-by: Helge Deller <deller@xxxxxx> # parisc






[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux