[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A81B646.5060301@colorfullife.com>
Date: Tue, 11 Aug 2009 20:19:50 +0200
From: Manfred Spraul <manfred@...orfullife.com>
To: npiggin@...e.de
CC: Andrew Morton <akpm@...ux-foundation.org>,
Nadia Derbey <Nadia.Derbey@...l.net>,
Pierre Peiffer <peifferp@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: [patch 4/4] ipc: sem optimise simple operations
On 08/11/2009 01:09 PM, npiggin@...e.de wrote:
> Index: linux-2.6/include/linux/sem.h
> ===================================================================
> --- linux-2.6.orig/include/linux/sem.h
> +++ linux-2.6/include/linux/sem.h
> @@ -86,6 +86,8 @@ struct task_struct;
> struct sem {
> int semval; /* current value */
> int sempid; /* pid of last operation */
> + struct list_head negv_pending;
> + struct list_head zero_pending;
> };
>
struct sem is increased from 8 to 24 bytes.
Is that still ok? Are there any apps that use really lots of semaphores
(i.e.: far more than processes in the system?)
Postgres uses lots of small semaphore sets (each with 17 entries), I
never had access to other apps.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists