Re: [RFC PATCH 1/5] powerpc: Syscall hooks for context tracking subsystem

2013-02-10 Thread Frederic Weisbecker
2013/2/1 Li Zhong : > This is the syscall slow path hooks for context tracking subsystem, > corresponding to > [PATCH] x86: Syscall hooks for userspace RCU extended QS > commit bf5a3c13b939813d28ce26c01425054c740d6731 > > TIF_MEMDIE is moved to the second 16-bits (with value 17), as it seems

Re: [RFC PATCH 1/5] powerpc: Syscall hooks for context tracking subsystem

2013-02-10 Thread Frederic Weisbecker
2013/2/1 Li Zhong zh...@linux.vnet.ibm.com: This is the syscall slow path hooks for context tracking subsystem, corresponding to [PATCH] x86: Syscall hooks for userspace RCU extended QS commit bf5a3c13b939813d28ce26c01425054c740d6731 TIF_MEMDIE is moved to the second 16-bits (with value

Re: [RFC PATCH 1/5] powerpc: Syscall hooks for context tracking subsystem

2013-02-07 Thread Frederic Weisbecker
2013/2/7 Li Zhong : > On Thu, 2013-02-07 at 01:29 +0100, Frederic Weisbecker wrote: >> In x86-64, schedule_user() and do_notify_resume() can be called before >> syscall_trace_leave(). As a result we may be entering >> syscall_trace_leave() in user mode (from a context tracking POV). To >> fix this

Re: [RFC PATCH 1/5] powerpc: Syscall hooks for context tracking subsystem

2013-02-07 Thread Li Zhong
On Thu, 2013-02-07 at 01:29 +0100, Frederic Weisbecker wrote: > 2013/2/1 Li Zhong : > > This is the syscall slow path hooks for context tracking subsystem, > > corresponding to > > [PATCH] x86: Syscall hooks for userspace RCU extended QS > > commit bf5a3c13b939813d28ce26c01425054c740d6731 > > >

Re: [RFC PATCH 1/5] powerpc: Syscall hooks for context tracking subsystem

2013-02-07 Thread Li Zhong
On Thu, 2013-02-07 at 01:29 +0100, Frederic Weisbecker wrote: 2013/2/1 Li Zhong zh...@linux.vnet.ibm.com: This is the syscall slow path hooks for context tracking subsystem, corresponding to [PATCH] x86: Syscall hooks for userspace RCU extended QS commit

Re: [RFC PATCH 1/5] powerpc: Syscall hooks for context tracking subsystem

2013-02-07 Thread Frederic Weisbecker
2013/2/7 Li Zhong zh...@linux.vnet.ibm.com: On Thu, 2013-02-07 at 01:29 +0100, Frederic Weisbecker wrote: In x86-64, schedule_user() and do_notify_resume() can be called before syscall_trace_leave(). As a result we may be entering syscall_trace_leave() in user mode (from a context tracking

Re: [RFC PATCH 1/5] powerpc: Syscall hooks for context tracking subsystem

2013-02-06 Thread Frederic Weisbecker
2013/2/1 Li Zhong : > This is the syscall slow path hooks for context tracking subsystem, > corresponding to > [PATCH] x86: Syscall hooks for userspace RCU extended QS > commit bf5a3c13b939813d28ce26c01425054c740d6731 > > TIF_MEMDIE is moved to the second 16-bits (with value 17), as it seems

Re: [RFC PATCH 1/5] powerpc: Syscall hooks for context tracking subsystem

2013-02-06 Thread Frederic Weisbecker
2013/2/1 Li Zhong zh...@linux.vnet.ibm.com: This is the syscall slow path hooks for context tracking subsystem, corresponding to [PATCH] x86: Syscall hooks for userspace RCU extended QS commit bf5a3c13b939813d28ce26c01425054c740d6731 TIF_MEMDIE is moved to the second 16-bits (with value

[RFC PATCH 1/5] powerpc: Syscall hooks for context tracking subsystem

2013-02-01 Thread Li Zhong
This is the syscall slow path hooks for context tracking subsystem, corresponding to [PATCH] x86: Syscall hooks for userspace RCU extended QS commit bf5a3c13b939813d28ce26c01425054c740d6731 TIF_MEMDIE is moved to the second 16-bits (with value 17), as it seems there is no asm code using it.

[RFC PATCH 1/5] powerpc: Syscall hooks for context tracking subsystem

2013-02-01 Thread Li Zhong
This is the syscall slow path hooks for context tracking subsystem, corresponding to [PATCH] x86: Syscall hooks for userspace RCU extended QS commit bf5a3c13b939813d28ce26c01425054c740d6731 TIF_MEMDIE is moved to the second 16-bits (with value 17), as it seems there is no asm code using it.