Rik van Riel wrote:
> On Mon, 21 Jan 2008 18:10:50 +0200
> Izik Eidus <[EMAIL PROTECTED]> wrote:
>
>   
>
> What prevents another CPU from freeing newpage while we run through
> the start of replace_page() ?
>
>   
before calling to replace_page one have to call to get_page() and to do 
put_page() after it finished
this what i am doing in ksm.c

should i do it in diffrent way?

-- 
woof.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to