Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751656AbdG1BWx (ORCPT ); Thu, 27 Jul 2017 21:22:53 -0400 Received: from szxga03-in.huawei.com ([45.249.212.189]:9867 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751577AbdG1BWw (ORCPT ); Thu, 27 Jul 2017 21:22:52 -0400 Subject: Re: trinity test fanotify cause hungtasks on kernel 4.13 To: References: <5979B8A5.205@huawei.com> CC: Zhaohongjiang , "miaoxie@huawei.com" , Qiuxishi , From: Gu Zheng Message-ID: <597A91D3.7070102@huawei.com> Date: Fri, 28 Jul 2017 09:22:27 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <5979B8A5.205@huawei.com> Content-Type: text/plain; charset="gbk"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.177.97.87] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090204.597A91E6.001C,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: ad6b56b6648ffe10e8111abb4434f084 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 319 Lines: 7 hi:all sorry , close the CONFIG_FANOTIFY_ACCESS_PERMISSIONS is ok. it effected by adding the permissive judgment in fanotify_mark. ?? 2017/7/27 17:55, Gu Zheng ะด??: > if we disable the CONFIG_FANOTIFY_ACCESS_PERMISSIONS, > the mem will be consumed quickly, because the fsnotify_mark_srcu read lock always be hold.