Re: Adding an ugliness in __read_cache_page()?

From: Christoph Hellwig
Date: Mon May 23 2011 - 03:27:12 EST


On Sun, May 22, 2011 at 03:25:31PM -0700, Hugh Dickins wrote:
> I find both ways ugly, but no nice alternative: introducing a new method
> when the known callers are already tied to tmpfs/ramfs seems over the top.

Calling into shmem directly is the less ugly variant. Long term killing
that tmpfs abuse would be even better, but I already lost that fight
when it was initially added.

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