Messages in this thread | | | Date | Thu, 23 Feb 2006 15:28:22 +1100 | From | Nick Piggin <> | Subject | Re: [RFC][patch] mm: single pcp lists |
| |
Joel Schopp wrote: >> -struct per_cpu_pages { >> +struct per_cpu_pageset { >> + struct list_head list; /* the list of pages */ >> int count; /* number of pages in the list */ >> + int cold_count; /* number of cold pages in the list */ >> int high; /* high watermark, emptying needed */ >> int batch; /* chunk size for buddy add/remove */ >> - struct list_head list; /* the list of pages */ >> -}; > > > Any particular reason to move the list_head to the front? >
Nothing particular. I think it was for alignment at one stage before cold_count was added.
-- SUSE Labs, Novell Inc. Send instant messages to your online friends http://au.messenger.yahoo.com
- 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/
| |