[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (struct page *)->list
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/