Re: Mounting a in-ROM filesystem efficiently

From: David Woodhouse (dwmw2@infradead.org)
Date: Fri Dec 14 2001 - 11:51:15 EST


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/



This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:28 EST