Re: 2.6.19-rc2-mm1

Carsten Otte
2006-10-20T07:37:54Z

Nick Piggin wrote:
> I don't believe filemap_xip holds the page lock, so you don't need to do
> the atomic copy, and you don't need to do the fault_in_pages_readable.
No, we don't hold the page lock. Xip pages are property of the block
device driver, are not in the page lru, and by calling get_xip_page we
retrieved a reference to that page which remains valid until the file
system is unmounted / the block device is closed.