[PATCH] drm: take global drm mutex around sysfs files

Eugeni Dodonov eugeni at dodonov.net
Thu Feb 9 12:24:24 PST 2012


On Thu, Feb 9, 2012 at 15:56, Jesse Barnes <jbarnes at virtuousgeek.org> wrote:

> This prevents a race between module init and sysfs access (usually only
> seen at module reload time, or if somehow your userspace starts fast
> enough and pokes at /sys/class/drm while the drivers are still
> initializing).
>
> Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
>

Reviewed-by: Eugeni Dodonov <eugeni.dodonov at intel.com>

-- 
Eugeni Dodonov
<http://eugeni.dodonov.net/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120209/2f44d3fc/attachment.htm>


More information about the dri-devel mailing list