]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ipc,msg: introduce lockless functions to obtain the ipc object
authorDavidlohr Bueso <davidlohr.bueso@hp.com>
Wed, 19 Jun 2013 00:08:29 +0000 (10:08 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:27:45 +0000 (17:27 +1000)
commita8fa7b0a823793c9c597b65e12059e949b1b8414
tree78b2fdd84c703a998eb987eb5166f3b2f3c04d9a
parent98cc98513cea808b7d4b1fb1c1e9259cfbb4c101
ipc,msg: introduce lockless functions to obtain the ipc object

Add msq_obtain_object() and msq_obtain_object_check(), which will allow us
to get the ipc object without acquiring the lock.  Just as with
semaphores, these functions are basically wrappers around
ipc_obtain_object*().

Signed-off-by: Davidlohr Bueso <davidlohr.bueso@hp.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
ipc/msg.c