From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Christian_K=F6nig?= Subject: Re: VM lockdep warning Date: Sat, 21 Apr 2012 16:16:23 +0200 Message-ID: <4F92C137.6050403@vodafone.de> References: <4F92A9AA.4030607@vodafone.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable Return-path: Received: from outgoing.email.vodafone.de (outgoing.email.vodafone.de [139.7.28.128]) by gabe.freedesktop.org (Postfix) with ESMTP id 7F9A49E75C for ; Sat, 21 Apr 2012 07:16:26 -0700 (PDT) In-Reply-To: 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: Jerome Glisse Cc: dri-devel List-Id: dri-devel@lists.freedesktop.org On 21.04.2012 16:08, Jerome Glisse wrote: > 2012/4/21 Christian K=F6nig: >> Interesting, I'm pretty sure that I haven't touched the locking order of= the >> cs_mutex vs. vm_mutex. >> >> Maybe it is just some kind of side effect, going to locking into it anyw= ay. >> >> Christian. >> > It's the using, init path take lock in different order than cs path Well, could you explain to me why the vm code takes cs mutex in the = first place? It clearly has it's own mutex and it doesn't looks like that it deals = with any cs related data anyway. Christian.