projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e4dc40
)
ieee1394: first minimal NUMA awareness
author
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Sun, 8 Jul 2007 11:34:21 +0000
(13:34 +0200)
committer
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Mon, 9 Jul 2007 22:07:40 +0000
(
00:07
+0200)
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>
drivers/ieee1394/hosts.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ieee1394/hosts.c
b/drivers/ieee1394/hosts.c
index 7ea64eec227007544450a4fc631cd50838f0fb13..8dd09d8504196eecbe750887ec23f702667b105d 100644
(file)
--- 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;