Re: Mounting a in-ROM filesystem efficiently

David Woodhouse (dwmw2@infradead.org)
Fri, 14 Dec 2001 16:51:15 +0000


brad@ltc.com said:
> That sounds nice, but I cannot imagine how much trouble it would be
> to implement.

Adding the pages to the page cache on read_inode() is fairly simple. Hacking
the kernel so that readpage() can provide its own page less so.

> Actually, I've used that patch on a system that had a cramfs/xip and
> a jffs partition on the same flash chip where the kernel was running
> xip out of flash. :-)

S'OK if you have the right type of flash chips, I suppose :)

--
dwmw2

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