lkml.org 
[lkml]   [2009]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] page-allocator: Split per-cpu list into one-list-per-migrate-type
On Tue, 18 Aug 2009, Mel Gorman wrote:

> + /*
> + * We only track unreclaimable, reclaimable and movable on pcp lists.
^^^^^^^^^^^^^
Is it unmovable? I don't see unreclaimable migrate type on pcp lists.
Just ask to make sure I undsterstand the comment right.

> + * Free ISOLATE pages back to the allocator because they are being
> + * offlined but treat RESERVE as movable pages so we can get those
> + * areas back if necessary. Otherwise, we may have to free
> + * excessively into the page allocator
> + */
> + if (migratetype >= MIGRATE_PCPTYPES) {
> + if (unlikely(migratetype == MIGRATE_ISOLATE)) {
> + free_one_page(zone, page, 0, migratetype);
> + goto out;
> + }
> + migratetype = MIGRATE_MOVABLE;
> + }
> +

Vincent Li
Biomedical Research Center
University of British Columbia


\
 
 \ /
  Last update: 2009-08-19 00:37    [W:0.051 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site