netdev
[Top] [All Lists]

Re: [PATCH] NUMA aware allocation of transmit and receive buffers for e1

To: Christoph Lameter <christoph@xxxxxxxxxx>
Subject: Re: [PATCH] NUMA aware allocation of transmit and receive buffers for e1000
From: Andrew Morton <akpm@xxxxxxxx>
Date: Tue, 17 May 2005 19:03:43 -0700
Cc: linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.62.0505171854490.20408@graphe.net>
References: <Pine.LNX.4.62.0505171854490.20408@graphe.net>
Sender: netdev-bounce@xxxxxxxxxxx
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?

<Prev in Thread] Current Thread [Next in Thread>