Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750798AbVJNRCF (ORCPT ); Fri, 14 Oct 2005 13:02:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750800AbVJNRCF (ORCPT ); Fri, 14 Oct 2005 13:02:05 -0400 Received: from mail.shareable.org ([81.29.64.88]:26851 "EHLO mail.shareable.org") by vger.kernel.org with ESMTP id S1750798AbVJNRCC (ORCPT ); Fri, 14 Oct 2005 13:02:02 -0400 Date: Fri, 14 Oct 2005 17:52:23 +0100 From: Jamie Lokier To: Pavel Machek Cc: Mikulas Patocka , Jeff Mahoney , Anton Altaparmakov , Glauber de Oliveira Costa , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, ext2-devel@lists.sourceforge.net, hirofumi@mail.parknet.co.jp, linux-ntfs-dev@lists.sourceforge.net, aia21@cantab.net, hch@infradead.org, viro@zeniv.linux.org.uk, akpm@osdl.org Subject: Re: [PATCH] Use of getblk differs between locations Message-ID: <20051014165223.GA23420@mail.shareable.org> References: <20051010214605.GA11427@br.ibm.com> <1129017155.12336.4.camel@imp.csi.cam.ac.uk> <434D6932.1040703@suse.com> <434D6CFA.4080802@suse.com> <20051013111707.GB516@openzaurus.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051013111707.GB516@openzaurus.ucw.cz> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 841 Lines: 24 Pavel Machek wrote: > *Good starting point*. > > Anyway, one solution would be to simply mlockall() on that replugitd Unfortunately, mlockall() isn't effective for an X application (for the dialog) because the X server needs resources too, and that's not usually mlock'd because it's too big. (It would be nice to have a general solution to allow mlock'd GUI applications). > and/or make dirty data hdd based (not ram based) Ooh, swappable dirty data... nice idea :) > and/or restricting dirty buffers to 10MB for removable media. That seems like the simplest effective solution. -- Jamie - 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/