[PATCH 2/2] move unneeded data to initdata section

2007-11-07 Thread Denis V. Lunev
This patch reverts Eric's commit 2b008b0a8e96b726c603c5e1a5a7a509b5f61e35 It diets .text & .data section of the kernel if CONFIG_NET_NS is not set. This is safe after list operations cleanup. Signed-of-by: Denis V. Lunev <[EMAIL PROTECTED]> --- ./drivers/net/loopback.c.reversed 2007-10-30 14:4

Re: [PATCH 2/2] move unneeded data to initdata section

2007-11-13 Thread David Miller
From: "Denis V. Lunev" <[EMAIL PROTECTED]> Date: Wed, 7 Nov 2007 15:01:00 +0300 > This patch reverts Eric's commit 2b008b0a8e96b726c603c5e1a5a7a509b5f61e35 > > It diets .text & .data section of the kernel if CONFIG_NET_NS is not set. > This is safe after list operations cleanup. > > Signed-of-by

Re: [PATCH 2/2] move unneeded data to initdata section

2007-11-15 Thread Denis V. Lunev
Eric W. Biederman wrote: > "Denis V. Lunev" <[EMAIL PROTECTED]> writes: > >> This patch reverts Eric's commit 2b008b0a8e96b726c603c5e1a5a7a509b5f61e35 >> >> It diets .text & .data section of the kernel if CONFIG_NET_NS is not set. >> This is safe after list operations cleanup. > > Ok. This patch

Re: [PATCH 2/2] move unneeded data to initdata section

2007-11-15 Thread Eric W. Biederman
"Denis V. Lunev" <[EMAIL PROTECTED]> writes: > This patch reverts Eric's commit 2b008b0a8e96b726c603c5e1a5a7a509b5f61e35 > > It diets .text & .data section of the kernel if CONFIG_NET_NS is not set. > This is safe after list operations cleanup. Ok. This patch is technically safe because none of

Re: [PATCH 2/2] move unneeded data to initdata section

2007-11-15 Thread Sam Ravnborg
On Thu, Nov 15, 2007 at 05:42:04PM +0300, Denis V. Lunev wrote: > Eric W. Biederman wrote: > > "Denis V. Lunev" <[EMAIL PROTECTED]> writes: > > > >> This patch reverts Eric's commit 2b008b0a8e96b726c603c5e1a5a7a509b5f61e35 > >> > >> It diets .text & .data section of the kernel if CONFIG_NET_NS is

Re: [PATCH 2/2] move unneeded data to initdata section

2007-11-15 Thread Eric W. Biederman
Sam Ravnborg <[EMAIL PROTECTED]> writes: > On Thu, Nov 15, 2007 at 05:42:04PM +0300, Denis V. Lunev wrote: >> >> nothing is discarded after module load. Though, I can be wrong. Could >> you point me to the exact place? > If __initdata is not discarded after module load then we should do it. > The

Re: [PATCH 2/2] move unneeded data to initdata section

2007-11-15 Thread Sam Ravnborg
On Thu, Nov 15, 2007 at 10:17:14PM +0300, Denis V. Lunev wrote: > > will you mind against this? > diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h > index 5dd6d90..d136707 100644 > --- a/include/net/net_namespace.h > +++ b/include/net/net_namespace.h > @@ -119,10 +119,14 @@

Re: [PATCH 2/2] move unneeded data to initdata section

2007-11-15 Thread Sam Ravnborg
On Thu, Nov 15, 2007 at 11:19:26AM -0700, Eric W. Biederman wrote: > Sam Ravnborg <[EMAIL PROTECTED]> writes: > > > On Thu, Nov 15, 2007 at 05:42:04PM +0300, Denis V. Lunev wrote: > >> > >> nothing is discarded after module load. Though, I can be wrong. Could > >> you point me to the exact place?

Re: [PATCH 2/2] move unneeded data to initdata section

2007-11-15 Thread Denis V. Lunev
Sam Ravnborg wrote: > On Thu, Nov 15, 2007 at 11:19:26AM -0700, Eric W. Biederman wrote: >> Sam Ravnborg <[EMAIL PROTECTED]> writes: >> >>> On Thu, Nov 15, 2007 at 05:42:04PM +0300, Denis V. Lunev wrote: nothing is discarded after module load. Though, I can be wrong. Could you point me to