lkml.org 
[lkml]   [2006]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2006-02-23 05:30    [W:0.048 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site