mcexec: memory policy control by environmental variable
Refs: #1470 Change-Id: I3d556cae90d31d81572b1c4e5c680e826577d428
This commit is contained in:
9
test/issues/1470/src/zoneinfo.awk
Normal file
9
test/issues/1470/src/zoneinfo.awk
Normal file
@@ -0,0 +1,9 @@
|
||||
BEGIN { id = -1; }
|
||||
/Node .*, zone\s*(Normal|DMA32)/ { id = substr($2, 1, length($2) - 1); }
|
||||
{
|
||||
if ($0 ~ keyword && id != -1) {
|
||||
printf("id: %d, nr_free_pages: %ld\n", id, $2);
|
||||
id = -1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user