diff options
author | Andi Kleen <ak@suse.de> | 2005-07-06 13:56:03 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-08 17:57:23 -0400 |
commit | d42c69972b853fd33a26c8c7405624be41a22136 (patch) | |
tree | 2ac805f0da1279492939f8627103f5f9a040034c /include/linux | |
parent | 56d8456b06ad1316bff3c75caed5e06e786f20d8 (diff) |
[PATCH] PCI: Run PCI driver initialization on local node
Run PCI driver initialization on local node
Instead of adding messy kmalloc_node()s everywhere run the
PCI driver probe on the node local to the device.
This would not have helped for IDE, but should for
other more clean drivers that do more initialization in probe().
It won't help for drivers that do most of the work
on first open (like many network drivers)
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mempolicy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mempolicy.h b/include/linux/mempolicy.h index 94a46f38c532..58385ee1c0ac 100644 --- a/include/linux/mempolicy.h +++ b/include/linux/mempolicy.h | |||
@@ -155,6 +155,7 @@ struct mempolicy *get_vma_policy(struct task_struct *task, | |||
155 | 155 | ||
156 | extern void numa_default_policy(void); | 156 | extern void numa_default_policy(void); |
157 | extern void numa_policy_init(void); | 157 | extern void numa_policy_init(void); |
158 | extern struct mempolicy default_policy; | ||
158 | 159 | ||
159 | #else | 160 | #else |
160 | 161 | ||