ipc-sem-seperate-wait-for-zero-and-alter-tasks-into-seperate-queues.patch removed from -mm tree
Subject: [to-be-updated] ipc-sem-seperate-wait-for-zero-and-alter-tasks-into-seperate-queues.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 11 Jun 2013 15:01:56 -0700
The patch titled
Subject: ipc/sem: seperate wait-for-zero and alter tasks into seperate queues
has been removed from the -mm tree. Its filename was
ipc-sem-seperate-wait-for-zero-and-alter-tasks-into-seperate-queues.patch
This patch was dropped because an updated version will be merged
------------------------------------------------------
From: Manfred Spraul <[email protected]>
Subject: ipc/sem: seperate wait-for-zero and alter tasks into seperate queues
Introduce seperate queues for operations that do not modify the semaphore values.
Advantages:
- Simpler logic in check_restart().
- Faster update_queue(): Right now, all wait-for-zero operations are always tested, even if the semaphore value is not 0.
- wait-for-zero gets again priority, as in linux <=3.0.9
---
include/linux/sem.h | 5 - ipc/sem.c | 209 +++++++++++++++++++++++++++++------------- 2 files changed, 153 insertions(+), 61 deletions(-)
include/linux/sem.h renamed from include/linux/sem.h~ipc-sem-seperate-wait-for-zero-and-alter-tasks-into-seperate-queues +4 -1
@@ -15,7 +15,10 @@ struct sem_array {time_t sem_otime;/* last semop time */ time_t sem_ctime;/* last change time */ struct sem *sem_base;/* ptr to first semaphore in array */ -struct list_head sem_pending;/* pending operations to be processed */ +struct list_head pending_alter;/* pending operations */ +/* that alter the array */ +struct list_head pending_const;/* pending complex operations */ +/* that do not alter semvals */ struct list_head list_id;/* undo requests on this array */ int sem_nsems;/* no. of semaphores in array */ int complex_count;/* pending complex operations */
ipc/sem.c renamed from ipc/sem.c~ipc-sem-seperate-wait-for-zero-and-alter-tasks-into-seperate-queues +149 -60
345 lines not on this page · raw message
_
Patches currently in -mm which might be from [email protected] are
ipc-semc-always-use-only-one-queue-for-alter-operations.patch ipc-semc-rename-try_atomic_semop-to-perform_atomic_semop-docu-update.patch slab-leaks3-default-y.patch