public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: + kmod-remove-unecessary-explicit-wide-cpu-affinity-setting.patch added to -mm tree
       [not found] <559c5c37.S4vYB5A6NQhb8Yx5%akpm@linux-foundation.org>
@ 2015-07-07 23:32 ` Oleg Nesterov
  2015-07-08 12:52   ` Frederic Weisbecker
  0 siblings, 1 reply; 2+ messages in thread
From: Oleg Nesterov @ 2015-07-07 23:32 UTC (permalink / raw)
  To: akpm; +Cc: fweisbec, cl, riel, rusty, tj, linux-kernel

Well, sorry for noise.

Let me repeat that I agree with this change, but...

On 07/07, Andrew Morton wrote:
>
> From: Frederic Weisbecker <fweisbec@gmail.com>
> Subject: kmod: remove unecessary explicit wide CPU affinity setting
>
> Not only useless it even breaks nohz full.  The housekeeping work (general
> kernel internal code that user doesn't care much about) is handled by a
> reduced set of CPUs in nohz full, precisely those that are not included by
> nohz_full= kernel parameters.  For example unbound workqueues are handled
> by housekeeping CPUs.

I still think this part of the changelog looks confusing and just wrong.

It is not that it breaks nohz full, unbound workqueues have nothing to
do with housekeeping_mask from the kernel pov. But yes, people can change
->cpumask and this can connect to housekeeping_mask.

Frederic, may I ask you to update the changelog? Although perhaps it was
just me who was confused...

Oleg.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: + kmod-remove-unecessary-explicit-wide-cpu-affinity-setting.patch added to -mm tree
  2015-07-07 23:32 ` + kmod-remove-unecessary-explicit-wide-cpu-affinity-setting.patch added to -mm tree Oleg Nesterov
@ 2015-07-08 12:52   ` Frederic Weisbecker
  0 siblings, 0 replies; 2+ messages in thread
From: Frederic Weisbecker @ 2015-07-08 12:52 UTC (permalink / raw)
  To: Oleg Nesterov; +Cc: akpm, cl, riel, rusty, tj, linux-kernel

On Wed, Jul 08, 2015 at 01:32:26AM +0200, Oleg Nesterov wrote:
> Well, sorry for noise.
> 
> Let me repeat that I agree with this change, but...
> 
> On 07/07, Andrew Morton wrote:
> >
> > From: Frederic Weisbecker <fweisbec@gmail.com>
> > Subject: kmod: remove unecessary explicit wide CPU affinity setting
> >
> > Not only useless it even breaks nohz full.  The housekeeping work (general
> > kernel internal code that user doesn't care much about) is handled by a
> > reduced set of CPUs in nohz full, precisely those that are not included by
> > nohz_full= kernel parameters.  For example unbound workqueues are handled
> > by housekeeping CPUs.
> 
> I still think this part of the changelog looks confusing and just wrong.

I agree!

> 
> It is not that it breaks nohz full, unbound workqueues have nothing to
> do with housekeeping_mask from the kernel pov. But yes, people can change
> ->cpumask and this can connect to housekeeping_mask.

Right. In fact that's the motivation of the patch but the connection is
much more indirect than what the changelog suggests. So I'll fix the changelog.

> 
> Frederic, may I ask you to update the changelog? Although perhaps it was
> just me who was confused...

Sure! I think Andrew applied the patches to keep track of them and make sure
they don't get lost. But I'm working on a new iteration to replace them.

Thanks!

> Oleg.
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-08 12:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <559c5c37.S4vYB5A6NQhb8Yx5%akpm@linux-foundation.org>
2015-07-07 23:32 ` + kmod-remove-unecessary-explicit-wide-cpu-affinity-setting.patch added to -mm tree Oleg Nesterov
2015-07-08 12:52   ` Frederic Weisbecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox