From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 9 Aug 2005 15:50:47 +0100 (BST) From: Hugh Dickins Subject: Re: [RFC][patch 0/2] mm: remove PageReserved In-Reply-To: <1123597903.30257.204.camel@gaston> Message-ID: References: <42F57FCA.9040805@yahoo.com.au> <200508090710.00637.phillips@arcor.de> <42F7F5AE.6070403@yahoo.com.au> <1123577509.30257.173.camel@gaston> <1123597903.30257.204.camel@gaston> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Benjamin Herrenschmidt Cc: Nick Piggin , Daniel Phillips , linux-kernel , Linux Memory Management , Linus Torvalds , Andrew Morton , Andrea Arcangeli List-ID: On Tue, 9 Aug 2005, Benjamin Herrenschmidt wrote: > > > But you don't mind if they are refcounted, do you? > > Just so long as they start out from 1 so never get freed. > > Well, a refcounting bug would let them be freed and kaboom ... That's > why a "PG_not_your_ram_dammit" bit would be useful. It could at least > BUG_ON when refcount reaches 0 :) Okay, great, let's give every struct page two refcounts, so if one of them goes wrong, the other one will save us. Hugh -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org