Re: [RFC] Advanced XIP File System



On Wed, 3 May 2006, Jared Hulbert wrote:

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.

Where would we do this? In each MTD driver? A new generic aops function?

First, is it worth it?

IOW, are there real setups out there wishing to have user space XIP
while the kernel itself isn't XIP?

Because right now you only need to turn on CONFIG_MTD_XIP for XIP user
space to just work, regardless of whether the kernel itself is XIP or
not. And of course CONFIG_MTD_XIP is mandatory if you want to write to
flash with a XIP kernel.


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



Relevant Pages

  • XIP kernel - bss address location issue
    ... I have a montavista XIP kernel running on ARM and my kernel will be in ... Since its XIP, I know that the ".text" portion of the ... kernel will be executed from flash but that ".data" needs to be placed ...
    (Linux-Kernel)
  • XIP probelm
    ... I have a montavista XIP kernel running on ARM and my kernel will be in ... Since its XIP, I know that the ".text" portion of the ... kernel will be executed from flash but that ".data" needs to be placed ...
    (Linux-Kernel)
  • Re: How to upgrade flash memory under the control of WinCE?
    ... IPSM can write to the same chip that the OS normally XIPs out of. ... ensure there are no interrupts or exceptions that vector back into flash. ... > chip that is not marked as XIP. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: What File System supports Application XIP
    ... > You won't gain at runtime by using XIP though. ... I thought that when you XIPed from flash, ... directly back to the flash memory address. ... There shouldn't be a RAM ...
    (Linux-Kernel)
  • Re: msflash (fal) library in XIP mode on WindowsCE 5.0?
    ... My FMD in based on the code from the mainstoneIII BSP. ... With this driver I don't get BINFS working. ... correctly notify the FAL that the driver should be in XIP mode. ... By the way we are using NOR flash. ...
    (microsoft.public.windowsce.platbuilder)