diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-07-29 09:58:38 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-07-29 09:58:39 +1000 |
commit | 8c79873da0d2bedf4ad6b868c54e426bb0a2fe38 (patch) | |
tree | 270efee346b70ae6615dd4796363479c94eca6d9 /sound/isa/opl3sa2.c | |
parent | 0f0c4fab8284f3b886b2e1e0e317e3bb8de176b3 (diff) |
lguest: turn Waker into a thread, not a process
lguest uses a Waker process to break it out of the kernel (ie.
actually running the guest) when file descriptor needs attention.
Changing this from a process to a thread somewhat simplifies things:
it can directly access the fd_set of things to watch. More
importantly, it means that the Waker can see Guest memory correctly,
so /dev/vring file descriptors will work as anticipated (the
alternative is to actually mmap MAP_SHARED, but you can't do that with
/dev/zero).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'sound/isa/opl3sa2.c')
0 files changed, 0 insertions, 0 deletions