From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx203.postini.com [74.125.245.203]) by kanga.kvack.org (Postfix) with SMTP id 3FBF46B0072 for ; Tue, 5 Jun 2012 03:52:07 -0400 (EDT) Received: by ggm4 with SMTP id 4so4852662ggm.14 for ; Tue, 05 Jun 2012 00:52:06 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4FCD14F1.1030105@gmail.com> References: <20120507121527.GA19526@lizard> <4FA82056.2070706@gmail.com> <20120601122118.GA6128@lizard> <4FCC7592.9030403@kernel.org> <20120604113811.GA4291@lizard> <4FCD14F1.1030105@gmail.com> Date: Tue, 5 Jun 2012 10:52:06 +0300 Message-ID: Subject: Re: [PATCH 0/5] Some vmevent fixes... From: Pekka Enberg Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-linux-mm@kvack.org List-ID: To: KOSAKI Motohiro Cc: Anton Vorontsov , Minchan Kim , Leonid Moiseichuk , John Stultz , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linaro-kernel@lists.linaro.org, patches@linaro.org, kernel-team@android.com On Mon, Jun 4, 2012 at 11:05 PM, KOSAKI Motohiro wrote: >> - On desktops, apps can drop their caches on demand if they want to >> =A0 and can avoid swap activity? > > In this case, fallocate(VOLATILE) is work more better. For some cases, yes, but probably not for all. For example, if userspace doesn't know about "about to swap real soon" condition, it can continue to grow its caches making fallocate(VOLATILE) pretty much useless. -- 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