Re: 2.6.19-rc2-mm1

From: Carsten Otte
Date: Fri Oct 20 2006 - 03:38:29 EST


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