Merge tag 'v5.17-rc5' into sched/core, to resolve conflicts
authorIngo Molnar <mingo@kernel.org>
Mon, 21 Feb 2022 10:53:51 +0000 (11:53 +0100)
committerIngo Molnar <mingo@kernel.org>
Mon, 21 Feb 2022 10:53:51 +0000 (11:53 +0100)
New conflicts in sched/core due to the following upstream fixes:

  44585f7bc0cb ("psi: fix "defined but not used" warnings when CONFIG_PROC_FS=n")
  a06247c6804f ("psi: Fix uaf issue when psi trigger is destroyed while being polled")

Conflicts:
include/linux/psi_types.h
kernel/sched/psi.c

Signed-off-by: Ingo Molnar <mingo@kernel.org>
1  2 
MAINTAINERS
arch/arm64/Kconfig
arch/x86/Kconfig
arch/x86/kvm/x86.c
include/linux/psi_types.h
include/linux/sched.h
kernel/cgroup/cpuset.c
kernel/rcu/tasks.h
kernel/sched/core.c
kernel/sched/fair.c
kernel/sched/psi.c

diff --cc MAINTAINERS
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -141,12 -141,6 +141,9 @@@ struct psi_trigger 
         * events to one per window
         */
        u64 last_event_time;
-       /* Refcounting to prevent premature destruction */
-       struct kref refcount;
 +
 +      /* Deferred event(s) from previous ratelimit window */
 +      bool pending_event;
  };
  
  struct psi_group {
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -1137,8 -1124,6 +1137,7 @@@ struct psi_trigger *psi_trigger_create(
        t->event = 0;
        t->last_event_time = 0;
        init_waitqueue_head(&t->event_wait);
-       kref_init(&t->refcount);
 +      t->pending_event = false;
  
        mutex_lock(&group->trigger_lock);