Re: [PATCH v2 0/3] Fix infinite machine check loop in futex_wait_setup()

2021-01-14 Thread Andy Lutomirski
On Mon, Jan 11, 2021 at 1:45 PM Tony Luck wrote: > > Linux can now recover from machine checks where kernel code is > doing get_user() to access application memory. But there isn't > a way to distinguish whether get_user() failed because of a page > fault or a machine check. > > Thus there is a pr

[PATCH v2 0/3] Fix infinite machine check loop in futex_wait_setup()

2021-01-11 Thread Tony Luck
Linux can now recover from machine checks where kernel code is doing get_user() to access application memory. But there isn't a way to distinguish whether get_user() failed because of a page fault or a machine check. Thus there is a problem if any kernel code thinks it can retry an access after do