From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 1/3] drm: no need to hold global mutex for static data Date: Wed, 26 Oct 2011 09:44:01 +0200 Message-ID: <20111026074401.GB2889@phenom.ffwll.local> References: <1319595614-9098-1-git-send-email-ihadzic@research.bell-labs.com> <1319595614-9098-2-git-send-email-ihadzic@research.bell-labs.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wy0-f177.google.com (mail-wy0-f177.google.com [74.125.82.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 1A48D9EF86 for ; Wed, 26 Oct 2011 00:43:09 -0700 (PDT) Received: by wyg8 with SMTP id 8so1625212wyg.36 for ; Wed, 26 Oct 2011 00:43:09 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1319595614-9098-2-git-send-email-ihadzic@research.bell-labs.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Ilija Hadzic Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Tue, Oct 25, 2011 at 10:20:12PM -0400, Ilija Hadzic wrote: > drm_getcap and drm_version ioctls only reads static data, > there is no need to protect them with drm_global_mutex, > so make them DRM_UNLOCKED > > Signed-off-by: Ilija Hadzic Reviewed-by: Daniel Vetter -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48