aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/tmem.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2011-05-01 13:16:30 +0100
committerJan Beulich <jbeulich@novell.com>2011-05-01 13:16:30 +0100
commitf22f2fe48d144141fffd42a380383f45efbea8e3 (patch)
tree8e0d2c4787f66363688bc649a9c19a39a41379b2 /xen/common/tmem.c
parent4c7909939b059cd366426acaf9988cc7c5f4c00b (diff)
downloadxen-f22f2fe48d144141fffd42a380383f45efbea8e3.tar.gz
xen-f22f2fe48d144141fffd42a380383f45efbea8e3.tar.bz2
xen-f22f2fe48d144141fffd42a380383f45efbea8e3.zip
x86: replace nr_irqs sized per-domain arrays with radix trees
It would seem possible to fold the two trees into one (making e.g. the emuirq bits stored in the upper half of the pointer), but I'm not certain that's worth it as it would make deletion of entries more cumbersome. Unless pirq-s and emuirq-s were mutually exclusive... Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/common/tmem.c')
-rw-r--r--xen/common/tmem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xen/common/tmem.c b/xen/common/tmem.c
index 1c155db690..c461e99290 100644
--- a/xen/common/tmem.c
+++ b/xen/common/tmem.c
@@ -2925,7 +2925,6 @@ static int __init init_tmem(void)
if ( !tmh_enabled() )
return 0;
- radix_tree_init();
if ( tmh_dedup_enabled() )
for (i = 0; i < 256; i++ )
{