From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx158.postini.com [74.125.245.158]) by kanga.kvack.org (Postfix) with SMTP id 53E6E6B0092 for ; Thu, 16 Feb 2012 13:43:15 -0500 (EST) Message-ID: <4F3D4E34.9060105@fb.com> Date: Thu, 16 Feb 2012 10:43:00 -0800 From: Arun Sharma MIME-Version: 1.0 Subject: Re: [PATCH v5 3/3] fadvise: implement POSIX_FADV_NOREUSE References: <1329006098-5454-1-git-send-email-andrea@betterlinux.com> <1329006098-5454-4-git-send-email-andrea@betterlinux.com> <20120215233537.GA20724@dev3310.snc6.facebook.com> <20120215234724.GA21685@thinkpad> <4F3C467B.1@fb.com> <20120216005608.GC21685@thinkpad> <4F3C6594.3030709@fb.com> <20120216103944.GA1440@thinkpad> In-Reply-To: <20120216103944.GA1440@thinkpad> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Andrea Righi Cc: Andrew Morton , Minchan Kim , Peter Zijlstra , Johannes Weiner , KAMEZAWA Hiroyuki , KOSAKI Motohiro , Rik van Riel , Hugh Dickins , Alexander Viro , Shaohua Li , =?ISO-8859-1?Q?P=E1draig_Brady?= , John Stultz , Jerry James , Julius Plenz , linux-mm , linux-fsdevel@vger.kernel.org, LKML On 2/16/12 2:39 AM, Andrea Righi wrote: > Arun, thank you very much for your review and testing. Probably we'll > move to a different, memcg-based solution, so I don't think I'll post > another version of this patch set as is. In case, I'll apply one of > the workarounds for the rb_root attribute. I'm not sure if the proposed memory.file.limit_in_bytes is the right interface. Two problems: * The user is now required to figure out what is the right amount of page cache for the app (may change over time) * If the app touches two sets of files, one with streaming access and the other which benefits from page cache (eg: a mapper task in a map reduce), memcg doesn't allow the user to specify the access pattern per-fd. -Arun -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org