Re: [RFC] [PATCH] splice: add ->splice_read support for /dev/zero

From: Andrew Morton
Date: Tue Aug 19 2008 - 00:43:38 EST


On Thu, 7 Aug 2008 05:00:55 +0300 Octavian Purdila <opurdila@xxxxxxxxxxx> wrote:

> Useful for testing.
>
> Preallocating the zero page is simpler and faster with the relatively
> small (?) drawback of using an extra page of memory.

How much faster is it? What workloads/benchmarks/etc?

> Maybe when CONFIG_EMBEDED is selected we can switch to dynamically
> allocating the page?
>

One more page won't kill us. People might want one-page-per-node, too.
But that all depends on what the benefits and applications of this are..

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