Santos, Jose Renato G
2007-Mar-01 01:39 UTC
[Xen-devel] [PATCH] Replace get_domain_by_id() with find_domain_rcu_lock() [1/2]
These patches replaces invocations to get_domain_by_id()/put_domain() with the more efficient pair find_domain_rcu_loc()/domain_rcu_unlock(). Most of the current invocations of get_domain_by_id() have local scope which are safe to be replaced with find_domain_rcu_lock(). There are only a few places where the get_domain_by_id() was kept due to the domain reference being kept beyond the current scope. I decomposed the changes in two patches: [1/2]: find_domain_rcu_lock_common.patch: changes in arch independent code [2/2]: find_domain_rcu_lock_x86.patch: changes in x86 code I did not replace get_domain_by_id() for IA64 and PPC archs yet. I will send a separate patch for these architectures after I have the chance to generate the patches for them. Thanks Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel