diff options
author | Andi Kleen <ak@suse.de> | 2005-07-06 19:56:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-08 14:57:23 -0700 |
commit | d42c69972b853fd33a26c8c7405624be41a22136 (patch) | |
tree | 2ac805f0da1279492939f8627103f5f9a040034c /mm | |
parent | 56d8456b06ad1316bff3c75caed5e06e786f20d8 (diff) | |
download | kernel-common-d42c69972b853fd33a26c8c7405624be41a22136.tar.gz kernel-common-d42c69972b853fd33a26c8c7405624be41a22136.tar.bz2 kernel-common-d42c69972b853fd33a26c8c7405624be41a22136.zip |
[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 'mm')
-rw-r--r-- | mm/mempolicy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 13492d66b7c8..afa06e184d88 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c @@ -88,7 +88,7 @@ static kmem_cache_t *sn_cache; policied. */ static int policy_zone; -static struct mempolicy default_policy = { +struct mempolicy default_policy = { .refcnt = ATOMIC_INIT(1), /* never free it */ .policy = MPOL_DEFAULT, }; |