Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934894Ab2JaRqL (ORCPT ); Wed, 31 Oct 2012 13:46:11 -0400 Received: from mail.skyhub.de ([78.46.96.112]:59071 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932903Ab2JaRqE (ORCPT ); Wed, 31 Oct 2012 13:46:04 -0400 Date: Wed, 31 Oct 2012 18:46:01 +0100 From: Borislav Petkov To: Pavel Machek Cc: Jiri Kosina , 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: <20121031174601.GI24389@liondog.tnic> Mail-Followup-To: Borislav Petkov , Pavel Machek , 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> <20121031173154.GA20660@elf.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20121031173154.GA20660@elf.ucw.cz> 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: 1180 Lines: 32 On Wed, Oct 31, 2012 at 06:31:54PM +0100, Pavel Machek wrote: > Hmm? When I resume from hibernate, I want to use my machine. Well, in my case with a workstation with 8 Gb, the only time the swapin is noticeable is when I try to use firefox with a couple of dozens tabs open. Once that thing is swapped in, system perf is back to normal. I'll bet that even this slowdown would disappear if I use an SSD. But I can imagine some workloads where swapping everything back in could be discomforting. > Kernel will not normally swap anything in automatically. Some people > do swapoff -a; swapon -a to work around that. (And yes, maybe some > automatic-swap-in-when-there's-plenty-of-RAM would be useful.). That's a good idea, actually. So, in any case, the current situation is fine as it is, I'd say: people can decide whether they want to drop caches before suspending or not. Problem solved. 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/