Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1494230

Re: [PATCH RT] kernel/futex: don't deboost too early

From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH RT] kernel/futex: don't deboost too early
Date 2016-09-30 20:50 +0200
Message-ID <snb2F-5Ed-1@gated-at.bofh.it> (permalink)
References <sn1wl-7PG-33@gated-at.bofh.it> <sn8xP-3Yq-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 30 Sep 2016, Steven Rostedt wrote:
> This looks awfully complex. Would something as simple as this work?
> 
> What harm can happen by moving the holding of the lock after the
> wakeups for RT?

That's exactly bringing us back to the state before we added the delayed
wakeup so that the woken waiter will not be blocked on hb->lock right
away. That's 2 extra context switches for nothing.

Thanks,

	tglx

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH RT] kernel/futex: don't deboost too early Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-09-30 10:40 +0200
  Re: [PATCH RT] kernel/futex: don't deboost too early Steven Rostedt <rostedt@goodmis.org> - 2016-09-30 18:10 +0200
    Re: [PATCH RT] kernel/futex: don't deboost too early Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-09-30 18:20 +0200
    Re: [PATCH RT] kernel/futex: don't deboost too early Thomas Gleixner <tglx@linutronix.de> - 2016-09-30 20:50 +0200
      Re: [PATCH RT] kernel/futex: don't deboost too early Steven Rostedt <rostedt@goodmis.org> - 2016-10-02 12:10 +0200
        Re: [PATCH RT] kernel/futex: don't deboost too early Thomas Gleixner <tglx@linutronix.de> - 2016-10-03 19:50 +0200

csiph-web