lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 10 Aug 2009 21:04:31 -0700
From:	Greg KH <greg@...ah.com>
To:	Al Boldi <a1426z@...ab.com>
Cc:	Chris Friesen <cfriesen@...tel.com>,
	Andi Kleen <andi@...stfloor.org>,
	Alan Cox <alan@...rguk.ukuu.org.uk>,
	linux-kernel@...r.kernel.org, Kay Sievers <kay.sievers@...y.org>,
	Jan Blunck <jblunck@...e.de>, gregkh@...e.de,
	Harald Hoyer <harald@...hat.com>,
	Scott James Remnant <scott@...ntu.com>
Subject: Re: [PATCH] Driver Core: devtmpfs - kernel-maintained tmpfs-based
 /dev

On Tue, Aug 11, 2009 at 06:48:26AM +0300, Al Boldi wrote:
> Greg KH wrote:
> > On Sat, Aug 08, 2009 at 09:55:24PM +0300, Al Boldi wrote:
> > > Greg KH wrote:
> > > > On Sat, Aug 08, 2009 at 12:14:39PM +0300, Al Boldi wrote:
> > > > > Greg KH wrote:
> > > > > > On Sat, Aug 08, 2009 at 12:17:31AM +0300, Al Boldi wrote:
> > > > > > > For devtmpfs to be a realistic replacement for static /dev, it
> > > > > > > has to be comparable to static /dev in both speed and size.
> > > > > >
> > > > > > Since when is this requirement necessary?  You want something for
> > > > > > free in both speed and size?  Well, you got it in speed, but not
> > > > > > size, it will take up memory that is swapable, and a tiny ammount
> > > > > > of non-swapable kernel memory for the code.
> > > > >
> > > > > Not so tiny when you count in the hotplug dependency.
> > > >
> > > > devtmpfs does not rely on hotplug at all.
> > >
> > > Are you sure?
> > >
> > > This is from the patch of this thread:
> > > > +config DEVTMPFS
> > > > +       bool "Create a kernel maintained /dev tmpfs (EXPERIMENTAL)"
> > > > +       depends on HOTPLUG && SHMEM && TMPFS
> >
> > Ah, you're right.
> >
> > Ok then, since you don't run CONFIG_HOTPLUG kernels, why are you worried
> > about this code at all?
> >
> > confused,
> 
> Linux used to be lean and mean which made it fun to work with, and which made 
> the switch from the competition easy.  Nowadays I see a lot of bloat going 
> into the kernel which may indicate that Linux is starting to run out of 
> steam.

That doesn't seem to make sense, if more development is happening, and
our number of contributors, different companies, and rate of change is
increasing, how are we "running out of steam"?

What specific development number is proof of us slowing down?  I see
nothing but the exact, and extreme, opposite thing happening.

> devtmpfs seems bloaty due to the hotplug dependency.

Would you use it if we fix it to remove this dependancy?

Remember, the dependancy is the other way around here, if you don't want
a CONFIG_HOTPLUG system (and honestly, I really can't believe that you
run a system that interacts with the real world in a non-embedded manner
that way), then you do not also have the devtmpfs code.  So your system
will be "light and tight", right?

So what really is your objection here?  That we did not let devtmpfs
work within a CONFIG_HOTPLUG=n type system?  Or that devtmpfs works with
the existing CONFIG_HOTPLUG=y systems (i.e. 99% of the world)?

greg k-h
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ