Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758087Ab1EaSX7 (ORCPT ); Tue, 31 May 2011 14:23:59 -0400 Received: from mail.lang.hm ([64.81.33.126]:58364 "EHLO bifrost.lang.hm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758000Ab1EaSX6 (ORCPT ); Tue, 31 May 2011 14:23:58 -0400 Date: Tue, 31 May 2011 11:23:24 -0700 (PDT) From: david@lang.hm X-X-Sender: dlang@asgard.lang.hm To: "D. Jansen" cc: "Ted Ts'o" , Oliver Neukum , akpm@linux-foundation.org, linux-kernel@vger.kernel.org, Dave Chinner , njs@pobox.com, bart@samwel.tk Subject: Re: [rfc] Ignore Fsync Calls in Laptop_Mode In-Reply-To: Message-ID: References: <20110531020300.GJ2890@dhcp-172-31-194-241.cam.corp.google.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="680960-314092539-1306866205=:30137" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1781 Lines: 42 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --680960-314092539-1306866205=:30137 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Tue, 31 May 2011, D. Jansen wrote: > On Tue, May 31, 2011 at 4:03 AM, Ted Ts'o wrote: >> On Mon, May 30, 2011 at 11:24:03PM +0200, D. Jansen wrote: >>>> do you really have so many fsync's going on that the disk spins up so much >>>> that you would gain 10-20% battery life? >>> >>> Yes. Every autosave in LibreOffice triggers one. And I want autosave, >>> but I want them in memory, not on disk. >> >> What on *heck* good does an autosave to memory do?  Are you afraid >> your X server is going to go poof, or OpenOffice is going to crash on >> you? > Unfortunately, yes. This happens to me regularly, e.g. roughly every > 10th resume. It's a poulsbo system. ;) > Another reason is a Java extension that makes it crash happy. > (Please don't tell me now that the real fix is to fix poulsbo...) > >> I can't remember the last time this has happened to me.  It's >> typically a system crash or a power loss that causes me to lose an >> OpenOffice session. > > Well, good for you! Power loss didn't ever occur to me on the other > hand, at least not on my netbook. failure to resume is effectivly power loss. a autosave to ram would be lost, just like with a power loss or system crash. David Lang --680960-314092539-1306866205=:30137-- -- 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/