[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <157658639276.30329.909563738680417721.tip-bot2@tip-bot2>
Date: Tue, 17 Dec 2019 12:39:52 -0000
From: "tip-bot2 for Oleg Nesterov" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Oleg Nesterov <oleg@...hat.com>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>,
Vincent Guittot <vincent.guittot@...aro.org>,
Ingo Molnar <mingo@...nel.org>,
Felipe Balbi <balbi@...nel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Miklos Szeredi <miklos@...redi.hu>,
Juri Lelli <juri.lelli@...hat.com>, x86 <x86@...nel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: [tip: sched/core] sched/wait: fix ___wait_var_event(exclusive)
The following commit has been merged into the sched/core branch of tip:
Commit-ID: cde65194502778665c1b52afc5722cf7dbfaa399
Gitweb: https://git.kernel.org/tip/cde65194502778665c1b52afc5722cf7dbfaa399
Author: Oleg Nesterov <oleg@...hat.com>
AuthorDate: Tue, 10 Dec 2019 20:19:03 +01:00
Committer: Peter Zijlstra <peterz@...radead.org>
CommitterDate: Tue, 17 Dec 2019 13:32:50 +01:00
sched/wait: fix ___wait_var_event(exclusive)
init_wait_var_entry() forgets to initialize wq_entry->flags.
Currently not a problem, we don't have wait_var_event_exclusive().
Signed-off-by: Oleg Nesterov <oleg@...hat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Cc: Vincent Guittot <vincent.guittot@...aro.org>
Cc: Ingo Molnar <mingo@...nel.org>
Cc: Felipe Balbi <balbi@...nel.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Miklos Szeredi <miklos@...redi.hu>
Cc: Juri Lelli <juri.lelli@...hat.com>
Link: https://lkml.kernel.org/r/20191210191902.GB14449@redhat.com
---
kernel/sched/wait_bit.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/sched/wait_bit.c b/kernel/sched/wait_bit.c
index 45eba18..02ce292 100644
--- a/kernel/sched/wait_bit.c
+++ b/kernel/sched/wait_bit.c
@@ -179,6 +179,7 @@ void init_wait_var_entry(struct wait_bit_queue_entry *wbq_entry, void *var, int
.bit_nr = -1,
},
.wq_entry = {
+ .flags = flags,
.private = current,
.func = var_wake_function,
.entry = LIST_HEAD_INIT(wbq_entry->wq_entry.entry),
Powered by blists - more mailing lists