Re: [RFC] Advanced XIP File System

From: David Woodhouse
Date: Wed May 03 2006 - 08:11:06 EST


On Wed, 2006-05-03 at 05:41 -0500, Josh Boyer wrote:
> Yes, I realize that all that is needed is support from other archs. A
> more general form of the question would be does AXFS depend on
> ARCH_MTD_XIP?

That's for kernel XIP, which needs special magic for putting certain
functions into RAM instead of the flash, polling for interrupts, etc.

For general _userspace_ XIP we don't necessarily need to do that. We
only need to mark those pages as absent in the page tables if we ever
schedule to userspace while the flash is in a mode other than read mode.
Then handle the page fault by switching the flash back or waiting for
it.

--
dwmw2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/