Contributors: 11
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
Mel Gorman |
22 |
45.83% |
2 |
16.67% |
Andrew Morton |
11 |
22.92% |
1 |
8.33% |
John Hubbard |
3 |
6.25% |
1 |
8.33% |
Dave Hansen |
2 |
4.17% |
1 |
8.33% |
Honggyu Kim |
2 |
4.17% |
1 |
8.33% |
Pavel Tatashin |
2 |
4.17% |
1 |
8.33% |
Peter Zijlstra |
2 |
4.17% |
1 |
8.33% |
Vlastimil Babka |
1 |
2.08% |
1 |
8.33% |
Kefeng Wang |
1 |
2.08% |
1 |
8.33% |
Greg Kroah-Hartman |
1 |
2.08% |
1 |
8.33% |
Anshuman Khandual |
1 |
2.08% |
1 |
8.33% |
Total |
48 |
|
12 |
|
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef MIGRATE_MODE_H_INCLUDED
#define MIGRATE_MODE_H_INCLUDED
/*
* MIGRATE_ASYNC means never block
* MIGRATE_SYNC_LIGHT in the current implementation means to allow blocking
* on most operations but not ->writepage as the potential stall time
* is too significant
* MIGRATE_SYNC will block when migrating pages
*/
enum migrate_mode {
MIGRATE_ASYNC,
MIGRATE_SYNC_LIGHT,
MIGRATE_SYNC,
};
enum migrate_reason {
MR_COMPACTION,
MR_MEMORY_FAILURE,
MR_MEMORY_HOTPLUG,
MR_SYSCALL, /* also applies to cpusets */
MR_MEMPOLICY_MBIND,
MR_NUMA_MISPLACED,
MR_CONTIG_RANGE,
MR_LONGTERM_PIN,
MR_DEMOTION,
MR_DAMON,
MR_TYPES
};
#endif /* MIGRATE_MODE_H_INCLUDED */