Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758351Ab2J2KLZ (ORCPT ); Mon, 29 Oct 2012 06:11:25 -0400 Received: from mail.skyhub.de ([78.46.96.112]:58266 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758041Ab2J2KLX (ORCPT ); Mon, 29 Oct 2012 06:11:23 -0400 Date: Mon, 29 Oct 2012 11:11:20 +0100 From: Borislav Petkov To: Jiri Kosina Cc: Andrew Morton , "Rafael J. Wysocki" , Dave Hansen , Michal Hocko , linux-mm@kvack.org, KAMEZAWA Hiroyuki , KOSAKI Motohiro , LKML Subject: Re: [PATCH] add some drop_caches documentation and info messsge Message-ID: <20121029101120.GC4326@liondog.tnic> Mail-Followup-To: Borislav Petkov , Jiri Kosina , Andrew Morton , "Rafael J. Wysocki" , Dave Hansen , Michal Hocko , linux-mm@kvack.org, KAMEZAWA Hiroyuki , KOSAKI Motohiro , LKML References: <20121012125708.GJ10110@dhcp22.suse.cz> <20121024210600.GA17037@liondog.tnic> <20121024141303.0797d6a1.akpm@linux-foundation.org> <1787395.7AzIesGUbB@vostro.rjw.lan> <20121024181752.de011615.akpm@linux-foundation.org> <20121029095819.GA4326@liondog.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 956 Lines: 25 On Mon, Oct 29, 2012 at 11:01:59AM +0100, Jiri Kosina wrote: > Well if the point of dropping caches is lowering the resume time, then > the point is rendered moot as soon as you switch to your browser and > have to wait noticeable amount of time until it starts reacting. Not the resume time - the suspend time. If, say, one has 8Gb of memory and Linux nicely spreads all over it in caches, you don't want to wait too long for the suspend image creation. And nowadays, since you can have 8Gb in a laptop, you really want to keep that image minimal so that suspend-to-disk is quick. The penalty of faulting everything back in is a cost we'd be willing to pay, I guess. Thanks. -- Regards/Gruss, Boris. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/