[RFC]: Possible race condition in kernel futex code

2015-10-05 Thread Jaccon Bastiaansen
xplicit 32 bit read in get_futex_value_locked() instead of using the generic function copy_from_user_inatomic() and hoping the compiler uses an atomic access and the right access size. What is your opinion on this? Regards, Jaccon Bastiaansen -- To unsubscribe from this list: send the line &q

[RFC]: Possible race condition in kernel futex code

2015-10-05 Thread Jaccon Bastiaansen
e condition Our idea to fix this problem is use an explicit 32 bit read in get_futex_value_locked() instead of using the generic function copy_from_user_inatomic() and hoping the compiler uses an atomic access and the right access size. What is your opinion on this? Regards, Jaccon Bastiaansen --

Re: [PATCH v3] arm: remove !CPU_V6 and !GENERIC_ATOMIC64 build dependencies for XEN

2014-01-13 Thread Jaccon Bastiaansen
2014/1/10 Chen Gang F T : > On 01/10/2014 02:42 AM, Will Deacon wrote: >> On Thu, Jan 09, 2014 at 12:47:24PM +, Stefano Stabellini wrote: >>> On Thu, 9 Jan 2014, Arnd Bergmann wrote: On Thursday 09 January 2014, Will Deacon wrote: > On Wed, Jan 08, 2014 at 06:00:23PM +, Stefano

Re: [PATCH v3] arm: remove !CPU_V6 and !GENERIC_ATOMIC64 build dependencies for XEN

2014-01-13 Thread Jaccon Bastiaansen
2014/1/10 Chen Gang F T chen.gang.flying.transfor...@gmail.com: On 01/10/2014 02:42 AM, Will Deacon wrote: On Thu, Jan 09, 2014 at 12:47:24PM +, Stefano Stabellini wrote: On Thu, 9 Jan 2014, Arnd Bergmann wrote: On Thursday 09 January 2014, Will Deacon wrote: On Wed, Jan 08, 2014 at