Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1658695
| From | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH RT] sched: Prevent task state corruption by spurious lock wakeup |
| Date | 2017-06-06 14:20 +0200 |
| Message-ID | <tPlCN-el-1@gated-at.bofh.it> (permalink) |
| References | <tNXVT-3GU-13@gated-at.bofh.it> <tObYR-49h-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat, 3 Jun 2017, Thomas Gleixner wrote: > If the to be woken task has state TASK_TRACED then the wakeup state check > should not match. But for some stupid reason wake_up_lock_sleeper() should > not use TASK_ALL. The lock sleepers are in state UNINTERRUPTIBLE, so the > wake state should be UNINTERRUPTIBLE as well. > > The extra check in try_to_wake_up() should stay though as it prevents > spurious wake ups in general. Further experimentation shows that it's not worth it. I'll send a V2 of that patch with the proper fix. Thanks, tglx
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH RT] sched: Prevent task state corruption by spurious lock wakeup Thomas Gleixner <tglx@linutronix.de> - 2017-06-02 18:50 +0200
RE: [PATCH RT] sched: Prevent task state corruption by spurious lock wakeup David Hauck <davidh@netacquire.com> - 2017-06-02 19:40 +0200
Re: [PATCH RT] sched: Prevent task state corruption by spurious lock wakeup Thomas Gleixner <tglx@linutronix.de> - 2017-06-03 09:50 +0200
Re: [PATCH RT] sched: Prevent task state corruption by spurious lock wakeup Thomas Gleixner <tglx@linutronix.de> - 2017-06-06 14:20 +0200
[PATCH RT V2] sched: Prevent task state corruption by spurious lock wakeup Thomas Gleixner <tglx@linutronix.de> - 2017-06-06 14:30 +0200
Re: [PATCH RT V2] sched: Prevent task state corruption by spurious lock wakeup Peter Zijlstra <peterz@infradead.org> - 2017-06-06 18:30 +0200
Re: [PATCH RT V2] sched: Prevent task state corruption by spurious lock wakeup Thomas Gleixner <tglx@linutronix.de> - 2017-06-06 20:40 +0200
csiph-web