Re: [PATCH 1/2] uml: s/virDomainObjListFindByID/virDomainObjListFindByUUID/

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

 



On Fri, Apr 24, 2015 at 10:24:14 +0200, Michal Privoznik wrote:
> ListFindByID() still requires to step through items in the hash table
> (in the worst case scenario through all of them), lock each one and
> compare whether we've found what we're looking for. This is suboptimal
> as locking a domain object means we need to wait for the current API
> running over the object to finish.
> 
> Unfortunately, we can't drop the function completely because we have
> this public API virDomainLookupByID which we can't drop.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/uml/uml_driver.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

ACK,

Peter

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]