Re: [PATCH] NUMA aware allocation of transmit and receive buffersfor e1000

From: Andrew Morton
Date: Tue May 17 2005 - 21:06:42 EST


Christoph Lameter <christoph@xxxxxxxxxx> wrote:
>
> NUMA awareness for the e1000 driver. Allocate transmit and receive buffers
> on the node of the device.

Hast thou any benchmarking results?

> - txdr->buffer_info = vmalloc(size);
> + txdr->buffer_info = kmalloc_node(size, GFP_KERNEL, node);

How come this is safe to do?
-
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/