qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 07/11] exec: check MRU in qemu_ram_addr_from_


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v2 07/11] exec: check MRU in qemu_ram_addr_from_host
Date: Mon, 01 Jul 2013 22:48:37 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6

Il 01/07/2013 20:33, Jan Kiszka ha scritto:
> > This function is not used outside the iothread mutex, so it
> > can use ram_list.mru_block.
> 
> Add a comment to qemu_ram_addr_from_host to document this requirement?

Right now there is hardly any documentation of what does _not_ require
the iothread mutex...  basically everything except qemu_safe_ram_ptr and
qemu_ram_ptr_length requires it.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]