All of lore.kernel.org
 help / color / mirror / Atom feed
* Question about a8ea6fc9b089 ("sched: Stop PF_NO_SETAFFINITY from being inherited by various init system threads")
@ 2021-06-10 17:04 Paul E. McKenney
  2021-06-10 18:28 ` Valentin Schneider
  0 siblings, 1 reply; 9+ messages in thread
From: Paul E. McKenney @ 2021-06-10 17:04 UTC (permalink / raw)
  To: frederic; +Cc: linux-kernel

Hello, Frederic,

This commit works well, but has the unfortunate side-effect of making
smp_processor_id() complain when used in a preemptible region even
though the kthread has been pinned onto a single CPU by a call to
set_cpus_allowed_ptr().  (Which did return success.)

This isn't a big deal -- I can easily switch to raw_smp_processor_id(),
which is arguably a better choice anyway because it prevents the
complaints from flooding out any real warnings due to error returns
from set_cpus_allowed_ptr() or something else unpinning the kthread.
Which I am in the process of doing:

516e52e9f5ec ("scftorture: Avoid excess warnings")
475d6d49f21d ("refscale: Avoid excess warnings in ref_scale_reader()")

But I figured that I should check to see if this change was in fact
intentional.

							Thanx, Paul

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

end of thread, other threads:[~2021-06-11 17:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-10 17:04 Question about a8ea6fc9b089 ("sched: Stop PF_NO_SETAFFINITY from being inherited by various init system threads") Paul E. McKenney
2021-06-10 18:28 ` Valentin Schneider
2021-06-10 20:17   ` Paul E. McKenney
2021-06-11 10:12     ` Valentin Schneider
2021-06-11 13:52       ` Paul E. McKenney
2021-06-11 14:19         ` Valentin Schneider
2021-06-11 17:10           ` Paul E. McKenney
2021-06-11 12:42     ` Frederic Weisbecker
2021-06-11 17:11       ` Paul E. McKenney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.