ipc-sem-separate-wait-for-zero-and-alter-tasks-into-seperate-queues.patch removed from -mm tree
Subject: [merged] ipc-sem-separate-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, 09 Jul 2013 16:21:55 -0700
The patch titled
Subject: ipc/sem: separate wait-for-zero and alter tasks into seperate queues
has been removed from the -mm tree. Its filename was
ipc-sem-separate-wait-for-zero-and-alter-tasks-into-seperate-queues.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Manfred Spraul <[email protected]>
Subject: ipc/sem: separate wait-for-zero and alter tasks into seperate queues
Introduce separate 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 | 211 ++++++++++++++++++++++++++++++------------ 2 files changed, 155 insertions(+), 61 deletions(-)
include/linux/sem.h renamed from include/linux/sem.h~ipc-sem-separate-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-separate-wait-for-zero-and-alter-tasks-into-seperate-queues +151 -60
347 lines not on this page · raw message
_
Patches currently in -mm which might be from [email protected] are
origin.patch
slab-leaks3-default-y.patch