Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751798AbdFTCwO (ORCPT ); Mon, 19 Jun 2017 22:52:14 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:40772 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751094AbdFTCwM (ORCPT ); Mon, 19 Jun 2017 22:52:12 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E40FE60310 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=stummala@codeaurora.org Subject: Re: [PATCH] mm/list_lru.c: use cond_resched_lock() for nlru->lock To: Vladimir Davydov , Andrew Morton Cc: Alexander Polakov , Jan Kara , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org References: <1497228440-10349-1-git-send-email-stummala@codeaurora.org> <20170615140523.76f8fc3ca21dae3704f06a56@linux-foundation.org> <20170617111431.GA27061@esperanza> From: Sahitya Tummala Message-ID: <6ab790fe-de97-9495-0d3b-804bae5d7fbb@codeaurora.org> Date: Tue, 20 Jun 2017 08:22:01 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <20170617111431.GA27061@esperanza> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 481 Lines: 14 Hello, On 6/17/2017 4:44 PM, Vladimir Davydov wrote: > > That said, I think it would be better to patch shrink_dcache_sb() or > dentry_lru_isolate_shrink() instead of list_lru_walk() in order to fix > this lockup. Thanks for the review. I will enhance the patch as per your suggestion. -- Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.