Re: [PATCH 8/8] powerpc/64s: idle POWER8 avoid full state loss recovery when possible

2017-03-16 Thread Nicholas Piggin
On Thu, 16 Mar 2017 21:42:01 +0530 Gautham R Shenoy wrote: Hey, thanks for the review. > Hi Nick, > > On Tue, Mar 14, 2017 at 07:23:49PM +1000, Nicholas Piggin wrote: > > If not all threads were in winkle, full state loss recovery is not > > necessary and can be avoided. A previous patch remove

Re: [PATCH 8/8] powerpc/64s: idle POWER8 avoid full state loss recovery when possible

2017-03-16 Thread Gautham R Shenoy
Hi Nick, On Tue, Mar 14, 2017 at 07:23:49PM +1000, Nicholas Piggin wrote: > If not all threads were in winkle, full state loss recovery is not > necessary and can be avoided. A previous patch removed this optimisation > due to some complexity with the implementation. Re-implement it by > counting

[PATCH 8/8] powerpc/64s: idle POWER8 avoid full state loss recovery when possible

2017-03-14 Thread Nicholas Piggin
If not all threads were in winkle, full state loss recovery is not necessary and can be avoided. A previous patch removed this optimisation due to some complexity with the implementation. Re-implement it by counting the number of threads in winkle with the per-core idle state. Only restore full sta