From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752429AbdEEJjy (ORCPT ); Fri, 5 May 2017 05:39:54 -0400 Received: from mga02.intel.com ([134.134.136.20]:49513 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752110AbdEEJjw (ORCPT ); Fri, 5 May 2017 05:39:52 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,291,1491289200"; d="scan'208";a="257264224" Message-ID: <1493977180.3551.24.camel@linux.intel.com> Subject: Re: Q. drm/i915 shrinker, synchronize_rcu_expedited() from handlers From: Joonas Lahtinen To: "J. R. Okajima" , Andrea Arcangeli Cc: chris@chris-wilson.co.uk, daniel.vetter@ffwll.ch, jani.nikula@intel.com, linux-kernel@vger.kernel.org Date: Fri, 05 May 2017 12:39:40 +0300 In-Reply-To: <16988.1493604328@jrobl> References: <7743.1493532478@jrobl> <20170430094348.GA5970@redhat.com> <16988.1493604328@jrobl> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.5 (3.20.5-1.fc24) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On ma, 2017-05-01 at 11:05 +0900, J. R. Okajima wrote: > Thanx for the reply. > > Andrea Arcangeli: > > > > Yes I already reported this, my original fix was way more efficient > > (and also safer considering the above) than what landed upstream. My > > feedback was ignored though. > > > > https://lists.freedesktop.org/archives/intel-gfx/2017-April/125414.html > > I see. > Actually on my test system for v4.11-rc8, kthreadd, kworker, kswapd and > others all stopped working due to the synchronize_rcu_expedited call > from i915_gem_shrinker_count. It is definitly a show stopper for me as > an i915 user. Filing a bug in freedesktop.org with all the details is the fastest way of getting help. Without the bug (and with such little information as the previous e-mail) it's hard to estimate the extent and nature of the bug. I've anyway gone and prepared a patch to drop the RCU sync completely from shrinker phase, as discussed originally with Chris. Regards, Joonas -- Joonas Lahtinen Open Source Technology Center Intel Corporation