From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH v2 4/6] slab: add SLAB_ACCOUNT flag Date: Wed, 11 Nov 2015 11:19:04 -0500 Message-ID: <20151111161904.GE6246@mtj.duckdns.org> References: <1ce23e932ea53f47a3376de90b21a9db8293bd6c.1447172835.git.vdavydov@virtuozzo.com> <20151110183808.GB13740@mtj.duckdns.org> <20151110185401.GW31308@esperanza> <20151111155450.GB6246@mtj.duckdns.org> <20151111160719.GX31308@esperanza> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=jto4sxvpBkNMjfYwzJekJkW1uxXsWNRJA9umvllUKTs=; b=sJue7xVmbV3cfzBXCAmgXPPqHmctvlG3Q/dT/0YTMvxhUCTGVoLIXiZUMBPVmbzSAk f1e8zYu6ZShORhy7ufxaUvCbF30luUcqZCWLEJVEL/vdB+5bJZC+mC4AkwMAEHH1x7so Cl6GfdG1yErNhDTgAxJUqv80iTIu1eCgzcSvYycXREnjXVZm21cJcIhqrPvvLUEalryr 2psBD4n4AW5n8/g6soFjvdESXJ2pgnxXkdBO3nOmAD9L2iBM3lOOR/O8jSo2gXYB28K8 9Rkp4xlW0xysP0CfqOVk7kWIWYxOZtg+wjdEDQBJ5mL2JcPzaHeDON25am1vkqrUVH0q D4aQ== Content-Disposition: inline In-Reply-To: <20151111160719.GX31308@esperanza> Sender: linux-kernel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Vladimir Davydov Cc: Andrew Morton , Johannes Weiner , Michal Hocko , Greg Thelen , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Hello, Vladimir. On Wed, Nov 11, 2015 at 07:07:19PM +0300, Vladimir Davydov wrote: > What about external_name allocation in __d_alloc? Is it occasional? > Depends on the workload I guess. Can we create a separate cache for it? > No, because its size is variable. There are other things like that, e.g. > pipe_buffer array. You're right. Ah, it was so close. :( -- tejun From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yk0-f182.google.com (mail-yk0-f182.google.com [209.85.160.182]) by kanga.kvack.org (Postfix) with ESMTP id C7E956B0253 for ; Wed, 11 Nov 2015 11:19:09 -0500 (EST) Received: by ykfs79 with SMTP id s79so56605885ykf.1 for ; Wed, 11 Nov 2015 08:19:09 -0800 (PST) Received: from mail-yk0-x233.google.com (mail-yk0-x233.google.com. [2607:f8b0:4002:c07::233]) by mx.google.com with ESMTPS id p184si6600761ywf.101.2015.11.11.08.19.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Nov 2015 08:19:09 -0800 (PST) Received: by ykba77 with SMTP id a77so56262848ykb.2 for ; Wed, 11 Nov 2015 08:19:08 -0800 (PST) Date: Wed, 11 Nov 2015 11:19:04 -0500 From: Tejun Heo Subject: Re: [PATCH v2 4/6] slab: add SLAB_ACCOUNT flag Message-ID: <20151111161904.GE6246@mtj.duckdns.org> References: <1ce23e932ea53f47a3376de90b21a9db8293bd6c.1447172835.git.vdavydov@virtuozzo.com> <20151110183808.GB13740@mtj.duckdns.org> <20151110185401.GW31308@esperanza> <20151111155450.GB6246@mtj.duckdns.org> <20151111160719.GX31308@esperanza> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151111160719.GX31308@esperanza> Sender: owner-linux-mm@kvack.org List-ID: To: Vladimir Davydov Cc: Andrew Morton , Johannes Weiner , Michal Hocko , Greg Thelen , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Hello, Vladimir. On Wed, Nov 11, 2015 at 07:07:19PM +0300, Vladimir Davydov wrote: > What about external_name allocation in __d_alloc? Is it occasional? > Depends on the workload I guess. Can we create a separate cache for it? > No, because its size is variable. There are other things like that, e.g. > pipe_buffer array. You're right. Ah, it was so close. :( -- tejun -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org