Re: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-27 Thread Dan Streetman
To: Neil Zhang >> > Cc: Dan Streetman; linux-kernel@vger.kernel.org >> > Subject: Re: [PATCH] drivers: base: update cpu offline info when do hotplug >> > >> > On Sun, Oct 26, 2014 at 06:43:11PM -0700, Neil Zhang wrote: >> > > Greg, >> > > >&g

RE: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-26 Thread Neil Zhang
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: 2014年10月27日 10:27 > To: Neil Zhang > Cc: Dan Streetman; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] drivers: base: update cpu offline info when do hotplug > > On Sun, Oc

Re: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-26 Thread Greg KH
[mailto:ddstr...@gmail.com] On Behalf Of > > > > Dan Streetman > > > > Sent: 2014年10月21日 1:03 > > > > To: Neil Zhang > > > > Cc: Greg KH; linux-kernel@vger.kernel.org > > > > Subject: Re: [PATCH] drivers: base: update cpu offline

RE: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-26 Thread Neil Zhang
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: 2014年10月27日 9:59 > To: Neil Zhang > Cc: Dan Streetman; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] drivers: base: update cpu offline info when do hotplug > > On Sun, Oct 26,

Re: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-26 Thread Greg KH
KH; linux-kernel@vger.kernel.org > > Subject: Re: [PATCH] drivers: base: update cpu offline info when do hotplug > > > > On Mon, Oct 20, 2014 at 3:40 AM, Neil Zhang wrote: > > > Greg, > > > > > > > > > -Original Message- > > > F

RE: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-26 Thread Neil Zhang
Greg, > -Original Message- > From: ddstr...@gmail.com [mailto:ddstr...@gmail.com] On Behalf Of Dan > Streetman > Sent: 2014年10月21日 1:03 > To: Neil Zhang > Cc: Greg KH; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] drivers: base: update cpu offline info when d

Re: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-23 Thread Dan Streetman
On Tue, Oct 21, 2014 at 9:02 AM, Dan Streetman wrote: > On Sun, Oct 19, 2014 at 11:29 PM, Neil Zhang wrote: >> The current per-cpu offline info won't be updated if it is >> hotplugged in/out by a kernel governer. >> Let's update it via cpu notifier. >> >> Signed-off-by: Neil Zhang >> --- >> dri

RE: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-21 Thread Neil Zhang
Dan, > -Original Message- > From: ddstr...@gmail.com [mailto:ddstr...@gmail.com] On Behalf Of Dan > Streetman > Sent: 2014年10月21日 21:03 > To: Neil Zhang > Cc: linux-kernel; Greg Kroah-Hartman > Subject: Re: [PATCH] drivers: base: update cpu offline info when do hotplu

Re: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-21 Thread Dan Streetman
On Sun, Oct 19, 2014 at 11:29 PM, Neil Zhang wrote: > The current per-cpu offline info won't be updated if it is > hotplugged in/out by a kernel governer. > Let's update it via cpu notifier. > > Signed-off-by: Neil Zhang > --- > drivers/base/cpu.c | 25 + > 1 file chang

Re: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-21 Thread Dan Streetman
e- >>> From: Greg KH [mailto:gre...@linuxfoundation.org] >>> Sent: 2014年10月20日 14:48 >>> To: Neil Zhang >>> Cc: linux-kernel@vger.kernel.org >>> Subject: Re: [PATCH] drivers: base: update cpu offline info when do >>> hotplug >>> >

Re: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-20 Thread Yasuaki Ishimatsu
: Re: [PATCH] drivers: base: update cpu offline info when do hotplug On Sun, Oct 19, 2014 at 11:39:23PM -0700, Neil Zhang wrote: How much noise is this going to cause on a big/little system that constantly hot unplug/plugs processors all of the time? Can you explain more what kind of noise will

RE: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-20 Thread Neil Zhang
> -Original Message- > From: Yasuaki Ishimatsu [mailto:isimatu.yasu...@jp.fujitsu.com] > Sent: 2014年10月21日 11:27 > To: Neil Zhang; Dan Streetman > Cc: Greg KH; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] drivers: base: update cpu offline info when do hotplug &

Re: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-20 Thread Yasuaki Ishimatsu
: [PATCH] drivers: base: update cpu offline info when do hotplug On Sun, Oct 19, 2014 at 11:39:23PM -0700, Neil Zhang wrote: How much noise is this going to cause on a big/little system that constantly hot unplug/plugs processors all of the time? Can you explain more what kind of noise will be

RE: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-20 Thread Neil Zhang
Yasuaki, > -Original Message- > From: Yasuaki Ishimatsu [mailto:isimatu.yasu...@jp.fujitsu.com] > Sent: 2014年10月21日 10:57 > To: Dan Streetman; Neil Zhang > Cc: Greg KH; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] drivers: base: update cpu offline info when do ho

Re: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-20 Thread Yasuaki Ishimatsu
: base: update cpu offline info when do hotplug On Sun, Oct 19, 2014 at 11:39:23PM -0700, Neil Zhang wrote: How much noise is this going to cause on a big/little system that constantly hot unplug/plugs processors all of the time? Can you explain more what kind of noise will be introduced on a

RE: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-20 Thread Neil Zhang
Dan, > -Original Message- > From: ddstr...@gmail.com [mailto:ddstr...@gmail.com] On Behalf Of Dan > Streetman > Sent: 2014年10月21日 1:03 > To: Neil Zhang > Cc: Greg KH; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] drivers: base: update cpu offline info when do

Re: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-20 Thread Dan Streetman
On Mon, Oct 20, 2014 at 3:40 AM, Neil Zhang wrote: > Greg, > > > -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: 2014年10月20日 14:48 > To: Neil Zhang > Cc: linux-kernel@vger.kernel.org > Subject: Re: [PATCH] drivers: base: upda

RE: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-20 Thread Neil Zhang
Greg, -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: 2014年10月20日 14:48 To: Neil Zhang Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers: base: update cpu offline info when do hotplug On Sun, Oct 19, 2014 at 11:39:23PM -0700, Neil Zhang wrote

Re: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-19 Thread Greg KH
On Sun, Oct 19, 2014 at 11:39:23PM -0700, Neil Zhang wrote: >> How much noise is this going to cause on a big/little system that >> constantly hot unplug/plugs processors all of the time? > > Can you explain more what kind of noise will be introduced on a big/little > system? Have you tested thi

RE: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-19 Thread Neil Zhang
Greg, -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: 2014年10月20日 12:44 To: Neil Zhang Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers: base: update cpu offline info when do hotplug On Mon, Oct 20, 2014 at 11:29:08AM +0800, Neil Zhang wrote

Re: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-19 Thread Greg KH
On Mon, Oct 20, 2014 at 11:29:08AM +0800, Neil Zhang wrote: > The current per-cpu offline info won't be updated if it is > hotplugged in/out by a kernel governer. > Let's update it via cpu notifier. > > Signed-off-by: Neil Zhang > --- > drivers/base/cpu.c | 25 + > 1 fi

[PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-19 Thread Neil Zhang
The current per-cpu offline info won't be updated if it is hotplugged in/out by a kernel governer. Let's update it via cpu notifier. Signed-off-by: Neil Zhang --- drivers/base/cpu.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/base/cpu.c b/drivers/base