Re: [PATCH] i386 vsyscall DSO implementation

Roland McGrath (roland@redhat.com)
Thu, 24 Apr 2003 19:10:50 -0700


> We already embed a cpio archive into __initdata space. What about
> putting the images in there, and either copying the data out of
> initramfs, or, directly referencing the pages that store each image?

It doesn't matter to me, but I don't see the benefit to doing that. It's
rather unlike what initramfs is used for now and would need a bunch of
extra code to accomplish something very simple.

The DSO images are not stored page-aligned and padded in the kernel image,
so the pages can't be used directly. Storing them that way would use more
space in the kernel image on disk, and then you'd want to free initdata
page containing the unused one.
-
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/