OSDN Git Service

Fix the possibility of sleeping with locks held in sysctls by copying the
authorEric Anholt <anholt@freebsd.org>
Mon, 20 Oct 2003 05:09:21 +0000 (05:09 +0000)
committerEric Anholt <anholt@freebsd.org>
Mon, 20 Oct 2003 05:09:21 +0000 (05:09 +0000)
commitea7b4fdc225ebbbfd77f875fd3bfcfbdcfa9a1f7
treea37f442a37d9e577110812486410c4c023bf43e6
parent6b0424fdcdec9d12943718e4542659c8bca019da
Fix the possibility of sleeping with locks held in sysctls by copying the
    data into temporary variables with the lock held then outputting to
    sysctls with the lock released. Rearranged a little extra code to aid
    this. Note that drm_memory_debug.h hasn't had this fix applied, but I
    consider that code to be just about dead anyway.
bsd-core/drm_drv.c
bsd-core/drm_os_freebsd.h
bsd-core/drm_os_netbsd.h
bsd-core/drm_sysctl.c
bsd/drm_drv.h
bsd/drm_memory_debug.h
bsd/drm_os_freebsd.h
bsd/drm_os_netbsd.h
bsd/drm_sysctl.h