On Mon, Jun 4, 2012 at 11:05 PM, KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxx> wrote: >> - On desktops, apps can drop their caches on demand if they want to >> 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@xxxxxxxxx. 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: <a href