linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: [Acpi] Re: ACPI fundamental locking problems
@ 2001-07-04 10:37 Dave J Woolley
  2001-07-04 11:03 ` Alan Cox
  0 siblings, 1 reply; 35+ messages in thread
From: Dave J Woolley @ 2001-07-04 10:37 UTC (permalink / raw)
  To: 'Alan Cox', andrew.grover; +Cc: jgarzik, linux-kernel, torvalds, acpi

> From:	Alan Cox [SMTP:alan@lxorguk.ukuu.org.uk]
> 
> The goal isnt a technical nit, its to avoid loading 300Kbytes of crud
> (which 
> should mostly be in user space anyway) on the 99.9% of machines where we
> dont
> need it.
[DJW:]  
I argued this at the very beginning, but there was a very strong
view that you needed to run most of the code before you had a user
space to run it in.  I've not followed things closely enough to 
know whether or not this is really true and whether or not it is
inevitable, or just a flaw in the ACPI design.

My feeling has been that ACPI has violated the minimum privilege
concept from the beginning, although I think putting stuff in drivers
that could be at user level is not htat uncommon in Linux.

-- 
--------------------------- DISCLAIMER ---------------------------------
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of BTS.

>  

^ permalink raw reply	[flat|nested] 35+ messages in thread
* Re: [Acpi] Re: ACPI fundamental locking problems
@ 2001-07-06  5:26 Andreas Dilger
  0 siblings, 0 replies; 35+ messages in thread
From: Andreas Dilger @ 2001-07-06  5:26 UTC (permalink / raw)
  To: linux-kernel

Jeff writes:
> I've always thought it would be neat to do:
> 
>       cat bzImage initrd.tar.gz > vmlinuz
>       rdev --i-have-a-tarball-piggyback vmlinuz
> 
> Linking into the image is easy for hackers, but why not make it
> scriptable and super-easy for end users?  x86 already has the rdev
> utility to mark a kernel image as having certain flags.  It could even
> be a command line option, "inittgz" or somesuch, telling us that a
> gzip-format tarball immediately follows the end of our ELF image.

This would be especially handy for network booting: you only need to send
the one file to the client, and it boots the kernel and loads the initrd
without any extra requests/parameters/configuration needed.

> I wonder if any bootloader mods would be needed at all to do this... 
> AFAICS you just need to make sure the kernel doesn't trample the
> piggyback'd data.

Probably not - the kernel would handle all of it.  It sounds like Linus
and Al are in favour of this, so it will likely be in 2.5.early.  Having
the tar be extracted into ramfs has the added benefit that you don't need
to 'pre-configure' ramdisk size, make dd initrd images, or waste memory
that is representing empty fs space.  Conversely, if the root is ramfs
you also don't need to worry about the ramdisk fs being too small if you
need to create some temprary files there...  It is a win in all cases.

Cheers, Andreas
-- 
Andreas Dilger                               Turbolinux filesystem development
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/

^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2001-07-12 21:24 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-04 10:37 [Acpi] Re: ACPI fundamental locking problems Dave J Woolley
2001-07-04 11:03 ` Alan Cox
2001-07-04 17:05   ` Linus Torvalds
2001-07-05  8:20     ` Helge Hafting
2001-07-05  8:34       ` Jeff Garzik
2001-07-05 11:21       ` Alan Cox
2001-07-05 13:42       ` Alexander Viro
2001-07-05 15:17       ` Linus Torvalds
2001-07-06  7:34         ` Benjamin Herrenschmidt
2001-07-06  8:45         ` Helge Hafting
2001-07-06 11:16           ` Alan Cox
2001-07-06 12:42             ` Daniel Phillips
2001-07-09 23:05         ` Pavel Machek
2001-07-07 10:32     ` Eugene Crosser
2001-07-07 11:32       ` Alexander Viro
2001-07-07 13:37         ` Eugene Crosser
2001-07-07 13:50           ` Jeff Garzik
2001-07-07 17:24             ` Daniel Phillips
2001-07-07 21:31               ` Jamie Lokier
2001-07-08  7:26                 ` Alexander Viro
2001-07-08 16:46                   ` Jonathan Lundell
2001-07-09 14:40                 ` Anthony DeBoer
2001-07-07 21:44               ` Steve VanDevender
2001-07-07 11:34       ` Jeff Garzik
2001-07-07 21:40         ` Mike Touloumtzis
2001-07-07 21:54           ` Jamie Lokier
2001-07-07 22:00             ` arjan
2001-07-07 22:15               ` Jamie Lokier
2001-07-07 22:04             ` Mike Touloumtzis
2001-07-07 22:14               ` Jamie Lokier
2001-07-08  2:57                 ` Keith Owens
2001-07-12 15:57     ` Eric W. Biederman
2001-07-12 16:14       ` Jeff Garzik
2001-07-12 21:18         ` Eric W. Biederman
2001-07-06  5:26 Andreas Dilger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).