|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] Replace get_domain_by_id() with find_domain_rcu_lock
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@xxxxxxxxxx>
find_domain_rcu_lock_common.patch
Description: find_domain_rcu_lock_common.patch
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] Replace get_domain_by_id() with find_domain_rcu_lock() [1/2],
Santos, Jose Renato G <=
|
|
|
|
|