All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] sched/fifo changes for v5.9
@ 2020-08-04 11:10 Ingo Molnar
  2020-08-05  1:55 ` Ingo Molnar
  2020-08-06 19:55 ` pr-tracker-bot
  0 siblings, 2 replies; 3+ messages in thread
From: Ingo Molnar @ 2020-08-04 11:10 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, Peter Zijlstra, Thomas Gleixner, Andrew Morton,
	Juri Lelli, Vincent Guittot

Linus,

Please pull the latest sched/fifo git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-fifo-2020-08-04

   # HEAD: 4fd5750af02ab7bba7c58a073060cc1da8a69173 sched,tracing: Convert to sched_set_fifo()

This tree adds the sched_set_fifo*() encapsulation APIs to remove
static priority level knowledge from non-scheduler code.

The three APIs for non-scheduler code to set SCHED_FIFO are:

 - sched_set_fifo()
 - sched_set_fifo_low()
 - sched_set_normal()

These are two FIFO priority levels: default (high), and a 'low' priority level,
plus sched_set_normal() to set the policy back to non-SCHED_FIFO.

Since the changes affect a lot of non-scheduler code, we kept this in a separate
tree.

When merging to the latest upstream tree there's a conflict in drivers/spi/spi.c,
which can be resolved via:

	sched_set_fifo(ctlr->kworker_task);

Signed-off-by: Ingo Molnar <mingo@kernel.org>
 Thanks,

	Ingo

------------------>
Peter Zijlstra (24):
      sched: Provide sched_set_fifo()
      sched,bL_switcher: Convert to sched_set_fifo*()
      sched,crypto: Convert to sched_set_fifo*()
      sched,acpi_pad: Convert to sched_set_fifo*()
      sched,drbd: Convert to sched_set_fifo*()
      sched,psci: Convert to sched_set_fifo*()
      sched,msm: Convert to sched_set_fifo*()
      sched,drm/scheduler: Convert to sched_set_fifo*()
      sched,ivtv: Convert to sched_set_fifo*()
      sched,mmc: Convert to sched_set_fifo*()
      sched,spi: Convert to sched_set_fifo*()
      sched,powercap: Convert to sched_set_fifo*()
      sched,ion: Convert to sched_set_normal()
      sched,powerclamp: Convert to sched_set_fifo()
      sched,serial: Convert to sched_set_fifo()
      sched,watchdog: Convert to sched_set_fifo()
      sched,irq: Convert to sched_set_fifo()
      sched,locktorture: Convert to sched_set_fifo()
      sched,rcuperf: Convert to sched_set_fifo_low()
      sched,rcutorture: Convert to sched_set_fifo_low()
      sched,psi: Convert to sched_set_fifo_low()
      sched: Remove sched_setscheduler*() EXPORTs
      sched: Remove sched_set_*() return value
      sched,tracing: Convert to sched_set_fifo()


 arch/arm/common/bL_switcher.c            |  3 +-
 crypto/crypto_engine.c                   |  3 +-
 drivers/acpi/acpi_pad.c                  |  3 +-
 drivers/block/drbd/drbd_receiver.c       |  5 +---
 drivers/firmware/psci/psci_checker.c     | 10 +------
 drivers/gpu/drm/msm/msm_drv.c            | 13 +--------
 drivers/gpu/drm/scheduler/sched_main.c   |  3 +-
 drivers/media/pci/ivtv/ivtv-driver.c     |  4 +--
 drivers/mmc/core/sdio_irq.c              |  3 +-
 drivers/platform/chrome/cros_ec_spi.c    | 11 ++-----
 drivers/powercap/idle_inject.c           |  4 +--
 drivers/spi/spi.c                        |  4 +--
 drivers/staging/android/ion/ion_heap.c   |  4 +--
 drivers/thermal/intel/intel_powerclamp.c |  5 +---
 drivers/tty/serial/sc16is7xx.c           |  3 +-
 drivers/watchdog/watchdog_dev.c          |  3 +-
 include/linux/sched.h                    |  3 ++
 kernel/irq/manage.c                      |  6 +---
 kernel/locking/locktorture.c             | 10 ++-----
 kernel/rcu/rcuperf.c                     |  8 ++---
 kernel/rcu/rcutorture.c                  |  7 +----
 kernel/sched/core.c                      | 50 ++++++++++++++++++++++++++++++--
 kernel/sched/psi.c                       |  5 +---
 kernel/trace/ring_buffer_benchmark.c     | 48 +++++++++++++++---------------
 24 files changed, 98 insertions(+), 120 deletions(-)

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

* Re: [GIT PULL] sched/fifo changes for v5.9
  2020-08-04 11:10 [GIT PULL] sched/fifo changes for v5.9 Ingo Molnar
@ 2020-08-05  1:55 ` Ingo Molnar
  2020-08-06 19:55 ` pr-tracker-bot
  1 sibling, 0 replies; 3+ messages in thread
From: Ingo Molnar @ 2020-08-05  1:55 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-kernel, Peter Zijlstra, Thomas Gleixner, Andrew Morton,
	Juri Lelli, Vincent Guittot


* Ingo Molnar <mingo@kernel.org> wrote:

> When merging to the latest upstream tree there's a conflict in drivers/spi/spi.c,
> which can be resolved via:
> 
> 	sched_set_fifo(ctlr->kworker_task);

Correction, the suggested resolution would be:

	sched_set_fifo(ctlr->kworker->task);

Thanks,

	Ingo

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

* Re: [GIT PULL] sched/fifo changes for v5.9
  2020-08-04 11:10 [GIT PULL] sched/fifo changes for v5.9 Ingo Molnar
  2020-08-05  1:55 ` Ingo Molnar
@ 2020-08-06 19:55 ` pr-tracker-bot
  1 sibling, 0 replies; 3+ messages in thread
From: pr-tracker-bot @ 2020-08-06 19:55 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Linus Torvalds, linux-kernel, Peter Zijlstra, Thomas Gleixner,
	Andrew Morton, Juri Lelli, Vincent Guittot

The pull request you sent on Tue, 4 Aug 2020 13:10:25 +0200:

> git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-fifo-2020-08-04

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/6d2b84a4e5b954bd2587e06c29577256f59e0030

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

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

end of thread, other threads:[~2020-08-06 19:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-04 11:10 [GIT PULL] sched/fifo changes for v5.9 Ingo Molnar
2020-08-05  1:55 ` Ingo Molnar
2020-08-06 19:55 ` pr-tracker-bot

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.