login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
1
Re: [PATCH 3/5] Move the IPC namespace under the option
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Cedric Le Goater <clg@...>
To: Pavel Emelyanov <xemul@...>
Cc: Andrew Morton <akpm@...>, Serge Hallyn <serue@...>, Linux Kernel Mailing List <linux-kernel@...>, <devel@...>
Subject:
Re: [PATCH 3/5] Move the IPC namespace under the option
Date: Monday, October 1, 2007 - 12:01 pm
Pavel Emelyanov wrote:
quoted text
> Currently all the IPC namespace management code is in > ipc/util.c. I moved this code into ipc/namespace.c file > which is compiled out when needed. > > The linux/ipc_namespace.h file is used to store the > prototypes of the functions in namespace.c and the stubs > for NAMESPACES=n case. This is done so, because the stub > for copy_ipc_namespace requires the knoweledge of the > CLONE_NEWIPC flag, which is in sched.h. But the linux/ipc.h > file itself in included into many many .c files via the > sys.h->sem.h sequence so adding the sched.h into it will > make all these .c depend on sched.h which is not that good. > On the other hand the knowledge about the namespaces stuff > is required in 4 .c files only. > > Besides, this patch compiles out some auxiliary functions > from ipc/sem.c, msg.c and shm.c files. It turned out that > moving these functions into namespaces.c is not that easy > because they use many other calls and macros from the original > file. Moving them would make this patch complicated. On the > other hand all these functions can be consolidated, so I > will make it separately a bit later. > > Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Fine with me. Acked-by: Cedric Le Goater <clg@fr.ibm.com> Thanks ! C. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/5] A config option to compile out some namespaces c...
, Pavel Emelyanov
, (Mon Oct 1, 11:31 am)
[PATCH 4/5] Move the user namespace under the option
, Pavel Emelyanov
, (Mon Oct 1, 11:40 am)
[PATCH 5/5] Move the PID namespace under the option
, Pavel Emelyanov
, (Mon Oct 1, 11:41 am)
[PATCH 3/5] Move the IPC namespace under the option
, Pavel Emelyanov
, (Mon Oct 1, 11:38 am)
Re: [PATCH 3/5] Move the IPC namespace under the option
, Cedric Le Goater
, (Mon Oct 1, 12:01 pm)
[PATCH 2/5] Move the UST namespace under the option
, Pavel Emelyanov
, (Mon Oct 1, 11:34 am)
[PATCH 1/5] The config option itself
, Pavel Emelyanov
, (Mon Oct 1, 11:33 am)
Re: [PATCH 1/5] The config option itself
, Randy Dunlap
, (Mon Oct 1, 12:37 pm)
Re: [PATCH 1/5] The config option itself
, Serge E. Hallyn
, (Mon Oct 1, 11:53 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Matt Mackall
Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c compiling
James Bottomley
Re: Integration of SCST in the mainstream Linux kernel
openbsd-misc
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Natalie Protasevich
[BUG] New Kernel Bugs
git
:
Colocation donated by:
Who's online
There are currently
1 user
and
601 guests
online.
Online users
harmanmonstone
Syndicate