lkml.org 
[lkml]   [2001]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Acpi] Re: ACPI fundamental locking problems
Mike Touloumtzis wrote:
> > > Doesn't the approach "treat a chunk of data built into bzImage as
> > > populated ramfs" look cleaner? No need to fiddle with tar format,
> > > no copying data from place to place.
> >
> > So tell me, how do you populate ramfs without a format which tells you
> > what path and which permissions to assign each file? That's exactly
> > what tar is.
>
> Would it be possible to use a cramfs image in vmlinux (i.e. real
> filesystem image, not an in-kernel-structures fs like ramfs), and map
> it directly from the kernel image (it would have to be suitably aligned,
> of course)?
>
> This would allow demand paging of files in the image (not too important
> for a minimal boot fs, admittedly), and would allow text pages to be
> dropped under VM pressure (nice for a fs which holds substantial amounts
> of boot-time-only code).

Yes that would work, and it would work on machines with less RAM too.
You would want to remove the cramfs filesystem code when you're done though.

-- Jamie
-
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/

\
 
 \ /
  Last update: 2005-03-22 12:56    [W:1.725 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site