RE: [PATCH v2 0/5] mm/hwpoison: Fix regressions in memory failure handling

Luck, Tony posted 5 patches 10 months ago
Only 0 patches received!
There is a newer version of this series
RE: [PATCH v2 0/5] mm/hwpoison: Fix regressions in memory failure handling
Posted by Luck, Tony 10 months ago
>> What do futexes have to do with copying user memory?
>
> Return -EFAULT to userspace.

Missed this bit. Kernel code for futex does a get_user() to read the
value of the futex from user memory.

-Tony


Re: [PATCH v2 0/5] mm/hwpoison: Fix regressions in memory failure handling
Posted by Shuai Xue 10 months ago

在 2025/2/19 01:59, Luck, Tony 写道:
>>> What do futexes have to do with copying user memory?
>>
>> Return -EFAULT to userspace.
> 
> Missed this bit. Kernel code for futex does a get_user() to read the
> value of the futex from user memory.
> 
> -Tony
> 
> 

Tony, you saved me.

Thanks.
Shuai