diff options
author | Manfred Spraul <manfred@colorfullife.com> | 2009-12-15 16:47:32 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-16 07:20:10 -0800 |
commit | b97e820ffffbf49e94ed60c9c26f1a54bccae924 (patch) | |
tree | 195146c43d24051aada20a211f2bb146bfebe9d2 /fs/nfs | |
parent | b6e90822e77cd476c18410f7003197d466e36ac6 (diff) | |
download | blackbird-op-linux-b97e820ffffbf49e94ed60c9c26f1a54bccae924.tar.gz blackbird-op-linux-b97e820ffffbf49e94ed60c9c26f1a54bccae924.zip |
ipc/sem.c: add a per-semaphore pending list
Based on Nick's findings:
sysv sem has the concept of semaphore arrays that consist out of multiple
semaphores. Atomic operations that affect multiple semaphores are
supported.
The patch is the first step for optimizing simple, single semaphore
operations: In addition to the global list of all pending operations, a
2nd, per-semaphore list with the simple operations is added.
Note: this patch does not make sense by itself, the new list is used
nowhere.
Signed-off-by: Manfred Spraul <manfred@colorfullife.com>
Cc: Nick Piggin <npiggin@suse.de>
Cc: Pierre Peiffer <peifferp@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions