[Devel] [PATCH 3/8] Defining the slab_memory_callback priority as a constant

2008-02-11 Thread Nadia . Derbey
[PATCH 03/08] This is a trivial patch that defines the priority of slab_memory_callback in the callback chain as a constant. This is to prepare for next patch in the series. Signed-off-by: Nadia Derbey [EMAIL PROTECTED] --- include/linux/memory.h |6 ++ mm/slub.c |2 +-

[Devel] [PATCH 2/8] Scaling msgmni to the number of ipc namespaces

2008-02-11 Thread Nadia . Derbey
[PATCH 02/08] Since all the namespaces see the same amount of memory (the total one) this patch introduces a new variable that counts the ipc namespaces and divides msg_ctlmni by this counter. Signed-off-by: Nadia Derbey [EMAIL PROTECTED] --- include/linux/ipc_namespace.h |1 + ipc/msg.c

[Devel] [PATCH 5/8] Invoke the ipcns notifier chain as a work item

2008-02-11 Thread Nadia . Derbey
[PATCH 05/08] This patch makes the memory hotplug chain's mutex held for a shorter time: when memory is offlined or onlined a work item is added to the global workqueue. When the work item is run, it notifies the ipcns notifier chain with the IPCNS_MEMCHANGED event. Signed-off-by: Nadia Derbey

[Devel] [PATCH 6/8] Recomputing msgmni on ipc namespace creation/removal

2008-02-11 Thread Nadia . Derbey
[PATCH 06/08] This patch introduces a notification mechanism that aims at recomputing msgmni each time an ipc namespace is created or removed. The ipc namespace notifier chain already defined for memory hotplug management is used for that purpose too. Each time a new ipc namespace is allocated

[Devel] [PATCH 1/1] device control: fix trivial typo

2008-02-11 Thread Serge E. Hallyn
From a6b0f68be3155f9b3634d28cb531c19329d56b7a Mon Sep 17 00:00:00 2001 From: Serge Hallyn [EMAIL PROTECTED] Date: Mon, 11 Feb 2008 08:58:27 -0800 Subject: [PATCH 1/1] device control: fix trivial typo add missing word 'struct' in two lines. Signed-off-by: Serge Hallyn [EMAIL PROTECTED] ---

[Devel] Re: [PATCH 8/8] Re-enable msgmni automatic recomputing msgmni if set to negative

2008-02-11 Thread Andrew Morton
On Mon, 11 Feb 2008 15:16:54 +0100 [EMAIL PROTECTED] wrote: [PATCH 08/08] This patch is the enhancement as asked for by Yasunori: if msgmni is set to a negative value, register it back into the ipcns notifier chain. A new interface has been added to the notification mechanism:

[Devel] [PATCH 4/8] Recomputing msgmni on memory add / remove

2008-02-11 Thread Nadia . Derbey
[PATCH 04/08] This patch introduces the registration of a callback routine that recomputes msg_ctlmni upon memory add / remove. A single notifier block is registered in the hotplug memory chain for all the ipc namespaces. Since the ipc namespaces are not linked together, they have their own

[Devel] [PATCH 7/8] Do not recompute msgmni anymore if explicitely set by user

2008-02-11 Thread Nadia . Derbey
[PATCH 07/08] This patch makes msgmni not recomputed anymore upon ipc namespace creation / removal or memory add/remove, as soon as it has been set from userland. As soon as msgmni is explicitely set via procfs or sysctl(), the associated callback routine is unregistered from the ipc namespace

[Devel] Re: [PATCH 4/4] The control group itself

2008-02-11 Thread Serge E. Hallyn
Quoting Pavel Emelyanov ([EMAIL PROTECTED]): Each new group will have its own maps for char and block layers. The devices access list is tuned via the devices.permissions file. One may read from the file to get the configured state. The top container isn't initialized, so that the char

[Devel] [PATCH 1/8] Scaling msgmni to the amount of lowmem

2008-02-11 Thread Nadia . Derbey
[PATCH 01/08] This patch computes msg_ctlmni to make it scale with the amount of lowmem. msg_ctlmni is now set to make the message queues occupy 1/32 of the available lowmem. Some cleaning has also been done for the MSGPOOL constant: the msgctl man page says it's not used, but it also defines it

[Devel] [PATCH 0/8] Change default MSGMNI tunable to scale with lowmem (v3)

2008-02-11 Thread Nadia . Derbey
Resending the set of patches after Yasunori's remark about being able to turn on/off automatic recomputing. (see message at http://lkml.org/lkml/2008/2/5/149). I actually introduced an intermediate solution: when msgmni is set by hand, it is uneregistered from the ipcns notifier chain (i.e.

Re: [Devel] [RFC][PATCH 3/4]: Enable multiple mounts of /dev/pts

2008-02-11 Thread Oren Laadan
Serge E. Hallyn wrote: Quoting Oren Laadan ([EMAIL PROTECTED]): Serge E. Hallyn wrote: Quoting Oren Laadan ([EMAIL PROTECTED]): Serge E. Hallyn wrote: Quoting Pavel Emelyanov ([EMAIL PROTECTED]): Serge E. Hallyn wrote: Quoting Pavel Emelyanov ([EMAIL PROTECTED]): [EMAIL PROTECTED]

[Devel] Re: [PATCH 7/8] Do not recompute msgmni anymore if explicitely set by user

2008-02-11 Thread Andrew Morton
On Mon, 11 Feb 2008 15:16:53 +0100 [EMAIL PROTECTED] wrote: [PATCH 07/08] This patch makes msgmni not recomputed anymore upon ipc namespace creation / removal or memory add/remove, as soon as it has been set from userland. As soon as msgmni is explicitely set via procfs or sysctl(), the

[Devel] [PATCH] proc: print more information when removing non-empty directories

2008-02-11 Thread Alexey Dobriyan
This usually saves one recompile to insert similar printk like below. :) Sample nastygram: remove_proc_entry: removing non-empty directory '/proc/foo', leaking at least 'bar' [ cut here ] WARNING: at fs/proc/generic.c:776 remove_proc_entry+0x18a/0x200() Modules linked

[Devel] Re: [PATCH 4/4] The control group itself

2008-02-11 Thread sukadev
This patchset does fix the problem I was having before with null and zero devices. Overall, it looks like pretty good. I am still reviewing the patches. Just some nits I came across: Pavel Emelianov [EMAIL PROTECTED] wrote: | Each new group will have its own maps for char and block | layers.

[Devel] [PATCH 8/8] Re-enable msgmni automatic recomputing msgmni if set to negative

2008-02-11 Thread Nadia . Derbey
[PATCH 08/08] This patch is the enhancement as asked for by Yasunori: if msgmni is set to a negative value, register it back into the ipcns notifier chain. A new interface has been added to the notification mechanism: notifier_chain_cond_register() registers a notifier block only if not already

[Devel] Re: [PATCH 4/4] The control group itself

2008-02-11 Thread Pavel Emelyanov
[EMAIL PROTECTED] wrote: This patchset does fix the problem I was having before with null and zero devices. Overall, it looks like pretty good. I am still reviewing the patches. Just some nits I came across: Pavel Emelianov [EMAIL PROTECTED] wrote: | Each new group will have its own

[Devel] [PATCH] [IPV4]: Remove warning in node_set_parent.

2008-02-11 Thread Denis V. Lunev
net/ipv4/fib_trie.c: In function 'node_set_parent': net/ipv4/fib_trie.c:184: warning: assignment makes integer from pointer without a cast Signed-off-by: Denis V. Lunev [EMAIL PROTECTED] --- net/ipv4/fib_trie.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git