From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Chinner Subject: Re: [PATCH] sysctl: Add a feature to drop caches selectively Date: Fri, 27 Jun 2014 12:48:34 +1000 Message-ID: <20140627024834.GX9508@dastard> References: <1403626213-7691-1-git-send-email-mcsim.planeta@gmail.com> <1403677528.7903.103.camel@sauron.fi.intel.com> <20140626010606.GT4453@dastard> <1403763199.20275.39.camel@sauron.fi.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Thomas Knauth , David Rientjes , Maksym Planeta , Alexander Viro , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: Artem Bityutskiy Return-path: Content-Disposition: inline In-Reply-To: <1403763199.20275.39.camel@sauron.fi.intel.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thu, Jun 26, 2014 at 09:13:19AM +0300, Artem Bityutskiy wrote: > On Thu, 2014-06-26 at 11:06 +1000, Dave Chinner wrote: > > Your particular use case can be handled by directing your benchmark > > at a filesystem mount point and unmounting the filesystem in between > > benchmark runs. There is no ned to adding kernel functionality for > > somethign that can be so easily acheived by other means, especially > > in benchmark environments where *everything* is tightly controlled. > > If I was a benchmark writer, I would not be willing running it as root > to be able to mount/unmount, I would not be willing to require the > customer creating special dedicated partitions for the benchmark, > because this is too user-unfriendly. Or do I make incorrect assumptions? Just add the dev/mntpt to /etc/fstab and add "user" to the configuration and the need for root goes away. Cheers, Dave. -- Dave Chinner david@fromorbit.com