From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx3-rdu2.redhat.com ([66.187.233.73]:60666 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752636AbeGCAqQ (ORCPT ); Mon, 2 Jul 2018 20:46:16 -0400 Subject: Re: [PATCH v5 0/6] fs/dcache: Track & limit # of negative dentries To: Linus Torvalds Cc: Al Viro , Linux Kernel Mailing List , linux-fsdevel , Jan Kara , Paul McKenney , Andrew Morton , Ingo Molnar , Miklos Szeredi , Matthew Wilcox , Larry Woodman , James Bottomley , "Wangkai (Kevin,C)" References: <1530510723-24814-1-git-send-email-longman@redhat.com> From: Waiman Long Message-ID: <8e40fee3-4a6a-244d-aa9b-97123b56e6fb@redhat.com> Date: Tue, 3 Jul 2018 08:46:07 +0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On 07/03/2018 03:34 AM, Linus Torvalds wrote: > On Sun, Jul 1, 2018 at 10:52 PM Waiman Long wrote: >> A rogue application can potentially create a large number of negative >> dentries in the system consuming most of the memory available if it >> is not under the direct control of a memory controller that enforce >> kernel memory limit. > I certainly don't mind the patch series, but I would like it to be > accompanied with some actual example numbers, just to make it all a > bit more concrete. > > Maybe even performance numbers showing "look, I've filled the dentry > lists with nasty negative dentries, now it's all slower because we > walk those less interesting entries". > > Linus I did have performance numbers in the previous version of the patchset. I will rerun the performance test and post the numbers later on. Cheers, Longman