From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 7 Apr 2001 21:39:36 -0400 (EDT) From: "Benjamin C.R. LaHaise" Subject: Re: (struct page *)->list In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Bulent Abali Cc: linux-mm@kvack.org List-ID: On Sat, 7 Apr 2001, Bulent Abali wrote: > The question is if I unhook the page->list field after > page=alloc_page() and add page->list to my private linked list > will that cause a problem elsewhere in the kernel? This isn't portable between 2.2 and 2.4. Treating struct page as an opaque type is the recommended strategy. -ben -- 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.eu.org/Linux-MM/