bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ipc: perform conditional locking while changing the port seq


From: Samuel Thibault
Subject: Re: [PATCH] ipc: perform conditional locking while changing the port sequence number
Date: Sat, 7 Sep 2013 08:58:14 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Marin Ramesa, le Sat 07 Sep 2013 08:00:47 +0200, a écrit :
> * ipc/ipc_port.c (ipc_port_set_seqno) [MACH_SLOCKS]: Conditional locking.

What is the rationale?  Does it really bring an noticeable improvement?
The locking is already conditional inside ipc_port_lock_mqueue, from the
simple_*lock* macros themselves.  That is way more readable than having
ifdefs inside the main source code.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]