lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200804111025.GA1556312@gmail.com>
Date:   Tue, 4 Aug 2020 13:10:25 +0200
From:   Ingo Molnar <mingo@...nel.org>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
Cc:     linux-kernel@...r.kernel.org,
        Peter Zijlstra <a.p.zijlstra@...llo.nl>,
        Thomas Gleixner <tglx@...utronix.de>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Juri Lelli <juri.lelli@...hat.com>,
        Vincent Guittot <vincent.guittot@...aro.org>
Subject: [GIT PULL] sched/fifo changes for v5.9

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@...nel.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(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ