[kvm-devel] [RFC 4/8]KVM: move gfn_to_page out of kmap/unmap pars

2007-07-22 Thread Shaohua Li
gfn_to_page might sleep with swap support. Move it out of the kmap calls. Signed-off-by: Shaohua Li <[EMAIL PROTECTED]> --- drivers/kvm/kvm.h |2 - drivers/kvm/kvm_main.c|9 ++--- drivers/kvm/mmu.c |2 - drivers/kvm/paging_tmpl.h | 80 +++-

Re: [kvm-devel] [RFC 4/8]KVM: move gfn_to_page out of kmap/unmap pars

2007-07-24 Thread Avi Kivity
Shaohua Li wrote: > gfn_to_page might sleep with swap support. Move it out of the kmap calls. > > I'd like to apply this to the kvm.git master branch so we don't have to maintain it. Was this tested on a highmem machine? If not, I can do it. -- error compiling committee.c: too many argume

Re: [kvm-devel] [RFC 4/8]KVM: move gfn_to_page out of kmap/unmap pars

2007-07-24 Thread Shaohua Li
2007/7/24, Avi Kivity <[EMAIL PROTECTED]>: > Shaohua Li wrote: > > gfn_to_page might sleep with swap support. Move it out of the kmap calls. > > > > > > I'd like to apply this to the kvm.git master branch so we don't have to > maintain it. Was this tested on a highmem machine? If not, I can do it

Re: [kvm-devel] [RFC 4/8]KVM: move gfn_to_page out of kmap/unmap pars

2007-07-25 Thread Avi Kivity
Shaohua Li wrote: > 2007/7/24, Avi Kivity <[EMAIL PROTECTED]>: >> Shaohua Li wrote: >> > gfn_to_page might sleep with swap support. Move it out of the kmap >> calls. >> > >> > >> >> I'd like to apply this to the kvm.git master branch so we don't have to >> maintain it. Was this tested on a highmem