Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759734AbcJRMtI (ORCPT ); Tue, 18 Oct 2016 08:49:08 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:41043 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753623AbcJRMtA (ORCPT ); Tue, 18 Oct 2016 08:49:00 -0400 Date: Tue, 18 Oct 2016 14:48:41 +0200 From: Peter Zijlstra To: Linus Torvalds , Waiman Long , Jason Low , Ding Tianhong , Thomas Gleixner , Will Deacon , Ingo Molnar , Imre Deak , Linux Kernel Mailing List , Davidlohr Bueso , Tim Chen , Terry Rudd , "Paul E. McKenney" , Jason Low Cc: Chris Wilson , Daniel Vetter , Rob Clark Subject: Re: [PATCH -v4 1/8] locking/drm: Kill mutex trickery Message-ID: <20161018124841.GW3117@twins.programming.kicks-ass.net> References: <20161007145243.361481786@infradead.org> <20161007150210.927453282@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161007150210.927453282@infradead.org> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 873 Lines: 20 On Fri, Oct 07, 2016 at 04:52:44PM +0200, Peter Zijlstra wrote: > Poking at lock internals is not cool. Since I'm going to change the > implementation this will break, take it out. > > Cc: Daniel Vetter > Cc: Chris Wilson > Cc: Rob Clark > Signed-off-by: Peter Zijlstra (Intel) > --- > drivers/gpu/drm/i915/i915_gem_shrinker.c | 26 +++----------------------- > drivers/gpu/drm/msm/msm_gem_shrinker.c | 23 +++-------------------- > 2 files changed, 6 insertions(+), 43 deletions(-) OK, so it appears that i915 changed their locking around and got rid of this thing entirely. Much appreciated Chris!! Rob, is there any chance you can do the same for msm? Not having to provide a replacement function and opening the door to recursive locking would be ever so good.