Skip to content

Commit

Permalink
sched: Sync the sched patches
Browse files Browse the repository at this point in the history
Sync the scheduler related patches with the series posted
   https://lkml.kernel.org/r/20210928122339.502270600@linutronix.de

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
  • Loading branch information
Sebastian Andrzej Siewior committed Sep 30, 2021
1 parent 905d204 commit 34e1320
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion kernel/exit.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@
#include <linux/writeback.h>
#include <linux/shm.h>
#include <linux/kcov.h>
#include <linux/kprobes.h>
#include <linux/random.h>
#include <linux/rcuwait.h>
#include <linux/compat.h>
#include <linux/io_uring.h>
#include <linux/kprobes.h>

#include <linux/uaccess.h>
#include <asm/unistd.h>
Expand Down
1 change: 0 additions & 1 deletion kernel/sched/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -4884,7 +4884,6 @@ static struct rq *finish_task_switch(struct task_struct *prev)
* provided by mmdrop(),
* - a sync_core for SYNC_CORE.
*/

if (mm) {
membarrier_mm_sync_core_before_usermode(mm);
mmdrop_sched(mm);
Expand Down

0 comments on commit 34e1320

Please sign in to comment.