Re: [RFC][patch] mm: single pcp lists

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux