xfs-masters
[Top] [All Lists]

[xfs-masters] Re: [PATCH 50/59] sysctl: Move utsname sysctls to their ow

To: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>
Subject: [xfs-masters] Re: [PATCH 50/59] sysctl: Move utsname sysctls to their own file
From: Herbert Poetzl <herbert@xxxxxxxxxxxx>
Date: Mon, 22 Jan 2007 23:24:42 +0100
Cc: Kirill Korotaev <dev@xxxxx>, James.Bottomley@xxxxxxxxxxxx, linux-parport@xxxxxxxxxxxxxxxxxxx, rtc-linux@xxxxxxxxxxxxxxxx, linux-mips@xxxxxxxxxxxxxx, heiko.carstens@xxxxxxxxxx, containers@xxxxxxxxxxxxxx, lethal@xxxxxxxxxxxx, clemens@xxxxxxxxxx, xfs@xxxxxxxxxxx, xfs-masters@xxxxxxxxxxx, paulus@xxxxxxxxx, linux390@xxxxxxxxxx, openipmi-developer@xxxxxxxxxxxxxxxxxxxxx, linux-390@xxxxxxxxxxxxx, aharkes@xxxxxxxxxx, tim@xxxxxxxxxxxx, codalist@xxxxxxxxxxxxxxxxxxxxxxxx, a.zummo@xxxxxxxxxxxx, tony.luck@xxxxxxxxx, minyard@xxxxxxx, linux-scsi@xxxxxxxxxxxxxxx, linuxppc-dev@xxxxxxxxxx, linux-ntfs-dev@xxxxxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, ralf@xxxxxxxxxxxxxx, mark.fasheh@xxxxxxxxxx, coda@xxxxxxxxxx, vojtech@xxxxxxx, kurt.hackel@xxxxxxxxxx, schwidefsky@xxxxxxxxxx, aia21@xxxxxxxxxx, philb@xxxxxxx, andrea@xxxxxxx, linuxsh-shmedia-dev@xxxxxxxxxxxxxxxxxxxxx, ak@xxxxxxx
In-reply-to: <m1ps9d8n79.fsf@xxxxxxxxxxxxxxxxxxxxxxxxx>
Mail-followup-to: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>, Kirill Korotaev <dev@xxxxx>, James.Bottomley@xxxxxxxxxxxx, linux-parport@xxxxxxxxxxxxxxxxxxx, rtc-linux@xxxxxxxxxxxxxxxx, linux-mips@xxxxxxxxxxxxxx, heiko.carstens@xxxxxxxxxx, containers@xxxxxxxxxxxxxx, lethal@xxxxxxxxxxxx, clemens@xxxxxxxxxx, xfs@xxxxxxxxxxx, xfs-masters@xxxxxxxxxxx, paulus@xxxxxxxxx, linux390@xxxxxxxxxx, openipmi-developer@xxxxxxxxxxxxxxxxxxxxx, linux-390@xxxxxxxxxxxxx, aharkes@xxxxxxxxxx, tim@xxxxxxxxxxxx, codalist@xxxxxxxxxxxxxxxxxxxxxxxx, a.zummo@xxxxxxxxxxxx, tony.luck@xxxxxxxxx, minyard@xxxxxxx, linux-scsi@xxxxxxxxxxxxxxx, linuxppc-dev@xxxxxxxxxx, linux-ntfs-dev@xxxxxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, ralf@xxxxxxxxxxxxxx, mark.fasheh@xxxxxxxxxx, coda@xxxxxxxxxx, vojtech@xxxxxxx, kurt.hackel@xxxxxxxxxx, schwidefsky@xxxxxxxxxx, aia21@xxxxxxxxxx, philb@xxxxxxx, andrea@xxxxxxx, linuxsh-shmedia-dev@xxxxxxxxxxxxxxxxxxxxx, ak@xxxxxxx
References: <m1ac0jc4no.fsf@xxxxxxxxxxxxxxxxxxxxxxxxx> <11689656853154-git-send-email-ebiederm@xxxxxxxxxxxx> <45AE5FDC.5050603@xxxxx> <m1ps9d8n79.fsf@xxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.11
On Wed, Jan 17, 2007 at 12:31:22PM -0700, Eric W. Biederman wrote:
> Kirill Korotaev <dev@xxxxx> writes:
> 
> > Eric, though I personally don't care much:
> > 1. I ask for not setting your authorship/copyright on the code which you 
> > just
> > copied
> >   from other places. Just doesn't look polite IMHO.
> 
> I can't claim complete ownership of the code, there was plenty of feed back
> and contributions from others but the final form without a big switch
> statement is mine.  I certainly can't claim the table, it has been in
> that form for years.
> 
> If you notice I actually didn't say whose copyright it was :)  just
> that I wrote the file.
> 
> If there are copyright claims I should include I will be happy to do that.
> Mostly I was just trying to find some stupid boiler plate that would work.

IMHO that is fine ...

> > 2. I would propose to not introduce utsname_sysctl.c.
> >   both files are too small and minor that I can't see much reasons splitting
> > them.
> 
> The impact of moving this code out of sysctl.c is a major
> simplification, to sysctl.c.  Putting them in their own file means we
> can cleanly restrict the code to only be compiled CONFIG_SYSCTL is set.
> 
> It is a necessary first step to implementing a per process /proc/sys.
> 
> It reorganizes the ipc and utsname sysctl from a terribly fragile
> structure to something that is robust and easy to follow.  Code
> scattered all throughout sysctl.c was just a disaster.  We had
> several instances of having to fix bugs with odd combinations of
> CONFIG options, simply because the other spot that needed to be touched
> wasn't obvious.
> 
> So from my perspective this is an extremely worthwhile change that
> will make maintenance easier and is a small first step towards
> some nice future functionality.

yep, agreed ...

best,
Herbert

> Eric
> _______________________________________________
> Containers mailing list
> Containers@xxxxxxxxxxxxxx
> https://lists.osdl.org/mailman/listinfo/containers


<Prev in Thread] Current Thread [Next in Thread>