internal.h (76741e776a37973a3e398d504069b3e55c5cc866) | internal.h (7f354a548d1cb6bb01b6ee74aee9264aa152f1ec) |
---|---|
1/* internal.h: mm/ internal definitions 2 * 3 * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved. 4 * Written by David Howells (dhowells@redhat.com) 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 161 unchanged lines hidden (view full) --- 170 * are moved to the end of a zone during a compaction run and the run 171 * completes when free_pfn <= migrate_pfn 172 */ 173struct compact_control { 174 struct list_head freepages; /* List of free pages to migrate to */ 175 struct list_head migratepages; /* List of pages being migrated */ 176 unsigned long nr_freepages; /* Number of isolated free pages */ 177 unsigned long nr_migratepages; /* Number of pages to migrate */ | 1/* internal.h: mm/ internal definitions 2 * 3 * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved. 4 * Written by David Howells (dhowells@redhat.com) 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version --- 161 unchanged lines hidden (view full) --- 170 * are moved to the end of a zone during a compaction run and the run 171 * completes when free_pfn <= migrate_pfn 172 */ 173struct compact_control { 174 struct list_head freepages; /* List of free pages to migrate to */ 175 struct list_head migratepages; /* List of pages being migrated */ 176 unsigned long nr_freepages; /* Number of isolated free pages */ 177 unsigned long nr_migratepages; /* Number of pages to migrate */ |
178 unsigned long total_migrate_scanned; 179 unsigned long total_free_scanned; |
|
178 unsigned long free_pfn; /* isolate_freepages search base */ 179 unsigned long migrate_pfn; /* isolate_migratepages search base */ 180 unsigned long last_migrated_pfn;/* Not yet flushed page being freed */ 181 enum migrate_mode mode; /* Async or sync migration mode */ 182 bool ignore_skip_hint; /* Scan blocks even if marked skip */ 183 bool ignore_block_suitable; /* Scan blocks considered unsuitable */ 184 bool direct_compaction; /* False from kcompactd or /proc/... */ 185 bool whole_zone; /* Whole zone should/has been scanned */ --- 306 unchanged lines hidden --- | 180 unsigned long free_pfn; /* isolate_freepages search base */ 181 unsigned long migrate_pfn; /* isolate_migratepages search base */ 182 unsigned long last_migrated_pfn;/* Not yet flushed page being freed */ 183 enum migrate_mode mode; /* Async or sync migration mode */ 184 bool ignore_skip_hint; /* Scan blocks even if marked skip */ 185 bool ignore_block_suitable; /* Scan blocks considered unsuitable */ 186 bool direct_compaction; /* False from kcompactd or /proc/... */ 187 bool whole_zone; /* Whole zone should/has been scanned */ --- 306 unchanged lines hidden --- |