The Linux Programming Interface

(nextflipdebug5) #1

1474 INDEX


MADV_SOFT_OFFLINE constant, 1055
MADV_UNMERGEABLE constant, 1055
MADV_WILLNEED constant, 764, 1055
madvise(), 1054–1055
prototype, 1054
RLIMIT_RSS resource limit and, 764
madvise_dontneed.c, 1434
magic SysRq key, 1300
Mahdavi, J., 1194
main thread, 622
major(), 281
example of use, 284
make program, 1442
make_zombie.c, 554, 562
makecontext(), 442
mallinfo(), 147
malloc debugging library, 147
malloc(), 140–142, 423, 1035
debugging, 146–147
example of use, 143
implementation, 144–146
diagram, 145
prototype, 141
MALLOC_CHECK_ environment variable, 146
MALLOC_TRACE environment variable, 146
mallopt(), 147, 1035
mandatory file lock, 265, 293, 1119, 1138
Mane-Wheoki, J., xl
Mann (2003), 1250, 1442
Mann, S., 1442
manual pages, 1419–1421
MAP_ANON constant, 1034
MAP_ANONYMOUS constant, 1033, 1034
example of use, 1036
MAP_FAILED constant, 1020, 1037
MAP_FIXED constant, 1033, 1040–1041, 1049
MAP_HUGETLB constant, 800, 1033
MAP_LOCKED constant, 1033, 1048
MAP_NORESERVE constant, 612, 999, 1033,
1038–1040
MAP_POPULATE constant, 1033
MAP_PRIVATE constant, 1009, 1018,
1021, 1033
example of use, 1023
MAP_SHARED constant, 1009, 1021, 1031,
1033, 1139
example of use, 1029, 1036
MAP_UNINITIALIZED constant, 1033, 1034
mapped file. See file mapping
Margolin, B., xxxviii
Marshall, P., xxxix, xl
marshalling, 1200
Mason, C., xxxix
Mathis, M., 1194
Matloff (2008), 393, 1442

Matloff, N., 1442
Matz, M., xxxix
max(), code of implementation, 51
MAX_CANON constant, 1291
MAX_INPUT constant, 1291
maximum segment lifetime (MSL),
TCP, 1274
Maximum Transmission Unit (MTU),
1182, 1185
Maxwell (1999), 24, 46, 419, 936, 994, 1442
Maxwell, S., 1442
mbind(), 801
McCann, J., 1194
McGrath, R., 47
McGraw, G., 1445
mcheck(), 146
McKusick (1984), 276, 1442
McKusick (1996), 8, 20, 1044
McKusick (1999), 20, 1442
McKusick (2005), 20, 1442
McKusick, M.K., 1442
MCL_CURRENT constant, 1051
MCL_FUTURE constant, 761, 1051
Mecklenburg (2005), 431, 1442
Mecklenburg, R., 1442
mem_segments.c, 117
memalign(), 149–150
example of use, 248
prototype, 149
memlock.c, 1052
memory footprint, 121
controlling with fork() plus wait(), 521
memory leak, 146
memory locking, 612, 800, 1012, 1033,
1047–1051
locks removed on process
termination, 533
resource limit on, 761
memory management, 22
memory mapping, 35, 225, 612,
1017–1044. See also mmap()
anonymous. See anonymous mapping
creating, 1020–1023
file-based. See file mapping
nonlinear, 1041–1043
private, 35, 1018, 1021
remapping, 1037–1038
removed on process termination, 533
shared, 35, 1018, 1021
synchronizing, 1031–1032
unmapping, 1023–1024
memory protection, 1020
changing, 1045–1047
interaction with file access mode,
1030–1031
Free download pdf