[PATCH 1/4] cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING

2012-08-17 Thread Frederic Weisbecker
S390, ia64 and powerpc all define their own version of CONFIG_VIRT_CPU_ACCOUNTING. Generalize the config and its description to a single place to avoid duplication. Signed-off-by: Frederic Weisbecker Cc: Tony Luck Cc: Fenghua Yu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Martin

[PATCH 1/4] cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING

2012-08-17 Thread Frederic Weisbecker
S390, ia64 and powerpc all define their own version of CONFIG_VIRT_CPU_ACCOUNTING. Generalize the config and its description to a single place to avoid duplication. Signed-off-by: Frederic Weisbecker fweis...@gmail.com Cc: Tony Luck tony.l...@intel.com Cc: Fenghua Yu fenghua...@intel.com Cc:

Re: [PATCH 1/4] cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING

2012-08-16 Thread Frederic Weisbecker
On Thu, Aug 16, 2012 at 04:00:44PM +0200, Martin Schwidefsky wrote: > On Thu, 16 Aug 2012 14:55:59 +0200 > Frederic Weisbecker wrote: > > > On Thu, Aug 16, 2012 at 07:38:17PM +1000, Benjamin Herrenschmidt wrote: > > > On Thu, 2012-08-16 at 09:53 +0200, Martin Schwidefsky wrote: > > > > Hmm, ok.

Re: [PATCH 1/4] cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING

2012-08-16 Thread Martin Schwidefsky
On Thu, 16 Aug 2012 14:55:59 +0200 Frederic Weisbecker wrote: > On Thu, Aug 16, 2012 at 07:38:17PM +1000, Benjamin Herrenschmidt wrote: > > On Thu, 2012-08-16 at 09:53 +0200, Martin Schwidefsky wrote: > > > Hmm, ok. But then the description should be reworded not to be specific to > > > the

Re: [PATCH 1/4] cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING

2012-08-16 Thread Frederic Weisbecker
On Thu, Aug 16, 2012 at 07:38:17PM +1000, Benjamin Herrenschmidt wrote: > On Thu, 2012-08-16 at 09:53 +0200, Martin Schwidefsky wrote: > > Hmm, ok. But then the description should be reworded not to be specific to > > the power architecture (the part of the message about "This also enables > >

Re: [PATCH 1/4] cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING

2012-08-16 Thread Benjamin Herrenschmidt
On Thu, 2012-08-16 at 09:53 +0200, Martin Schwidefsky wrote: > Hmm, ok. But then the description should be reworded not to be specific to > the power architecture (the part of the message about "This also enables > accounting of stolen time on logically-partitioned systems running on IBM >

Re: [PATCH 1/4] cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING

2012-08-16 Thread Martin Schwidefsky
On Wed, 15 Aug 2012 21:09:04 +0200 Frederic Weisbecker wrote: > On Wed, Aug 15, 2012 at 05:03:47PM +0200, Martin Schwidefsky wrote: > > On Tue, 14 Aug 2012 16:16:47 +0200 > > Frederic Weisbecker wrote: > > > > > S390, ia64 and powerpc all define their own version > > > of

Re: [PATCH 1/4] cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING

2012-08-16 Thread Martin Schwidefsky
On Wed, 15 Aug 2012 21:09:04 +0200 Frederic Weisbecker fweis...@gmail.com wrote: On Wed, Aug 15, 2012 at 05:03:47PM +0200, Martin Schwidefsky wrote: On Tue, 14 Aug 2012 16:16:47 +0200 Frederic Weisbecker fweis...@gmail.com wrote: S390, ia64 and powerpc all define their own version

Re: [PATCH 1/4] cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING

2012-08-16 Thread Benjamin Herrenschmidt
On Thu, 2012-08-16 at 09:53 +0200, Martin Schwidefsky wrote: Hmm, ok. But then the description should be reworded not to be specific to the power architecture (the part of the message about This also enables accounting of stolen time on logically-partitioned systems running on IBM POWER5-based

Re: [PATCH 1/4] cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING

2012-08-16 Thread Frederic Weisbecker
On Thu, Aug 16, 2012 at 07:38:17PM +1000, Benjamin Herrenschmidt wrote: On Thu, 2012-08-16 at 09:53 +0200, Martin Schwidefsky wrote: Hmm, ok. But then the description should be reworded not to be specific to the power architecture (the part of the message about This also enables accounting

Re: [PATCH 1/4] cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING

2012-08-16 Thread Martin Schwidefsky
On Thu, 16 Aug 2012 14:55:59 +0200 Frederic Weisbecker fweis...@gmail.com wrote: On Thu, Aug 16, 2012 at 07:38:17PM +1000, Benjamin Herrenschmidt wrote: On Thu, 2012-08-16 at 09:53 +0200, Martin Schwidefsky wrote: Hmm, ok. But then the description should be reworded not to be specific to

Re: [PATCH 1/4] cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING

2012-08-16 Thread Frederic Weisbecker
On Thu, Aug 16, 2012 at 04:00:44PM +0200, Martin Schwidefsky wrote: On Thu, 16 Aug 2012 14:55:59 +0200 Frederic Weisbecker fweis...@gmail.com wrote: On Thu, Aug 16, 2012 at 07:38:17PM +1000, Benjamin Herrenschmidt wrote: On Thu, 2012-08-16 at 09:53 +0200, Martin Schwidefsky wrote:

Re: [PATCH 1/4] cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING

2012-08-15 Thread Frederic Weisbecker
On Wed, Aug 15, 2012 at 05:03:47PM +0200, Martin Schwidefsky wrote: > On Tue, 14 Aug 2012 16:16:47 +0200 > Frederic Weisbecker wrote: > > > S390, ia64 and powerpc all define their own version > > of CONFIG_VIRT_CPU_ACCOUNTING. Generalize the config > > and its description to a single place to

Re: [PATCH 1/4] cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING

2012-08-15 Thread Martin Schwidefsky
On Tue, 14 Aug 2012 16:16:47 +0200 Frederic Weisbecker wrote: > S390, ia64 and powerpc all define their own version > of CONFIG_VIRT_CPU_ACCOUNTING. Generalize the config > and its description to a single place to avoid > duplication. For S390 CONFIG_VIRT_CPU_ACCOUNTING is not configurable, it

Re: [PATCH 1/4] cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING

2012-08-15 Thread Martin Schwidefsky
On Tue, 14 Aug 2012 16:16:47 +0200 Frederic Weisbecker fweis...@gmail.com wrote: S390, ia64 and powerpc all define their own version of CONFIG_VIRT_CPU_ACCOUNTING. Generalize the config and its description to a single place to avoid duplication. For S390 CONFIG_VIRT_CPU_ACCOUNTING is not

Re: [PATCH 1/4] cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING

2012-08-15 Thread Frederic Weisbecker
On Wed, Aug 15, 2012 at 05:03:47PM +0200, Martin Schwidefsky wrote: On Tue, 14 Aug 2012 16:16:47 +0200 Frederic Weisbecker fweis...@gmail.com wrote: S390, ia64 and powerpc all define their own version of CONFIG_VIRT_CPU_ACCOUNTING. Generalize the config and its description to a single

[PATCH 1/4] cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING

2012-08-14 Thread Frederic Weisbecker
S390, ia64 and powerpc all define their own version of CONFIG_VIRT_CPU_ACCOUNTING. Generalize the config and its description to a single place to avoid duplication. Signed-off-by: Frederic Weisbecker Cc: Tony Luck Cc: Fenghua Yu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Martin

[PATCH 1/4] cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING

2012-08-14 Thread Frederic Weisbecker
S390, ia64 and powerpc all define their own version of CONFIG_VIRT_CPU_ACCOUNTING. Generalize the config and its description to a single place to avoid duplication. Signed-off-by: Frederic Weisbecker fweis...@gmail.com Cc: Tony Luck tony.l...@intel.com Cc: Fenghua Yu fenghua...@intel.com Cc: