Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965098AbWHWSab (ORCPT ); Wed, 23 Aug 2006 14:30:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965099AbWHWSab (ORCPT ); Wed, 23 Aug 2006 14:30:31 -0400 Received: from e2.ny.us.ibm.com ([32.97.182.142]:57030 "EHLO e2.ny.us.ibm.com") by vger.kernel.org with ESMTP id S965098AbWHWSa3 (ORCPT ); Wed, 23 Aug 2006 14:30:29 -0400 Subject: Re: [Devel] [PATCH 6/6] BC: kernel memory accounting (marks) From: Dave Hansen To: devel@openvz.org Cc: Andrew Morton , Rik van Riel , Chandra Seetharaman , Greg KH , Linux Kernel Mailing List , Andi Kleen , Christoph Hellwig , Andrey Savochkin , Alan Cox , Rohit Seth , Matt Helsley , Oleg Nesterov In-Reply-To: <44EC371F.7080205@sw.ru> References: <44EC31FB.2050002@sw.ru> <44EC371F.7080205@sw.ru> Content-Type: text/plain Date: Wed, 23 Aug 2006 11:30:20 -0700 Message-Id: <1156357820.12011.45.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 823 Lines: 26 I'm still a bit concerned about if we actually need the 'struct page' pointer. I've gone through all of the users, and I'm not sure that I see any that _require_ having a pointer in 'struct page'. I think it will take some rework, especially with the pagetables, but it should be quite doable. vmalloc: Store in vm_struct fd_set_bits: poll_get: mount hashtable: Don't need alignment. use the slab? pagetables: either store in an extra field of 'struct page', or use the mm's. mm should always be available when alloc/freeing a pagetable page Did I miss any? -- Dave - 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/