diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-07-08 13:34:21 +0200 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-07-10 00:07:40 +0200 |
commit | 93f2e0259a76ceb9c598d5af382aecbb2df01c51 (patch) | |
tree | c1427e22358cb4fa302420abaa547ee57c1dbe5d /drivers/ieee1394/hosts.c | |
parent | ieee1394: eth1394: revert parent device to that in 2.6.20 (diff) | |
download | linux-93f2e0259a76ceb9c598d5af382aecbb2df01c51.tar.xz linux-93f2e0259a76ceb9c598d5af382aecbb2df01c51.zip |
ieee1394: first minimal NUMA awareness
Association of a host device with a node on NUMA machines optimizes
allocations of skbs given from the networking stack to eth1394.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394/hosts.c')
-rw-r--r-- | drivers/ieee1394/hosts.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ieee1394/hosts.c b/drivers/ieee1394/hosts.c index 7ea64eec2270..8dd09d850419 100644 --- a/drivers/ieee1394/hosts.c +++ b/drivers/ieee1394/hosts.c @@ -154,6 +154,7 @@ struct hpsb_host *hpsb_alloc_host(struct hpsb_host_driver *drv, size_t extra, memcpy(&h->device, &nodemgr_dev_template_host, sizeof(h->device)); h->device.parent = dev; + set_dev_node(&h->device, dev_to_node(dev)); snprintf(h->device.bus_id, BUS_ID_SIZE, "fw-host%d", h->id); h->host_dev.parent = &h->device; |