diff options
author | Olaf Hering <olaf@aepfle.de> | 2011-06-10 10:47:02 +0200 |
---|---|---|
committer | Olaf Hering <olaf@aepfle.de> | 2011-06-10 10:47:02 +0200 |
commit | 7910d6f2a5ac513fc01acc88aa7374a06ee0144b (patch) | |
tree | 2034a7a4e4e006fbe09341fb294ea56009004b02 /tools/xenpaging/xenpaging.h | |
parent | f37f72f2ccafe0566778b3e238c313d5fed364e4 (diff) | |
download | xen-7910d6f2a5ac513fc01acc88aa7374a06ee0144b.tar.gz xen-7910d6f2a5ac513fc01acc88aa7374a06ee0144b.tar.bz2 xen-7910d6f2a5ac513fc01acc88aa7374a06ee0144b.zip |
xenpaging: remove unused spinlock in pager
The spinlock code in the pager is a no-op because xenpaging is a single
threaded application. There is no locking when put_response() places a
response into the ringbuffer.
The only locking is inside the hypervisor, where mem_event_put_request() and
mem_event_get_response() lock the ringbuffer to protect multiple vcpus from
each other.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/xenpaging/xenpaging.h')
-rw-r--r-- | tools/xenpaging/xenpaging.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/xenpaging/xenpaging.h b/tools/xenpaging/xenpaging.h index f4ebcefca8..d521b9ece1 100644 --- a/tools/xenpaging/xenpaging.h +++ b/tools/xenpaging/xenpaging.h @@ -25,7 +25,6 @@ #define __XEN_PAGING2_H__ -#include "spinlock.h" #include "xc.h" #include <xc_private.h> |