[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YEpL2im5KCoEeXlS@hirez.programming.kicks-ass.net>
Date: Thu, 11 Mar 2021 17:56:58 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: "Luck, Tony" <tony.luck@...el.com>
Cc: Andy Lutomirski <luto@...capital.net>,
Aili Yao <yaoaili@...gsoft.com>,
Oleg Nesterov <oleg@...hat.com>,
Linux API <linux-api@...r.kernel.org>,
Andy Lutomirski <luto@...nel.org>,
HORIGUCHI NAOYA <naoya.horiguchi@....com>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
"H. Peter Anvin" <hpa@...or.com>, X86 ML <x86@...nel.org>,
"yangfeng1@...gsoft.com" <yangfeng1@...gsoft.com>,
Linux-MM <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>,
"sunhao2@...gsoft.com" <sunhao2@...gsoft.com>
Subject: Re: [PATCH v3] x86/fault: Send a SIGBUS to user process always for
hwpoison page access.
On Thu, Mar 11, 2021 at 04:52:10PM +0000, Luck, Tony wrote:
> > I think we need to at least fix the existing bug before we add more
> > signals. AFAICS the MCE_IN_KERNEL_COPYIN code is busted for kernel
> > threads.
>
> Can a kernel thread do get_user() or copy_from_user()? Do we have kernel threads
> that have an associated user address space to copy from?
kthread_use_mm()
Powered by blists - more mailing lists