Re: [PATCH 6/9] Stop accessing driver->caps directly in LXC driver

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

 



On Wed, Jul 17, 2013 at 03:04:23PM +0200, Michal Privoznik wrote:
> The 'driver->caps' pointer can be changed on the fly. Accessing
> it currently requires the global driver lock. Isolate this
> access in a single helper, so a future patch can relax the
> locking constraints.
> ---
>  src/lxc/lxc_conf.c       |  29 +++++++++++-
>  src/lxc/lxc_conf.h       |   7 ++-
>  src/lxc/lxc_controller.c |   2 +-
>  src/lxc/lxc_driver.c     | 121 +++++++++++++++++++++++++++++++++++++----------
>  src/lxc/lxc_process.c    |   9 +++-
>  5 files changed, 136 insertions(+), 32 deletions(-)

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
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]