Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1260079
| From | Manfred Spraul <manfred@colorfullife.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] ipc/msg: Implement lockless pipelined wakeups |
| Date | 2015-11-01 05:40 +0100 |
| Message-ID | <qpSAV-3Cq-1@gated-at.bofh.it> (permalink) |
| References | <qpg2C-5bX-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi Sebastian,
On 10/30/2015 12:26 PM, Sebastian Andrzej Siewior wrote:
> This patch moves the wakeup_process() invocation so it is not done under
> the perm->lock by making use of a lockless wake_q. With this change, the
> waiter is woken up once the message has been assigned and it does not
> need to loop on SMP if the message points to NULL. In the signal case we
> still need to check the pointer under the lock to verify the state.
>
> This change should also avoid the introduction of preempt_disable() in
> -RT which avoids a busy-loop which pools for the NULL -> !NULL
> change if the waiter has a higher priority compared to the waker.
with regards to functional tests:
fakeroot is a heavy system V user (at least if it is configured for sysv).
"make -j" under fakeroot was a useful stresstest
with regards to benchmarks:
I've attached one of my files.
Otherwise: Nice!
--
Manfred
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] ipc/msg: Implement lockless pipelined wakeups Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2015-10-30 12:30 +0100
Re: [PATCH] ipc/msg: Implement lockless pipelined wakeups "George Spelvin" <linux@horizon.com> - 2015-10-30 23:40 +0100
Re: [PATCH] ipc/msg: Implement lockless pipelined wakeups Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2015-11-03 15:10 +0100
Re: [PATCH] ipc/msg: Implement lockless pipelined wakeups Thomas Gleixner <tglx@linutronix.de> - 2015-10-31 11:40 +0100
Re: [PATCH] ipc/msg: Implement lockless pipelined wakeups "George Spelvin" <linux@horizon.com> - 2015-10-31 14:10 +0100
Re: [PATCH] ipc/msg: Implement lockless pipelined wakeups Thomas Gleixner <tglx@linutronix.de> - 2015-10-31 16:20 +0100
Re: [PATCH] ipc/msg: Implement lockless pipelined wakeups Davidlohr Bueso <dave@stgolabs.net> - 2015-10-31 20:00 +0100
Re: [PATCH] ipc/msg: Implement lockless pipelined wakeups Davidlohr Bueso <dave@stgolabs.net> - 2015-10-31 20:10 +0100
Re: [PATCH] ipc/msg: Implement lockless pipelined wakeups Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2015-11-03 15:20 +0100
Re: [PATCH] ipc/msg: Implement lockless pipelined wakeups Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2015-11-03 15:20 +0100
Re: [PATCH] ipc/msg: Implement lockless pipelined wakeups Manfred Spraul <manfred@colorfullife.com> - 2015-11-01 05:40 +0100
Re: [PATCH] ipc/msg: Implement lockless pipelined wakeups Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2015-11-03 16:00 +0100
csiph-web