Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263631AbTENS4h (ORCPT ); Wed, 14 May 2003 14:56:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263645AbTENS4h (ORCPT ); Wed, 14 May 2003 14:56:37 -0400 Received: from pixpat.austin.ibm.com ([192.35.232.241]:63255 "EHLO baldur.austin.ibm.com") by vger.kernel.org with ESMTP id S263631AbTENSz1 (ORCPT ); Wed, 14 May 2003 14:55:27 -0400 Date: Wed, 14 May 2003 14:07:45 -0500 From: Dave McCracken To: Rik van Riel , Andrew Morton cc: mika.penttila@kolumbus.fi, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: Race between vmtruncate and mapped areas? Message-ID: <127820000.1052939265@baldur.austin.ibm.com> In-Reply-To: References: X-Mailer: Mulberry/2.2.1 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 935 Lines: 25 --On Wednesday, May 14, 2003 15:04:55 -0400 Rik van Riel wrote: >> Not to mention they could end up being outside of any VMA, >> meaning there's no sane way to deal with them. > > I hate to follow up to my own email, but the fact that > they're not in any VMA could mean we leak these pages > at exit() time. Well, they are still inside the vma. Truncate doesn't shrink the vma. It just generates SIGBUS when the app tries to fault the pages in. Dave ====================================================================== Dave McCracken IBM Linux Base Kernel Team 1-512-838-3059 dmccr@us.ibm.com T/L 678-3059 - 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/