From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755604AbXIJCSh (ORCPT ); Sun, 9 Sep 2007 22:18:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754006AbXIJCS2 (ORCPT ); Sun, 9 Sep 2007 22:18:28 -0400 Received: from vsmtp01.dti.ne.jp ([202.216.231.136]:47525 "EHLO vsmtp01.dti.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753938AbXIJCS1 (ORCPT ); Sun, 9 Sep 2007 22:18:27 -0400 From: hooanon05@yahoo.co.jp Subject: Re: [RFC] Union Mount: Readdir approaches To: Matt Keenan Cc: bharata@linux.vnet.ibm.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, hch@infradead.org, Jan Blunck , "Josef 'Jeff' Sipek" In-Reply-To: <46E1D8E1.2060702@gmail.com> References: <20070907054618.GD1692@in.ibm.com> <46E1D8E1.2060702@gmail.com> Date: Mon, 10 Sep 2007 11:17:10 +0900 Message-Id: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Matt Keenan: > This sounds like a good approach. How does aufs handle low memory > situations? Union mounts seem to be quite common on low memory embedded > systems. Is there a way for the VM to signal to aufs/the union > filesystem to trim its cache? Also on the memory consumption front I I also want to find the way to make this implementation to be smaller. Basically there is no such signal or message. The cache for entries will be discarded when the inode cache is shrinked or the file is closed (and the file object is destroyed), because it is in inode or file object. It is up to your system memory size or something when the inode cache is shrinked. Junjiro Okajima