Re: powerpc/tm: Drop tm_orig_msr from thread_struct

2015-07-22 Thread Michael Ellerman
On Mon, 2015-06-07 at 10:54:10 UTC, Anshuman Khandual wrote: Currently tm_orig_msr is getting used during process context switch only. Then there is ckpt_regs which saves the checkpointed userspace context The MSR slot contained in ckpt_regs structure can be used during process context switch

[PATCH] powerpc/tm: Drop tm_orig_msr from thread_struct

2015-07-06 Thread Anshuman Khandual
Currently tm_orig_msr is getting used during process context switch only. Then there is ckpt_regs which saves the checkpointed userspace context The MSR slot contained in ckpt_regs structure can be used during process context switch instead of tm_orig_msr, thus allowing us to drop it from

Re: [RFC] powerpc, tm: Drop tm_orig_msr from thread_struct

2015-07-02 Thread Michael Neuling
On Mon, 2015-04-20 at 13:45 +0530, Anshuman Khandual wrote: Currently tm_orig_msr is getting used during process context switch only. Then there is ckpt_regs which saves the checkpointed userspace context The MSR slot contained in ckpt_regs structure can be used during process context switch

Re: [RFC] powerpc, tm: Drop tm_orig_msr from thread_struct

2015-06-25 Thread Anshuman Khandual
On 04/24/2015 10:31 AM, Anshuman Khandual wrote: On 04/20/2015 01:45 PM, Anshuman Khandual wrote: Currently tm_orig_msr is getting used during process context switch only. Then there is ckpt_regs which saves the checkpointed userspace context The MSR slot contained in ckpt_regs structure can

Re: [RFC] powerpc, tm: Drop tm_orig_msr from thread_struct

2015-04-23 Thread Anshuman Khandual
On 04/20/2015 01:45 PM, Anshuman Khandual wrote: Currently tm_orig_msr is getting used during process context switch only. Then there is ckpt_regs which saves the checkpointed userspace context The MSR slot contained in ckpt_regs structure can be used during process context switch instead of

[RFC] powerpc, tm: Drop tm_orig_msr from thread_struct

2015-04-20 Thread Anshuman Khandual
Currently tm_orig_msr is getting used during process context switch only. Then there is ckpt_regs which saves the checkpointed userspace context The MSR slot contained in ckpt_regs structure can be used during process context switch instead of tm_orig_msr, thus allowing us to drop it from