diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2008-10-28 14:31:58 +0900 |
---|---|---|
committer | Isaku Yamahata <yamahata@valinux.co.jp> | 2008-10-28 14:31:58 +0900 |
commit | 73f908f4d6b77c3e6bd51c0c05d189e0f581f6a3 (patch) | |
tree | 897425fdca2f697b25dafb678a049338c97027be /extras/mini-os/arch/ia64/debug.c | |
parent | e15e237c421d5e108a454a5835a8605802e9930b (diff) | |
download | xen-73f908f4d6b77c3e6bd51c0c05d189e0f581f6a3.tar.gz xen-73f908f4d6b77c3e6bd51c0c05d189e0f581f6a3.tar.bz2 xen-73f908f4d6b77c3e6bd51c0c05d189e0f581f6a3.zip |
[IA64] protect ridblock_owner.
protect ridblock_owner by spin lock.
deallocate_rid() is called by arch_domain_destroy() which
is called as rcu callback.
On the other hand allocate_rid() is called from domctl hypercall.
So the access to ridblock_owner is racy.
Protect it by spin lock.
So far probably xend serializes creating domains, so it hasn't
been caused issues.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Diffstat (limited to 'extras/mini-os/arch/ia64/debug.c')
0 files changed, 0 insertions, 0 deletions