Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 9 Jul 2001 14:02:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 9 Jul 2001 14:02:06 -0400 Received: from neon-gw.transmeta.com ([209.10.217.66]:64273 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Mon, 9 Jul 2001 14:01:53 -0400 Date: Mon, 9 Jul 2001 11:00:44 -0700 (PDT) From: Linus Torvalds To: Hugh Dickins cc: Andrea Arcangeli , Andrew Morton , Abraham vd Merwe , Linux Kernel Development Subject: Re: msync() bug In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 9 Jul 2001, Hugh Dickins wrote: > > As it stands, yes. But shouldn't there be some kind of VM_ASIFRESERVED > vma flag to treat all its pages as if they were reserved, for /dev/mem? Sure, that is doable. We do in fact already have the flag - you could think of the VM_IO as that kind of flag already. I wouldn't object to that kind of change in the 2.5.x timeframe. We already have vmscan ignoring VM_IO objects, we could do the same to copy_mm() and to mmdrop(). Linus - 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/