Messages in this thread | | | From | Manfred Spraul <> | Date | Sat, 24 May 2008 13:20:06 +0200 | Subject | [PATCH 0/4] ipc/sem.c: cleanup |
| |
I did some cleanup in ipc/sem: - ipc/sem contained hand-written linked lists, they can be replaced with standard list_head lists. - the locking was written before CLONE_SYSVSEM was introduced, with ulp->lock, it's now possible to free undo structures during IPC_RMID immediately. - There is a (extremely unlikely) race in semtimedop(), it can access kfree'd memory.
The patches pass my own simple test cases, what do you think?
-- Manfred
| |