Re: Define CONFIG_BOUNCE to avoid useless inclusion of bouncebuffer logic.

From: KAMEZAWA Hiroyuki
Date: Tue May 22 2007 - 00:38:54 EST


On Mon, 21 May 2007 21:03:40 -0700 (PDT)
Christoph Lameter <clameter@xxxxxxx> wrote:

> The bounce buffer logic is included on systems that do not need it.
> If a system does not have zones like ZONE_DMA and ZONE_HIGHMEM that
> can lead to the use of bounce buffers then there is no need to reserve
> memory pools etc etc. This is true f.e. for SGI Altix.

> +config BOUNCE
> + def_bool y
> + depends on BLOCK && MMU && (ZONE_DMA || HIGHMEM)
> +

AFAIK, ppc has only ZONE_DMA and it never needs bounce.
Is this ok ?

-Kame

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