Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756388AbZA3V0e (ORCPT ); Fri, 30 Jan 2009 16:26:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754390AbZA3V00 (ORCPT ); Fri, 30 Jan 2009 16:26:26 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:44574 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751662AbZA3V0Z (ORCPT ); Fri, 30 Jan 2009 16:26:25 -0500 Date: Fri, 30 Jan 2009 13:25:41 -0800 (PST) From: Linus Torvalds X-X-Sender: torvalds@localhost.localdomain To: Hugh Dickins cc: Lee Schermerhorn , Greg KH , Maksim Yevmenkin , linux-kernel , Nick Piggin , Andrew Morton , will@crowder-design.com, Rik van Riel , KOSAKI Motohiro , KAMEZAWA Hiroyuki , Mikos Szeredi Subject: Re: [PATCH] Fix OOPS in mmap_region() when merging adjacent VM_LOCKED file segments In-Reply-To: Message-ID: References: <1233259410.2315.75.camel@lts-notebook> <20090130055639.GA30950@suse.de> <1233345190.908.36.camel@lts-notebook> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 822 Lines: 22 On Fri, 30 Jan 2009, Hugh Dickins wrote: > > But I'm caring more about that VM_ACCOUNT... The bright side here is that I think the VM_ACCOUNT bit differences only really happen for MAP_SHARED file mappings. For MAP_SHARED anon mappings we already don't share (for other reasons), and for private mappings VM_ACCOUNT looks stable (ie it's reliably either set or not, and stays that way). So the impact is reasonably low. But it would definitely be good to clean up that whole VM_ACCOUNT logic, and incidentally then fix that merging issue at the same time. 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/