1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
|
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Kernel Configuration</title>
<link rel="stylesheet" href="style.css" />
<link rel="apple-touch-icon" sizes="180x180" href="data/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="data/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="data/favicon/favicon-16x16.png">
<link rel="manifest" href="data/favicon/site.webmanifest">
<style>
code {
color: #505050;
font-size: 10px;
border: 1px solid grey;
border-radius: 3px;
padding: 1.75px;
}
</style>
</head>
<body>
<a style="text-decoration: none" href="index.html"><--</a>
<h2>Kernel Configuration Pseudo Guide</h2>
<h4>
Current base:
<a
href="https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/log/?h=linux-6.9.y"
target="_blank"
>Linux 6.9.y</a
>
</h4>
This aims to be a guide for configuring a Linux kernel for a modern x86_64
machine containing hardware commonly found in laptops, desktops, and other
consumer computers. Note, this guide will sway more minimally, meaning some
features that are not strictly required will not be enabled. All features
will be built directly into kernel, no modules. This article will not
attempt to cover all possible configuration options, as it omits entire
sections that are not relevant on such systems, as well as some
hardware-specific configuration. Please also refer to the kernel's help text
for further information on respective options. I am not a kernel developer
and nothing here is guaranteed to be functionally accurate. If you feel
anything mentioned is wrong or should be switched around, please contact me.
This article assumes some prior knowledge of your system (eg. lspci, lscpu,
lsusb, dmidecode, <code>/proc/devices</code>, etc.) and general kernel
configuration/installation, such as obtaining source, generating and
maintaining <code>.config</code>, methods of configuration, compilation, and
installation. Throughout, the following acronyms will be used
<ul>
<li>
STD: recommended/standard feature that generally should be enabled
</li>
<li>
DEV: useful for kernel development/debugging. not for general user
</li>
<li>VIRT: virtulalisation related options (vhost/vguest)</li>
<li>OLD: modern systems generally won't need these options</li>
<li>
SEC: security related options that either implicate or strengthen system
security
</li>
</ul>
<a href="#top_level">top level options</a><br />
<a href="#general_setup">general setup</a><br />
<a href="#processor_type_feat">processor type and features</a><br />
<a href="#mitigations_vulnerability"
>mitigations for speculative execution vulnerabilities</a
><br />
<a href="#power_management">power management and acpi options</a><br />
<a href="#bus_options">bus options</a><br />
<a href="#binary_emulation">binary emulations</a><br />
<a href="#arch_dependent">general architecture-dependent options</a><br />
<a href="#block_layer">enable the block layer</a><br />
<a href="#executable_file">executable file formats</a><br />
<a href="#memory_management">memory management options</a><br />
<a href="#networking_support">networking support</a><br />
<a href="#file_systems">file systems</a><br />
<a href="#security_options">security options</a><br />
<a href="#cryptographic_api">cryptographic api</a><br />
<a href="#library_routines">library routines</a><br />
<a href="#kernel_hacking">kernel hacking</a><br />
<div id="top_level">
<h3>Top Level Options</h3>
<ul>
<li>64-bit kernel (<code>CONFIG_64BIT</code>): Y, STD</li>
<li>
Mitigations for speculative execution vulnerabilities
(<code>CONFIG_SPECULATION_MITIGATIONS</code>): Y, STD
</li>
<li>
Virtualization (<code>CONFIG_VIRTUALIZATION</code>): N, VIRT, unless
needed
</li>
<li>
Enable loadable module support (<code>CONFIG_MODULES</code>): N,
everything built into kernel
</li>
<li>
Enable the block layer (<code>CONFIG_BLOCK</code>): Y, STD, need to
mount disks
</li>
<li>
Networking support (<code>CONFIG_NET</code>): Y, unless no need for
network
</li>
<li>Cryptographic API (<code>CONFIG_CRYPTO</code>): Y, SEC</li>
</ul>
</div>
<div id="general_setup">
<h3>General setup</h3>
<ul>
<li>
Compile also drivers which will not load
(<code>CONFIG_COMPILE_TEST</code>): N, DEV
</li>
<li>
Compile the kernel with warnings as errors
(<code>CONFIG_WERROR</code>): Y, STD
</li>
<li>
Local version - append to kernel release
(<code>CONFIG_LOCALVERSION</code>): empty, useful for
<a href="https://git-scm.com/docs/git-bisect">git bisect</a>
</li>
<li>
Automatically append version information
(<code>CONFIG_LOCALVERSION_AUTO</code>): N, DEV
</li>
<li>Build ID Salt (<code>CONFIG_BUILD_SALT</code>): empty, SEC</li>
<li>Kernel compression mode: ZSTD or Gzip for compatibility</li>
<li>
Default init path (<code>CONFIG_DEFAULT_INIT</code>): empty, EMB
</li>
<li>
Default hostname (<code>CONFIG_DEFAULT_HOSTNAME</code>): empty, entre
your machine's name if you'd like
</li>
<li>System V IPC (<code>CONFIG_SYSVIPC</code>): Y, STD</li>
<li>
POSIX Message Queues (<code>CONFIG_POSIX_MQUEUE</code>): N, not
strictly necessary
</li>
<li>
General notification queue (<code>CONFIG_WATCH_QUEUE</code>): N, not
strictly necessary
</li>
<li>
Enable process_vm_readv/writev syscalls
(<code>CONFIG_CROSS_MEMORY_ATTACH</code>): N, not strictly necessary
</li>
<li>uselib syscall (<code>CONFIG_USELIB</code>): N, OLD</li>
<li>
Auditing support (<code>CONFIG_AUDIT</code>): N, not strictly
necessary
</li>
<li>
Timers subsystem
<ul>
<li>Timer tick handling: Idle dynticks system (tickless idle)</li>
<li>
Old Idle dynticks config (<code>CONFIG_NO_HZ</code>): N, OLD
</li>
<li>
High Resolution Timer Support
(<code>CONFIG_HIGH_RES_TIMERS</code>): Y, STD
</li>
<li>
Clocksource watchdog maximum allowable skew
(<code>CONFIG_CLOCKSOURCE_WATCHDOG_MAX_SKEW_US</code>): 100
</li>
</ul>
</li>
<li>
BPF subsystem
<ul>
<li>
Enable bpf() system call (<code>CONFIG_BPF_SYSCALL</code>): N, not
necessary if you do not have any programs that utilise
</li>
</ul>
</li>
<li>Preemption Model: Preemptible Kernel (Low-Latency Desktop)</li>
<li>
Preemption behaviour defined on boot
(<code>CONFIG_PREEMPT_DYNAMIC</code>): N
</li>
<li>
Core Scheduling for SMT (<code>CONFIG_SCHED_CORE</code>): Y, STD
</li>
<li>
CPU/Task time and stats accounting
<ul>
<li>Cputime accounting: Simple tick based cputime accounting</li>
<li>
Fine granularity task level IRQ time accounting
(<code>CONFIG_IRQ_TIME_ACCOUNTING</code>): N, DEV
</li>
<li>
BSD Process Accounting (<code>CONFIG_BSD_PROCESS_ACCT</code>): N
</li>
<li>
Export task/process statistics through netlink
(<code>CONFIG_TASKSTATS</code>): N
</li>
<li>
Pressure stall information tracking (<code>CONFIG_PSI</code>): N
</li>
</ul>
</li>
<li>CPU isolation (<code>CONFIG_CPU_ISOLATION</code>): N, EMB</li>
<li>
RCU subsystem
<ul>
<li>
Make expert-level adjustments to RCU configuration
(<code>CONFIG_RCU_EXPERT</code>): N, DEV
</li>
</ul>
</li>
<li>Kernel .config support (<code>CONFIG_IKCONFIG</code>): Y, STD</li>
<li>
Enable access to .config through /proc/config.gz
(<code>CONFIG_IKCONFIG_PROC</code>): Y, STD
</li>
<li>
Enable kernel headers through /sys/kernel/kheaders.tar.xz
(<code>CONFIG_IKHEADERS</code>): N
</li>
<li>Kernel log buffer size (<code>CONFIG_LOG_BUF_SHIFT</code>): 18</li>
<li>
CPU kernel log buffer size contribution
(<code>CONFIG_LOG_CPU_MAX_BUF_SHIFT</code>): 12
</li>
<li>
Scheduler features
<ul>
<li>
Enable utilization clamping for RT/FAIR tasks
(<code>CONFIG_UCLAMP_TASK</code>): N, DEV
</li>
</ul>
</li>
<li>
Control Group support (<code>CONFIG_CGROUPS</code>): Y, STD
<ul>
<li>
Favor dynamic modification latency reduction
(<code>CONFIG_CGROUP_FAVOR_DYNMODS</code>): N
</li>
<li>Memory controller (<code>CONFIG_MEMCG</code>): Y, STD</li>
<li>IO controller (<code>CONFIG_BLK_CGROUP</code>): Y, STD</li>
<li>
CPU controller (<code>CONFIG_CGROUP_SCHED</code>): Y, STD
<ul>
<li>
Group scheduling for SCHED_OTHER
(<code>FAIR_GROUP_SCHED</code>): Y, STD
</li>
<li>
CPU bandwidth provisioning for FAIR_GROUP_SCHED
(<code>CONFIG_CFS_BANDWIDTH</code>): N
</li>
<li>
Group scheduling for SCHED_RR/FIFO
(<code>CONFIG_RT_GROUP_SCHED</code>): N
</li>
</ul>
</li>
<li>PIDs controller (<code>CONFIG_CGROUP_PIDS</code>): N</li>
<li>RDMA controller (<code>CONFIG_CGROUP_RDMA</code>): N</li>
<li>Freezer controller (<code>CONFIG_CGROUP_FREEZER</code>): N</li>
<li>
Cpuset controller (<code>CONFIG_CPUSETS</code>): N, only useful on
NUMA machine
</li>
<li>Device Controller (<code>CONFIG_CGROUP_DEVICE</code>): N</li>
<li>
Simple CPU accounting controller
(<code>CONFIG_CGROUP_CPUACCT</code>): Y, STD
</li>
<li>Perf controller (<code>CONFIG_CGROUP_PERF</code>): N</li>
<li>
Misc resource controller (<code>CONFIG_CGROUP_MISC</code>): Y
</li>
<li>Debug controller (<code>CONFIG_CGROUP_DEBUG</code>): N, DEV</li>
</ul>
</li>
<li>
Namespaces support (<code>CONFIG_NAMESPACES</code>): Y, STD, used
heavily by web browsers
<ul>
<li>UTS namespace (<code>CONFIG_UTS_NS</code>): Y</li>
<li>TIME namespace (<code>CONFIG_TIME_NS</code>): Y</li>
<li>IPC namespace (<code>CONFIG_IPC_NS</code>): Y</li>
<li>User namespace (<code>CONFIG_USER_NS</code>): Y</li>
<li>PID Namespaces (<code>CONFIG_PID_NS</code>): Y</li>
<li>Network namespace (<code>CONFIG_NET_NS</code>): Y</li>
</ul>
</li>
<li>
Checkpoint/restore support (<code>CONFIG_CHECKPOINT_RESTORE</code>):
N, VIRT
</li>
<li>
Automatic process group scheduling
(<code>CONFIG_SCHED_AUTOGROUP</code>): N, OLD, Systemd/OpenRC handle
this
</li>
<li>
Kernel -> userspace relay support (<code>CONFIG_RELAY</code>): Y, STD
</li>
<li>
Initial RAM filesystem and RAM disk
(<code>CONFIG_BLK_DEV_INITRD</code>): N, not strictly necessary
</li>
<li>Boot config support (<code>CONFIG_BOOT_CONFIG</code>): N, EMB</li>
<li>
Preserve cpio archive mtimes in initramfs
(<code>CONFIG_INITRAMFS_PRESERVE_MTIME</code>): N, without
initramfs...
</li>
<li>Compiler optimization level: Optimize for performance (-O2)</li>
<li>
Configure standard kernel features (<code>CONFIG_EXPERT</code>): N,
DEV/EMB, mostly syscalls
</li>
<li>Enable kcmp() system call (<code>CONFIG_KCMP</code>): Y</li>
<li>Enable rseq() system call (<code>CONFIG_RSEQ</code>): Y</li>
<li>
Enable cachestat() system call
(<code>CONFIG_CACHESTAT_SYSCALL</code>): Y
</li>
<li>
Enabled debugging of rseq() system call
(<code>CONFIG_DEBUG_RSEQ</code>): N, DEV
</li>
<li>PC/104 support (<code>CONFIG_PC104</code>): N, EMB</li>
<li>
Kernel Performance Events and Counters
<ul>
<li>
Kernel Performance events and counters
(<code>CONFIG_PERF_EVENTS</code>): Y, STD
</li>
<li>
Debug: use vmalloc to back perf mmap() buffers
(<code>CONFIG_DEBUG_PERF_USE_VMALLOC</code>): N, DEV
</li>
</ul>
</li>
<li>Profiling support (<code>CONFIG_PROFILING</code>): N, DEV</li>
<li>Kexec and crash features: None</li>
</ul>
</div>
<div id="processor_type_feat">
<h3>Processor type and features</h3>
<ul>
<li>
Symmetric multi-processing support (<code>CONFIG_SMP</code>): Y, STD,
all modern CPUs are multi-core
</li>
<li>Enable MPS table (<code>CONFIG_X86_MPARSE</code>): N, OLD</li>
<li>
x86 CPU resource control support
(<code>CONFIG_X86_CPU_RESCTRL</code>): N, VIRT
</li>
<li>
Support for extended (non-PC) x86 platforms
(<code>CONFIG_X86_EXTENDED_PLATFORM</code>): N, EMB
</li>
<li>
Intel Low Power Subsystem Support
(<code>CONFIG_X86_INTEL_LPSS</code>): Y, if you have Haswell and later
CPU
</li>
<li>
AMD ACPI2Platform devices support
(<code>CONFIG_X86_AMD_PLATFORM_DEVICE</code>): N
</li>
<li>
Intel SoC IOSF Sideband support (<code>CONFIG_IOSF_MBI</code>): Y, STD
</li>
<li>
Single-depth WCHAN output
(<code>CONFIG_SCHED_OMIT_FRAME_POINTER</code>): Y, STD
</li>
<li>
Linux guest support (<code>CONFIG_HYPERVISOR_GUEST</code>): N, VIRT
</li>
<li>
Processor family: Core 2/newer Xeon (or Generic-x86-64 if unsure)
</li>
<li>
Supported processor vendors (<code>CONFIG_PROCESSOR_SELECT</code>): N,
EMB
</li>
<li>Enable DMI scanning (<code>CONFIG_DMI</code>): Y, STD</li>
<li>
Old AMD GART IOMMU support (<code>CONFIG_GART_IOMMU</code>): N, OLD
</li>
<li>
Enable Maximum number of SMP Processors and NUMA Nodes
(<code>CONFIG_MAXSMP</code>): N, DEV
</li>
<li>
Maximum number of CPUs (<code>CONFIG_NR_CPUS</code>): sockets * cores
* threads
</li>
<li>
Cluster scheduler support (<code>CONFIG_SCHED_CLUSTER</code>): Y, STD
</li>
<li>
Multi-core scheduler support (<code>CONFIG_SCHED_MC</code>): Y, STD
</li>
<li>
CPU core priorities scheduler support
(<code>CONFIG_SCHED_MC_PRIO</code>): Y, STD
</li>
<li>
Reroute for broken boot IRQs
(<code>CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS</code>): N, OLD
</li>
<li>
Machine Check / overheating reporting (<code>CONFIG_X86_MCE</code>):
Y, STD
</li>
<li>
Support for deprecated /dev/mcelog character device
(<code>CONFIG_X86_MCELOG_LEGACY</code>): N, OLD
</li>
<li>
Intel/AMD MCE features (<code>CONFIG_X86_MCE_INTEL/AMD</code>): Y,
STD, choose based on your processor
</li>
<li>
Performance monitoring
<ul>
<li>
Intel uncore performance events
(<code>CONFIG_PERF_EVENTS_INTEL_UNCORE</code>): Y, STD, for Intel
</li>
<li>
Intel/AMD rapl performance events
(<code>CONFIG_PERF_EVENTS_INTEL_RAPL</code>): Y, STD
</li>
<li>
Intel cstate performance events
(<code>CONFIG_PERF_EVENTS_INTEL_CSTATE</code>): Y, STD, for Intel
</li>
<li>
AMD Processor Power Reporting Mechanism
(<code>CONFIG_PERF_EVENTS_AMD_POWER</code>): Y, STD, for AMD
</li>
<li>
AMD Uncore performance events
(<code>CONFIG_PERF_EVENTS_AMD_POWER</code>): Y, STD, for AMD
</li>
</ul>
</li>
<li>
Enable vsyscall emulation
(<code>CONFIG_X86_VSYSCALL_EMULATION</code>): N
</li>
<li>
IOPERM and IOPL Emulation (<code>CONFIG_X86_IOPL_IOPERM</code>): N,
SEC, not strictly necessary
</li>
<li>
Late microcode loading (<code>CONFIG_MICROCODE_LATE_LOADING</code>): N
</li>
<li>
/dev/cpu/*/msr - Model-specific register support
(<code>CONFIG_X86_MSR</code>): Y, STD
</li>
<li>
/dev/cpu/*/cpuid - CPU information support
(<code>CONFIG_X86_CPUID</code>): Y, STD
</li>
<li>
Enable 5-level page tables support (<code>CONFIG_X86_5LEVEL</code>):
N, for machines with large (TBs) amounts of memory
</li>
<li>
AMD Secure Memory Encryption (SME) support
(<code>CONFIG_AMD_MEM_ENCRYPT</code>): Y, for AMD
</li>
<li>
NUMA Memory Allocation and Scheduler Support
(<code>CONFIG_NUMA</code>): N, unless you have multi socket CPU
</li>
<li>
Check for low memory corruption
(<code>CONFIG_X86_CHECK_BIOS_CORRUPTION</code>): N
</li>
<li>
MTRR (Memory Type Range Register) support (<code>CONFIG_MTRR</code>):
Y, STD
</li>
<li>
MTRR cleanup support (<code>CONFIG_MTRR_SANITIZER</code>): Y, STD
</li>
<li>
MTRR cleanup enable value (0-1)
(<code>CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT</code>): 1, for true
</li>
<li>
MTRR cleanup spare reg num (0-7)
(<code>CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT</code>): 1
</li>
<li>x86 PAT support (<code>CONFIG_X86_PAT</code>): Y, STD</li>
<li>
User Mode Instruction Prevention (<code>CONFIG_X86_UMIP</code>): Y
</li>
<li>
Indirect Branch Tracking (<code>CONFIG_X86_KERNEL_IBT</code>): N, SEC
</li>
<li>
Memory Protection Keys
(<code>CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS</code>): Y, STD
</li>
<li>TSX enable mode: auto</li>
<li>
X86 userspace shadow stack
(<code>CONFIG_X86_USER_SHADOW_STACK</code>): N, SEC
</li>
<li>EFI runtime service support (<code>CONFIG_EFI</code>): Y, STD</li>
<li>
EFI stub support (<code>CONFIG_EFI_STUB</code>): N, only if you boot
kernel directly
</li>
<li>
EFI handover protocol (<code>CONFIG_EFI_HANDOVER_PROTOCOL</code>): N,
OLD
</li>
<li>
EFI mixed-mode support (<code>CONFIG_EFI_MIXED</code>): N, only
relevant (but still unneeded) on Apple hardware
</li>
<li>
Enable EFI fake memory map (<code>CONFIG_EFI_FAKE_MEMMAP</code>): N
</li>
<li>
Export EFI runtime maps to sysfs
(<code>CONFIG_EFI_RUNTIME_MAP</code>): N
</li>
<li>
Timer frequency: 100 HZ for server, 300 HZ for laptop, 1000 HZ for
low-latency requirements
</li>
<li>
Physical address where the kernel is loaded
(<code>CONFIG_PHYSICAL_START</code>): 0x1000000
</li>
<li>
Build a relocatable kernel (<code>CONFIG_RELOCATABLE</code>): Y, STD
</li>
<li>
Randomize the address of the kernel image (KASLR)
(<code>CONFIG_RANDOMIZE_BASE</code>): Y, SEC
</li>
<li>
Alignment value to which the kernel should be aligned
(<code>CONFIG_PHYSICAL_ALIGN</code>): 0x200000
</li>
<li>
Randomize the kernel memory sections
(<code>CONFIG_RANDOMIZE_BASE</code>): Y, SEC
</li>
<li>
Physcial memory mapping padding
(<code>CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING</code>): 0x00
</li>
<li>
Linear Address Masking support (<code>CONFIG_ADDRESS_MASKING</code>):
N
</li>
<li>vsyscall table for legacy applications: None</li>
<li>
Built-in kernel command line (<code>CONFIG_CMDLINE_BOOL</code>): N,
unless booting kernel directly
</li>
<li>
Enable the LDT (local descriptor table)
(<code>CONFIG_MODIFY_LDT_SYSCALL</code>): N, EMB
</li>
<li>
Enforce strict size checking for sigalstack
(<code>CONFIG_STRICT_SIGALSTACK_SIZE</code>): N, DEV
</li>
</ul>
</div>
<div id="mitigations_vulnerability">
<h3>Mitigations for speculative execution vulnerabilities</h3>
<ul>
<li>
Remove the kernel mapping in user mode
(<code>CONFIG_PAGE_TABLE_ISOLATION</code>): Y
</li>
<li>
Avoid speculative indirect branches in kernel
(<code>CONFIG_RETPOLINE</code>): Y
</li>
<li>Enable return-thunks (<code>CONFIG_RETHUNK</code>): Y</li>
<li>
Enable UNRET on kernel entry (<code>CONFIG_CPU_UNRET_ENTRY</code>): Y
</li>
<li>
Mitigate RSB underflow with call depth tracking
(<code>CONFIG_CALL_DEPTH_TRACKING</code>): Y
</li>
<li>
Enable call thunks and call depth tracking debugging
(<code>CONFIG_CALL_RETHUNKS_DEBUG</code>): N, DEV
</li>
<li>
Enable IBPB on kernel entry (<code>CONFIG_CPU_IBPB_ENTRY</code>): Y
</li>
<li>
Enable IBRS on kernel entry (<code>CONFIG_CPU_IBRS_ENTRY</code>): Y
</li>
<li>
Mitigate speculative RAS overflow (<code>CONFIG_CPU_SRSO</code>): Y,
on AMD processors
</li>
<li>Mitigate Straight-Line-Speculation (<code>CONFIG_SLS</code>): N</li>
<li>
Force GDS Mitigation (<code>CONFIG_GDS_FORCE_MITIGATION</code>): N
</li>
</ul>
</div>
<div id="power_management">
<h3>Power management and ACPI options</h3>
<ul>
<li>
Suspend to RAM and standby (<code>CONFIG_SUSPEND</code>): Y, N for
servers
</li>
<li>
Skip kernel's sys_sync() on suspend to RAM/standby
(<code>CONFIG_SUSPEND_SKIP_SYNC</code>): N
</li>
<li>
Hibernation (aka 'suspend to disk') (<code>CONFIG_HIBERNATION</code>):
Y, if desired. N for servers
</li>
<li>Opportunistic sleep (<code>CONFIG_PM_SLEEP</code>): N, EMB</li>
<li>
Userspace opportunistic sleep
(<code>CONFIG_PM_USERSPACE_AUTOSLEEP</code>): N, EMB
</li>
<li>
User space wakeup sources interface
(<code>CONFIG_PM_WAKELOCKS</code>): N, EMB
</li>
<li>
Device power management core functionality (<code>CONFIG_PM</code>):
Y, STD
</li>
<li>
Power Management Debug Support (<code>CONFIG_PM_DEBUG</code>): N, DEV
</li>
<li>
Enable workqueue power-efficient mode by default
(<code>CONFIG_WQ_POWER_EFFICIENT_DEFAULT</code>): N
</li>
<li>
Energy Model for devices with DVFS (<code>CONFIG_ENERGY_MODEL</code>):
N
</li>
<li>
ACPI Support (<code>CONFIG_ACPI</code>): Y, STD
<ul>
<li>
AML debugger interface (<code>CONFIG_ACPI_DEBUGGER</code>): N DEV
</li>
<li>
ACPI Serial Port Console Redirection Support
(<code>CONFIG_ACPI_SPCR_TABLE</code>): N, DEV
</li>
<li>
ACPI Firmware Performance Data Table (FPDT) support
(<code>CONFIG_ACPI_FPDT</code>): Y, STD
</li>
<li>
Allow support ACPI revision to be overridden
(<code>CONFIG_ACPI_REV_OVERRIDE_POSSIBLE</code>): N
</li>
<li>
EC read/write access through /sys/kernel/debug/ec
(<code>CONFIG_ACPI_EC_DEBUGFS</code>): N, DEV
</li>
<li>AC Adapater (<code>CONFIG_ACPI_AC</code>): Y, if present</li>
<li>Battery (<code>CONFIG_ACPI_BATTERY</code>): Y, on laptops</li>
<li>Button (<code>CONFIG_ACPI_BUTTON</code>): Y</li>
<li>Video (<code>CONFIG_ACPI_VIDEO</code>): Y</li>
<li>Fan (<code>CONFIG_ACPI_FAN</code>): Y</li>
<li>
ACPI Time and Alarm (TAD) Device Support
(<code>CONFIG_ACPI_TAD</code>): Y
</li>
<li>
Dock (<code>CONFIG_ACPI_DOCK</code>): Y, if using docking station
</li>
<li>Processor (<code>CONFIG_ACPI_PROCESSOR</code>): Y</li>
<li>
Processor Aggregator
(<code>CONFIG_ACPI_PROCESSOR_AGGREGATOR</code>): Y
</li>
<li>Thermal Zone (<code>CONFIG_ACPI_THERMAL</code>): Y</li>
<li>
Custom DSDT Table file to include
(<code>CONFIG_ACPI_CUSTOM_DSDT_FILE</code>): empty
</li>
<li>Debug Statements (<code>CONFIG_ACPI_DEBUG</code>): N, DEV</li>
<li>
PCI slot detection driver (<code>CONFIG_ACPI_PCI_SLOT</code>): N,
DEV
</li>
<li>
Container and Module Devices (<code>CONFIG_ACPI_CONTAINER</code>):
Y
</li>
<li>
Smart Battery System (<code>CONFIG_ACPI_SBS</code>): Y, on laptops
</li>
<li>Hardware Error Device (<code>CONFIG_ACPI_HED</code>): Y</li>
<li>
Boottime Graphics Resource Table support
(<code>CONFIG_ACPI_BGRT</code>): N
</li>
<li>
Hardware-reduced ACPI support only
(<code>CONFIG_ACPI_REDUCED_HARDWWARE_ONLY</code>): N
</li>
<li>
ACPI Platform Error Interface (APEI)
(<code>CONFIG_ACPI_APEI</code>): Y
</li>
<li>
APEI Generic Hardware Error Source
(<code>CONFIG_ACPI_APEI_GHES</code>): Y
</li>
<li>
APEI Error Record Serialization Table (ERST) Debug Support
(<code>CONFIG_ACPI_APEI_ERST_DEBUG</code>): N, DEV
</li>
<li>
Intel DPTF (Dynamic Platform and Thermal Framework)
(<code>CONFIG_ACPI_DPTF</code>): Y, on Intel processors
</li>
<li>
ACPI configfs support (<code>CONFIG_ACPI_CONFIGFS</code>): N
</li>
<li>
ACPI Platform Firmware Runtime Update and Telemetry
(<code>CONFIG_ACPI_PFRUT</code>): N
</li>
<li>
ACPI PCC Address Space (<code>CONFIG_ACPI_PCC</code>): Y, STD, for
UEFI
</li>
<li>ACPI FFH Address Space (<code>CONFIG_ACPI_FFH</code>): N</li>
<li>
PMIC (Power Management Integrated Circuit) operation region
support (<code>CONFIG_PMIC_OPREGION</code>): N
</li>
<li>
Platform Runtime Mechanism Support
(<code>CONFIG_ACPI_PRMT</code>): Y
</li>
<li></li>
</ul>
</li>
<li>
Power Management Timer Support (<code>CONFIG_X86_PM_TIMER</code>): Y,
STD
</li>
<li>
CPU Frequency scaling
<ul>
<li>
CPU frequency transition statistics
(<code>CONFIG_CPU_FREQ_STAT</code>): N, DEV
</li>
<li>Default CPUFreq governor: performance</li>
<li>
'performance' governor
(<code>CONFIG_CPU_FREQ_GOV_PERFORMANCE</code>): Y
</li>
<li>
'powersave' governor (<code>CONFIG_CPU_FREQ_GOV_POWERSAVE</code>):
N, not strictly necessary
</li>
<li>
'userspace' governor for userspace frequency scaling
(<code>CONFIG_CPU_FREQ_GOV_USERSPACE</code>): N, not strictly
necessary
</li>
<li>
'ondemand' cpufreq policy governor
(<code>CONFIG_CPU_FREQ_GOV_ONDEMAND</code>): N
</li>
<li>
'conservative' cpufreq governor
(<code>CONFIG_CPU_FREQ_GOV_CONSERVATIVE</code>): N
</li>
<li>
'schedutil' cpufreq policy governor
(<code>CONFIG_CPU_FREQ_GOV_SCHEDUTIL</code>): Y
</li>
<li>
Intel P state control (<code>CONFIG_X86_INTEL_PSTATE</code>): Y,
on Intel processors
</li>
<li>
Processor Clocking Control interface driver
(<code>CONFIG_X86_PCC_CPUFREQ</code>): N, OLD
</li>
<li>
AMD Processor P-State driver (<code>CONFIG_X86_AMD_PSTATE</code>):
Y, on AMD processors
</li>
<li>
selftest for AMD Processor P-State driver
(<code>CONFIG_X86_AMD_PSTATE_UT</code>): N, DEV
</li>
<li>
ACPI Processor P-States driver
(<code>CONFIG_X86_ACPI_CPUFREQ</code>): Y, STD
</li>
<li>
Intel Enhanced SpeedStep
(<code>CONFIG_X86_SPEEDSTEP_CENTRINO</code>): N, OLD
</li>
<li>
Intel Pentium 4 clock modulation
(<code>CONFIG_X86_P4_CLOCKMOD</code>): N, OLD
</li>
</ul>
</li>
<li>
CPU Idle
<ul>
<li>CPU idle PM support (<code>CONFIG_CPU_IDLE</code>): Y, STD</li>
<li>
Ladder governor (for periodic timer tick)
(<code>CPU_IDLE_GOV_LADDER</code>): N
</li>
<li>
Menu governor (for tickless system)
(<code>CPU_IDLE_GOV_MENU</code>): Y
</li>
<li>
Timer events oriented governor
(<code>CONFIG_CPU_IDLE_GOV_TEO</code>): N
</li>
</ul>
</li>
<li>
Cpuidle Driver for Intel Processors (<code>CONFIG_INTEL_IDLE</code>):
Y, on Intel processors
</li>
</ul>
</div>
<div id="bus_options">
<h3>Bus options (PCI etc.)</h3>
<li>
Support mmconfig PCI space access (<code>PCI_MMCONFIG</code>): Y, STD
</li>
<li>
Read CNB20LE Host Bridge Windows
(<code>CONFIG_PCI_CNB20LE_QUIRK</code>): N
</li>
<li>
ISA bus support on modern systems (<code>CONFIG_ISA_BUS</code>): N
</li>
<li>ISA-style DMA support (<code>CONFIG_ISA_DMA_API</code>): N</li>
</div>
<div id="binary_emulation">
<h3>Binary Emulations</h3>
<li>
IA32 Emulation (<code>CONFIG_IA32_EMULATION</code>): N, unless using
32-bit applications
</li>
</div>
<div id="arch_dependent">
<h3>General architecture-dependent options</h3>
<li>
Optimize very unlikely/likely branche (<code>CONFIG_JUMP_LABEL</code>):
Y
</li>
<li>
Static key selftest (<code>CONFIG_STATIC_KEYS_SELFTEST</code>): N, DEV
</li>
<li>
Static call selftest (<code>CONFIG_STATIC_CALL_SELFTEST</code>): N, DEV
</li>
<li>
Enable seccomp to safely execute untrusted bytecode
(<code>CONFIG_SECCOMP</code>): Y, STD
</li>
<li>
Show seccomp filter cache status in /proc/pid/seccomp_cache
(<code>CONFIG_SECCOMP_CACHE_DEBUG</code>): N, DEV
</li>
<li>
Stack Protector buffer overflow detection
(<code>CONFIG_STACKPROTECTOR</code>): Y, SEC
</li>
<li>
Strong Stack Protector (<code>CONFIG_STACKPROTECTOR_STRONG</code>): Y,
SEC
</li>
<li>Link Time Optimization (LTO): None</li>
<li>
Number of bits to use for ASLR of mmap base address
(<code>CONFIG_ARCH_MMAP_RND_BITS</code>): 28
</li>
<li>
Provide system calls for 32-bit time_t
(<code>CONFIG_COMPAT_32BIT_TIME</code>): Y, STD
</li>
<li>
Use a virtually-mapped stack (<code>CONFIG_VMAP_STACK</code>): Y, SEC
</li>
<li>
Support for randomizing kernel stack offset on syscall entry
(<code>CONFIG_RANDOMIZE_KSTACK_OFFSET</code>): Y, SEC
</li>
<li>
Default state of kernel stack offset randomization
(<code>CONFIG_RANDOMIZE_KSTACK_OFFSET_DEFAULT</code>): Y, SEC
</li>
</div>
<div id="block_layer">
<h3>Enable the block layer</h3>
<li>
Legacy autoloading support (<code>CONFIG_BLOCK_LEGACY_AUTOLOAD</code>):
N, OLD
</li>
<li>
Block layer SG support v4 helper lib
(<code>CONFIG_BLK_DEV_BSGLIB</code>): N, auto enabled if needed
</li>
<li>
Block layer data integrity support
(<code>CONFIG_BLK_DEV_INTEGRITY</code>): N
</li>
<li>
Allow writing to mounted block devices
(<code>CONFIG_BLK_DEV_WRITE_MOUNTED</code>): Y, STD
</li>
<li>Zoned block device support (<code>CONFIG_BLK_DEV_ZONED</code>): N</li>
<li>
Block layer bio throttling support
(<code>CONFIG_BLK_DEV_THROTTLING</code>): N, VIRT
</li>
<li>
Enable support for block device writeback throttling
(<code>CONFIG_BLK_WBT</code>): Y
</li>
<li>
Enable writeback throttling by default (<code>CONFIG_BLK_WBT_MQ</code>):
N
</li>
<li>
Enable support for latency based cgroup IO protection
(<code>CONFIG_BLK_CGROUP_IOLATENCY</code>): N, VIRT
</li>
<li>
Enable support for cost model based cgroup IO controller
(<code>CONFIG_BLK_CGROUP_IOCOST</code>): N, VIRT
</li>
<li>
Cgroup I/O controller for assigning an I/O priority class
(<code>CONFIG_BLK_CGROUP_IOPRIO</code>): N, VIRT
</li>
<li>
Logic for interfacing with Opal enabled SEDs
(<code>CONFIG_BLK_SED_OPAL</code>): N
</li>
<li>
Enable inline encryption support in block layer
(<code>CONFIG_BLK_INLINE_ENCRYPTION</code>): N
</li>
<li>Partition Types</li>
<ul>
<li>
Advanced partition selection (<code>CONFIG_PARTITION_ADVANCED</code>):
Y
</li>
<li>
PC BIOS (MSDOS partition tables) support
(<code>CONFIG_MSDOS_PARTITION</code>): Y
</li>
<li>
EFI GUID Partition support (<code>CONFIG_EFI_PARTITION</code>): Y
</li>
<li>Select others as needed...</li>
</ul>
<li>IO Schedulers</li>
<ul>
<li>
MQ deadline I/O scheduler (<code>CONFIG_MQ_IOSCHED_DEADLINE</code>):
N, if using cgroups
</li>
<li>Kyber I/O scheduler (<code>CONFIG_MQ_IOSCHED_KYBER</code>): N</li>
<li>BFQ I/O scheduler (<code>CONFIG_IOSCHED_BFQ</code>): Y</li>
<li>
BFQ hierarchical scheduling support
(<code>CONFIG_BFQ_GROUP_IOSCHED</code>): Y, if using cgroups
</li>
<li>
BFQ IO controller debugging (<code>CONFIG_BFQ_CGROUP_DEBUG</code>): N,
DEV
</li>
</ul>
</div>
<div id="executable_file">
<h3>Executable file formats</h3>
<li>
Kernel support for ELF binaries (<code>CONFIG_BINFMT_ELF</code>): Y, STD
</li>
<li>
Write ELF core dumps with partial segments
(<code>CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS</code>): Y
</li>
<li>
Kernel support for scripts starting with #!
(<code>CONFIG_BINFMT_SCRIPT</code>): Y, STD
</li>
<li>
Kernel support for MISC binaries (<code>CONFIG_BINFMT_MISC</code>): N,
SEC
</li>
<li>Enable core dump support (<code>CONFIG_COREDUMP</code>): Y</li>
</div>
<div id="memory_management">
<h3>Memory Management options</h3>
<li>
Support for paging of anonymous memory (swap)
(<code>CONFIG_SWAP</code>): Y, STD
</li>
<li>Slab allocator options</li>
<ul>
<li>
Configure for minimal memory footprint
(<code>CONFIG_SLUB_TINY</code>): N, EMB
</li>
<li>
Allow slab caches to be merged
(<code>CONFIG_SLAB_MERGE_DEFAULT</code>): Y
</li>
<li>
Randomize slab freelist (<code>CONFIG_SLAB_FREELIST_RANDOM</code>): Y,
SEC
</li>
<li>
Harden slab freelist metadata
(<code>CONFIG_SLAB_FREELIST_HARDENED</code>): Y, SEC
</li>
<li>
Enable performance statistics (<code>CONFIG_SLUB_STATS</code>): N, DEV
</li>
<li>
Enable per cpu partial caches (<code>CONFIG_SLUB_CPU_PARTIAL</code>):
Y, on multicore systems...
</li>
<li>
Randomize slab caches for normal kmalloc
(<code>CONFIG_RANDOM_KMALLOC_CACHES</code>): N, SEC
</li>
</ul>
<li>
Page allocator randomization
(<code>CONFIG_SHUFFLE_PAGE_ALLOCATOR</code>): Y, SEC
</li>
<li>
Disable heap randomization (<code>CONFIG_COMPAT_BRK</code>): N, OLD
</li>
<li>
Sparse Memory virtual memmap (<code>CONFIG_SPARSE_VMEMMAP</code>): Y,
STD
</li>
<li>Memory hotplug (<code>MEMORY_HOTPLUG</code>): N, VIRT</li>
<li>
Allow for memory compaction (<code>CONFIG_COMPACTION</code>): Y, STD
</li>
<li>Free page reporting (<code>CONFIG_PAGE_REPORTING</code>): N, VIRT</li>
<li>
Page migration (<code>CONFIG_MIGRATION</code>): Y, auto enabled if
needed
</li>
<li>
Maximum scale factor of PCP (Per-CPU pageset) batch allocate/free
(<code>CONFIG_PCP_BATCH_SCALE_MAX</code>): 5
</li>
<li>Enable KSM for page merging (<code>CONFIG_KSM</code>): N, VIRT</li>
<li>
Low address space to protect from user allocation
(<code>CONFIG_DEFAULT_MMAP_ADDR</code>): 65536
</li>
<li>
Enable recovery from hardware memory errors
(<code>CONFIG_MEMORY_FAILURE</code>): N, unless you have ECC memory
</li>
<li>
Transparent Hugepage Support (<code>CONFIG_TRANSPARENT_HUGEPAGE</code>):
N, unless you have large amounts of memory
</li>
<li>Contiguous Memory Allocator (<code>CONFIG_CMA</code>): N</li>
<li>
Defer initialisation of struct pages to kthreads
(<code>CONFIG_DEFERRED_PAGE_INIT</code>): N
</li>
<li>
Enable idle page tracking (<code>CONFIG_IDLE_PAGE_TRACKING</code>): N
</li>
<li>Support DMA zone (<code>ZONE_DMA</code>): Y</li>
<li>Support DMA32 zone (<code>ZONE_DMA32</code>): Y</li>
<li>
Enable VM event counters /proc/vmstat
(<code>CONFIG_VM_EVENT_COUNTERS</code>): Y
</li>
<li>
Collect percpu memory statistics (<code>CONFIG_PERCPU_STATS</code>): N,
DEV
</li>
<li>
Enable a module to run time tests on dma_pool
(<code>CONFIG_DMAPOOL_TEST</code>): N, DEV
</li>
<li>Enable memfd_create() system call (<code>MEMFD_CREATE</code>): Y</li>
<li>
Enable memfd_secreat() system call (<code>CONFIG_SECRETMEM</code>): Y
</li>
<li>
Anonymous VMA name support (<code>CONFIG_ANON_VMA_NAME</code>): N, SEC
</li>
<li>
Enable userfaultfd() system call (<code>CONFIG_USERFAULTFD</code>): N,
VIRT
</li>
<li>Multi-Gen LRU (<code>CONFIG_LRU_GEN</code>): N</li>
<li>Data Access Monitoring</li>
<ul>
<li>
DAMON: Data Access Monitoring Framework (<code>CONFIG_DAMON</code>): N
</li>
</ul>
</div>
<div id="networking_support">
<h3>Network support</h3>
<li>Networking options</li>
<ul>
<li>Packet Socket (<code>CONFIG_PACKET</code>): Y, STD</li>
<li>
Packet: sockets monitoring interface
(<code>CONFIG_PACKET_DIAG</code>): Y, STD
</li>
<li>Unix domain sockets (<code>CONFIG_UNIX</code>): Y</li>
<li>
UNIX: socket monitoring interface (<code>CONFIG_UNIX_DIAG</code>)
</li>
<li>Transport Layer Security support (<code>CONFIG_TLS</code>): N</li>
<li>
Transformation user configuration interface
(<code>CONFIG_XFRM_USER</code>): N, not strictly necessary
</li>
<li>
Transformation virtual interface (<code>CONFIG_XFRM_INTERFACE</code>):
N
</li>
<li>
Transformation sub policy support
(<code>CONFIG_XFRM_SUB_POLICY</code>): N, DEV
</li>
<li>
Transformation migrate database (<code>CONFIG_XFRM_MIGRATE</code>): N,
unless on mobile
</li>
<li>
Transformation statistics (<code>CONFIG_XFRM_STATISTICS</code>):N, DEV
</li>
<li>PF_KEY sockets (<code>CONFIG_NET_KEY</code>): N</li>
<li>TCP/IP networking (<code>CONFIG_INET</code>): Y, STD</li>
<li>IP: multicasting (<code>CONFIG_IP_MULTICAST</code>): N</li>
<li>
IP: advanced router (<code>CONFIG_IP_ADVANCED_ROUTER</code>): N,
unless acting as router
</li>
<li>
IP: kernel level autoconfiguration (<code>CONFIG_IP_PNP</code>): N,
unless using PXE
</li>
<li>IP: tunneling (<code>CONFIG_INET_IPIP</code>): N</li>
<li>IP: GRE demultiplexer (<code>CONFIG_NET_IPGRE_DEMUX</code>): N</li>
<li>
IP: TCP syncookie support (<code>CONFIG_SYN_COOKIES</code>): N, SEC
</li>
<li>
Virtual (secure) IP: tunneling (<code>CONFIG_NET_IPVTI</code>): N
</li>
<li>
IP: Foo (IP protocols) over UDP (<code>CONFIG_NET_FOU</code>): N
</li>
<li>
IP: FOU encapsulation of IP tunnels
(<code>CONFIG_NET_FOU_IP_TUNNELS</code>): N
</li>
<li>IP: AH transformation (<code>CONFIG_INET_AH</code>): Y, STD</li>
<li>IP: ESP transformation (<code>CONFIG_INET_ESP</code>): Y, STD</li>
<li>
IP: ESP transformation offload (<code>CONFIG_INET_ESP_OFFLOAD</code>):
N
</li>
<li>
IP: ESP in TCP encapsulation (RFC 8229)
(<code>CONFIG_INET_ESPINTCP</code>): N
</li>
<li>IP: IPComp transformation (<code>CONFIG_INET_IPCOMP</code>): N</li>
<li>
INET: Source port perturbation table size (as power of 2)
(<code>CONFIG_INET_TABLE_PERTUB_ORDER</code>): 16
</li>
<li>
INET: socket monitoring interface (<code>CONFIG_INET_DIAG</code>): N
</li>
<li>
TCP: advanced congestion control
(<code>CONFIG_TCP_CONG_ADVANCED</code>): N
</li>
<li>
TCP: Authentication Option (RFC5925) (<code>CONFIG_TCP_AO</code>): N
</li>
<li>
TCP: MD5 Signature Option Support (RFC2385)
(<code>CONFIG_TCP_MD5SIG</code>): N
</li>
<li>The IPv6 protocol (<code>CONFIG_IPV6</code>): Y</li>
<ul>
<li>
IPv6: Router Preference (RFC 4191) support
(<code>CONFIG_IPV6_ROUTER_PREF</code>): N
</li>
<li>
IPv6: Enable RFC 4429 Optimistic DAD
(<code>CONFIG_IPV6_OPTIMISTIC_DAD</code>): N
</li>
<li>IPv6: AH transformation (<code>CONFIG_IPV6_AH</code>): Y, STD</li>
<li>
IPv6: ESP transformation (<code>CONFIG_INET6_ESP</code>): Y, STD
</li>
<li>
IPv6: ESP transformation offload
(<code>CONFIG_INET6_ESP_OFFLOAD</code>): N
</li>
<li>
IPv6: ESP in TCP encapsulation (RFC 8229)
(<code>CONFIG_INET6_ESPINTCP</code>): N
</li>
<li>
IPv6: IPComp transformation (<code>CONFIG_INET6_IPCOMP</code>): N
</li>
<li>IPv6: Mobility (<code>CONFIG_IPV6_MIP6</code>): N</li>
<li>
IPv6: Identifier Locator Addressing (ILA)
(<code>CONFIG_IPV6_ILA</code>): N
</li>
<li>
Virtual (secure) IPv6: tunneling (<code>CONFIG_IPV6_VTI</code>): N
</li>
<li>
IPv6: IPv6-in-IPv4 tunnel (SIT driver)
(<code>CONFIG_IPV6_SIT</code>): Y, STD
</li>
<li>
IPv6: IPv6 Rapid Deployment (6RD)
(<code>CONFIG_IPV6_SIT_6RD</code>): N
</li>
<li>
IPv6: IP-in-IPv6 tunnel (RFC2473) (<code>CONFIG_IPV6_TUNNEL</code>):
N
</li>
<li>
IPv6: Multiple Routing Tables
(<code>CONFIG_IPV6_MULTIPLE_TABLES</code>): N
</li>
<li>IPv6: multicast routing (<code>CONFIG_IPV6_MROUTE</code>): N</li>
<li>
IPv6: Segment Routing Header encapsulation support
(<code>CONFIG_IPV6_SEG6_LWTUNNEL</code>): N
</li>
<li>
IPv6: Segment Routing HMAC support
(<code>CONFIG_IPV6_SEG6_HMAC</code>): N
</li>
<li>
IPv6: RPL Source Routing Header support
(<code>CONFIG_IPV6_RPL_LWTUNNEL</code>): N
</li>
<li>
IPv6: IOAM Pre-allocated Trace insertion support
(<code>CONFIG_IPV6_IOAM6_LWTUNNEL</code>): N
</li>
</ul>
<li>MPTCP: Multipath TCP (<code>CONFIG_MPTCP</code>): N</li>
<li>
Security Marking (<code>CONFIG_NETWORK_SECMARK</code>): N, auto
enabled if needed
</li>
<li>
Timestamping in PHY devices
(<code>CONFIG_NETWORK_PHY_TIMESTAMPING</code>): N
</li>
<li>
Network packet filtering framework (Netfilter)
(<code>CONFIG_NETFILTER</code>): Y, this is firewall
</li>
<ul>
<li>
Advanced netfilter configuration
(<code>CONFIG_NETFILTER_ADVANCED</code>): Y
</li>
<li>Core Netfilter Configuration</li>
<ul>
<li>
Netfilter ingress support (<code>CONFIG_NETFILTER_INGRESS</code>):
Y
</li>
<li>
Netfilter egress support (<code>CONFIG_NETFILTER_EGRESS</code>): Y
</li>
<li>
Netfilter OSF over NFNETLINK interface
(<code>CONFIG_NETFILTER_NETLINK_OSF</code>): Y
</li>
<li>
Syslog packet logging (<code>CONFIG_NF_LOG_SYSLOG</code>): Y
</li>
<li>
Netfilter Xtables support (<code>CONFIG_NETFILTER_XTABLES</code>):
Y
</li>
<li>
nfmark target and match support
(<code>CONFIG_NETFILTER_XT_MARK</code>): Y
</li>
<li>N to all others</li>
</ul>
<li>IP set support (<code>CONFIG_IP_SET</code>): N</li>
<li>IP virtual server support (<code>CONFIG_IP_VS</code>): N</li>
<li>IP: Netfilter Configuration</li>
<ul>
<li>
IPv4 socket lookup support (<code>CONFIG_NF_SOCKET_IPV4</code>): Y
</li>
<li>IPv4 tproxy support (<code>NF_TPROXY_IPV4</code>): Y</li>
<li>
Netfilter IPv4 packet duplication to alternate destination
(<code>CONFIG_NF_DUP_IPV4</code>): Y
</li>
<li>ARP packet logging (<code>CONFIG_NF_LOG_ARP</code>): Y</li>
<li>IPv4 packet logging (<code>CONFIG_NF_LOG_IPV4</code>): Y</li>
<li>IPv4 packet rejection (<code>NF_REJECT_IPV4</code>): Y</li>
<li>IP tables support (<code>CONFIG_IP_NF_IPTABLES</code>): N</li>
<li>ARP tables support (<code>CONFIG_IP_NF_ARPTABLES</code>): N</li>
</ul>
<li>IPv6: Netfilter Configuration</li>
<ul>
<li>
IPv6 socket lookup support (<code>CONFIG_NF_SOCKET_IPV6</code>): Y
</li>
<li>IPv6 tproxy support (<code>NF_TPROXY_IPV6</code>): Y</li>
<li>
Netfilter IPv6 packet duplication to alternate destination
(<code>CONFIG_NF_DUP_IPV6</code>): Y
</li>
<li>IPv6 packet rejection (<code>NF_REJECT_IPV6</code>): Y</li>
<li>IPv6 packet logging (<code>CONFIG_NF_LOG_IPV6</code>): Y</li>
<li>IP6 tables support (<code>CONFIG_IP6_NF_IPTABLES</code>): N</li>
</ul>
</ul>
<li>The DCCP Protocol (<code>CONFIG_IP_DCCP</code>): N</li>
<li>
The SCTP Protocol (<code>CONFIG_IP_SCTP</code>): N, used by Telcos
</li>
<li>
The Reliable Datagram Sockets Protocol (<code>CONFIG_RDS</code>): N
</li>
<li>The TIPC Protocol (<code>CONFIG_TIPC</code>): N</li>
<li>
Asynchronous Transfer Mode (ATM) (<code>CONFIG_ATM</code>): N, used by
DSL modems
</li>
<li>
Layer Two Tunneling Protocol (L2TP) (<code>CONFIG_L2TP</code>): N,
unless using a VPN
</li>
<li>802.1d Ethernet Bridging (<code>CONFIG_BRIDGE</code>): N, VIRT</li>
<li>
Distributed Switch Architecture (<code>CONFIG_NET_DSA</code>): N
</li>
<li>802.1Q/802.1ad VLAN Support (<code>CONFIG_VLAN_8021Q</code>): N</li>
<li>
ANSI/IEEE 802.2 LLC type 2 support (<code>CONFIG_LLC2</code>): N
</li>
<li>Appletalk protocol support (<code>CONFIG_ATALK</code>): N, OLD</li>
<li>CCITT X.25 Packet Layer (<code>CONFIG_X25</code>): N</li>
<li>LAPB Data Link Driver (<code>CONFIG_LAPB</code>): N</li>
<li>Phonet protocols family (<code>CONFIG_PHONET</code>): N</li>
<li>6LoWPAN Support (<code>CONFIG_6LOWPAN</code>): N</li>
<li>
IEEE Std 802.15.4 Low-Rate Wireless Personal Area Networks Support
(<code>CONFIG_IEEE802154</code>): N
</li>
<li>QoS and/or fair queueing (<code>CONFIG_NET_SCHED</code>): Y</li>
<ul>
<li>N to all others</li>
</ul>
<li>Data Center Bridging support (<code>CONFIG_DCB</code>): N</li>
<li>DNS Resolver support (<code>CONFIG_DNS_RESOLVER</code>): N</li>
<li>
B.A.T.M.A.N Advanced Meshing Protocol
(<code>CONFIG_BATMAN_ADV</code>): N
</li>
<li>Open vSwitch (<code>CONFIG_OPENVSWITCH</code>): N</li>
<li>Virtual Socket protocol (<code>CONFIG_VSOCKETS</code>): N, VIRT</li>
<li>
NETLINK: socket monitoring interface
(<code>CONFIG_NETLINK_DIAG</code>): N
</li>
<li>MultiProtocol Label Switching (<code>CONFIG_MPLS</code>): N</li>
<li>
Network Service Header (NSH) protocol (<code>CONFIG_NET_NSH</code>): N
</li>
<li>
High-availability Seamless Redundancy (HSR & PRP)
(<code>CONFIG_HSR</code>): N
</li>
<li>
Switch (and switch-ish) device support
(<code>CONFIG_NET_SWITCHDEV</code>): N
</li>
<li>
L3 Master device support (<code>CONFIG_NET_L3_MASTER_DEV</code>): N
</li>
<li>Qualcomm IPC Router support (<code>CONFIG_QRTR</code>): N</li>
<li>NCSI interface support (<code>CONFIG_NET_NCSI</code>): N</li>
<li>
Use percpu variables to maintain network device refcount
(<code>CONFIG_PCPU_DEV_REFCNT</code>): Y
</li>
<li>
Maximum number of fragments per skb_shared_info
(<code>CONFIG_MAX_SKB_FRAGS</code>): 17
</li>
<li>
Network priority cgroup (<code>CONFIG_CGROUP_NET_PRIO</code>): N
</li>
<li>
Network classid cgroup (<code>CONFIG_CGROUP_NET_CLASSID</code>): N
</li>
</ul>
<li>Amateur Radio support (<code>CONIG_HAMRADIO</code>): N</li>
<li>
CAN bus subsystem support (<code>CONFIG_CAN</code>): N, used in vehicles
</li>
<li>
Bluetooth subsystem support (<code>CONFIG_BT</code>): Y, if desired
</li>
<ul>
<li>
Bluetooth Classic (BR/EDR) features (<code>CONFIG_BT_BREDR</code>): Y
</li>
<li>RFCOMM protocol support (<code>CONFIG_BT_RFCOMM</code>): Y</li>
<li>RFCOMM TTY support (<code>CONFIG_BT_RFCOMM_TTY</code>): N</li>
<li>BNEP protocol support (<code>CONFIG_BT_BNEP</code>): N</li>
<li>
HIDP protocol support (<code>CONFIG_BT_HIDP</code>): Y, for input
devices
</li>
<li>
Bluetooth High Speed (HS) features (<code>CONFIG_BT_HS</code>): Y
</li>
<li>
Bluetooth Low Energy (LE) features (<code>CONFIG_BT_LE</code>): Y
</li>
<li>
Bluetooth L2CAP Enhanced Credit Flow Control
(<code>CONFIG_BT_LE_L2CAP_ECRED</code>): Y
</li>
<li>Enable LED triggers (<code>CONFIG_BT_LEDS</code>): N</li>
<li>Enable Microsoft extensions (<code>CONFIG_BT_MSFTEXT</code>): N</li>
<li>
Enable Android Open Source Project extensions
(<code>CONFIG_BT_AOSPEXT</code>): N
</li>
<li>
Bluetooth self testing support (<code>CONFIG_BT_SELFTEST</code>): N,
DEV
</li>
<li>
Enable runtime option for debugging statements
(<code>CONFIG_BT_FEATURE_DEBUG</code>): N, DEV
</li>
<li>Bluetooth device drivers</li>
<ul>
<li>
HCI USB driver (<code>CONFIG_BT_HCIBTUSB</code>): Y, most bt cards
are attached via usb
</li>
<li>
Enable USB poll_sync for Bluetooth USB devices by default
(<code>CONFIG_BT_HCIBTUSB_POLL_SYNC</code>): Y, STD
</li>
<li>Enable others based on hardware...</li>
</ul>
</ul>
<li>RxRPC session sockets (<code>CONFIG_AF_RXRPC</code>): N</li>
<li>KCM sockets (<code>CONFIG_AF_KCM</code>): N</li>
<li>MCTP core protocol support (<code>CONFIG_MCTP</code>): N</li>
<li>Wireless (<code>WIRELESS</code>): Y, if needed</li>
<ul>
<li>
cfg80211 - wireless configuration API (<code>CONFIG_CFG80211</code>):
Y, STD
</li>
<li>
nl80211 testmode command (<code>CONFIG_NL80211_TESTMODE</code>): N,
DEV
</li>
<li>
enable developer warnings
(<code>CONFIG_CFG80211_DEVELOPER_WARNINGS</code>): N, DEV
</li>
<li>
cfg80211 certification onus
(<code>CONFIG_CFG80211_CERTIFICATION_ONUS</code>): N
</li>
<li>
enable powersave by default (<code>CONFIG_CFG80211_DEFAULT_PS</code>):
Y
</li>
<li>support CRDA (<code>CONFIG_CFG80211_CRDA_SUPPORT</code>): Y</li>
<li>
cfg80211 wireless extensions compatibility
(<code>CONFIG_CFG80211_WEXT</code>): N
</li>
<li>
Generic IEEE 802.11 Networking Stack (mac80211)
(<code>CONFIG_MAC80211</code>): Y, STD
</li>
<li>Minstrel (<code>CONFIG_MAC80211_RC_MINSTREL</code>): Y</li>
<li>Default rate control algorithm: Minstrel</li>
<li>
Enable mac80211 mesh networking support
(<code>CONFIG_MAC80211_MESH</code>): N, OLD
</li>
<li>Enable LED triggers (<code>CONFIG_MAC80211_LEDS</code>): N</li>
<li>
Trace all mac80211 debug messages
(<code>CONFIG_MAC80211_MESSAGE_TRACING</code>): N, DEV
</li>
<li>
Select mac80211 debugging features
(<code>CONFIG_MAC80211_DEBUG_MENU</code>): N, DEV
</li>
</ul>
<li>
RF switch subsystem support (<code>CONFIG_RFKILL</code>): N, may be
needed for some network/bt cards
</li>
<li>
Plan 9 Resource Sharing Support (9P2000) (<code>CONFIG_NET_9P</code>):
N, VIRT
</li>
<li>CAIF support (<code>CONFIG_CAIF</code>): N</li>
<li>Ceph core library (<code>CONFIG_CEPH_LIB</code>): N</li>
<li>NFC subsystem support (<code>CONFIG_NFC</code>): N, EMB</li>
<li>Packet-sampling netlink channel (<code>CONFIG_PSAMPLE</code>): N</li>
<li>
Inter-FE based on IETF ForCES InterFE LFB (<code>CONFIG_NET_IFE</code>):
N
</li>
<li>Network light weight tunnels (<code>CONFIG_LWTUNNEL</code>): N</li>
<li>Generic failover module (<code>CONFIG_FAILOVER</code>): N, VIRT</li>
<li>
Netlink interface for ethtool (<code>CONFIG_ETHTOOL_NETLINK</code>): N
</li>
</div>
<div id="file_systems">
<h3>File systems</h3>
<ul>
<li>
Validate filesystem parameter description
(<code>CONFIG_VALIDATE_FS_PARSER</code>): N
</li>
<li>
Second extended fs support (<code>CONFIG_EXT2_FS</code>): N, covered
by ext4
</li>
<li>
The Extended 3 (ext3) filesystem (<code>CONFIG_EXT3_FS</code>): N,
covered by ext4
</li>
<li>
The Extended 4 (ext4) filesystem (<code>CONFIG_EXT4_FS</code>): Y,
assuming ext4 is used
</li>
<li>
Use ext4 for ext2 file systems
(<code>CONFIG_EXT4_USE_FOR_EXT2</code>): Y, STD
</li>
<li>
Ext4 POSIX Access Control Lists
(<code>CONFIG_EXT4_FS_POSIX_ACL</code>): N
</li>
<li>
Ext4 Security Labels (<code>CONFIG_EXT4_FS_SECURITY</code>): Y, SEC
</li>
<li>Ext4 debugging support (<code>CONFIG_EXT4_DEBUG</code>): N, DEV</li>
<li>
JBD2 (ext4) deubgging support (<code>CONFIG_JBD2_DEBUG</code>): N, DEV
</li>
<li>Reiserfs support (<code>CONFIG_REISERFS_FS</code>): N, OLD</li>
<li>JFS filesystem support (<code>CONFIG_JFS_FS</code>): N</li>
<li>
XFS filesystem support (<code>CONFIG_XFS_FS</code>): N, for server
</li>
<li>GFS2 file system support (<code>CONFIG_GFS2_FS</code>): N</li>
<li>
Btrfs filesystem support (<code>CONFIG_BTRFS_FS</code>): N,
unreliable...
</li>
<li>NILFS2 file system support (<code>CONFIG_NILFS2_FS</code>): N</li>
<li>F2FS filesystem support (<code>CONFIG_F2FS_FS</code>): N</li>
<li>
bcachefs filesystem support (<code>CONFIG_BCACHEFS_FS</code>): N
</li>
<li>
Enable filesystem export operations for block IO
(<code>CONFIG_EXPORTFS_BLOCK_OPS</code>): N
</li>
<li>
Enable POSIX file locking API (<code>CONFIG_FILE_LOCKING</code>): Y
</li>
<li>
FS Encryption (Per-file encryption)
(<code>CONFIG_FS_ENCRYPTION</code>): N
</li>
<li>
FS Verity (read-only file-based authenticity protection)
(<code>CONFIG_FS_VERITY</code>): N
</li>
<li>Dnotify support (<code>CONFIG_DNOTIFY</code>): Y, STD</li>
<li>
Inotify support for userspace (<code>CONFIG_INOTIFY_USER</code>): Y,
STD
</li>
<li>
Filesystem wide access notification (<code>CONFIG_FANOTIFY</code>): Y,
STD
</li>
<li>Quota Support (<code>CONFIG_QUOTA</code>): N</li>
<li>
Kernel automounter support (<code>CONFIG_AUTOFS_FS</code>): Y, if
using systemd
</li>
<li>
FUSE (Filesystem in Userspace support) (<code>CONFIG_FUSE_FS</code>):
Y
</li>
<li>
Character device in Userspace support (<code>CONFIG_CUSE</code>): N
</li>
<li>Virtio Filesystem (<code>CONFIG_VIRTIO_FS</code>): N, VIRT</li>
<li>Overlay filesystem support (<code>CONFIG_OVERLAY_FS</code>): N</li>
<li>CD-ROM/DVD Filesystems</li>
<ul>
<li>
ISO 9660 CDROM file system support (<code>CONFIG_ISO9660_FS</code>):
N, unless you intend to mount ISO images
</li>
<li>
UDF file system support (<code>CONFIG_UDF_FS</code>): N, unless DVD
hardware is present
</li>
</ul>
<li>DOS/FAT/EXFAT/NT Filesystems</li>
<ul>
<li>MSDOS fs support (<code>CONFIG_MSDOS_FS</code>): N, OLD</li>
<li>
VFAT (Windows-95) fs support (<code>CONFIG_VFAT_FS</code>): Y,
commonly used by USB storage
</li>
<li>
Default codepage for FAT (<code>CONFIG_FAT_DEFAULT_CODEPAGE</code>):
437, unless in Russia/Asia
</li>
<li>
Default iocharset for FAT
(<code>CONFIG_FAT_DEFAULT_IOCHARSET</code>): ios8859-1
</li>
<li>
Enable FAT UTF-8 option by default
(<code>CONFIG_FAT_DEFAULT_UTF8</code>): N
</li>
<li>exFAT filesystem support (<code>CONFIG_EXFAT_FS</code>): N</li>
<li>
NTFS file system support (<code>CONFIG_NTFS_FS</code>): N, Windows
disks
</li>
<li>
NTFS debugging support (<code>CONFIG_NTFS_DEBUG</code>): N, DEV
</li>
<li>NTFS writesupport (<code>CONFIG_NTFS_RW</code>): N</li>
<li>
NTFS Read-Write file system support (<code>CONFIG_NTFS3_FS</code>):
N
</li>
</ul>
<li>Pseudo filesystems</li>
<ul>
<li>
/proc file system support (<code>CONFIG_PROC_FS</code>): Y, STD
</li>
<li>/proc/kcore support (<code>CONFIG_PROC_KCORE</code>): N, SEC</li>
<li>
Sysctl support (/proc/sys) (<code>CONFIG_PROC_SYSCTL</code>): Y
</li>
<li>
Enable /proc page monitoring
(<code>CONFIG_PROC_PAGE_MONITOR</code>): Y
</li>
<li>sysfs file system support (<code>CONFIG_SYSFS</code>): Y</li>
<li>
Tmpfs virtual memory file system support (former shm fs)
(<code>CONFIG_TMPFS</code>): Y, STD
</li>
<li>
Tmpfs POSIX Access Control Lists
(<code>CONFIG_TMPFS_POSIX_ACL</code>): Y
</li>
<li>
Tmpfs extended attributes (<code>CONFIG_TMPFS_XATTR</code>): Y, STD
</li>
<li>
Use 64-bit ino_t by default in tmpfs
(<code>CONFIG_TMPFS_INODE64</code>): N
</li>
<li>Tmpfs quota support (<code>CONFIG_TMPFS_QUOTA</code>): N</li>
<li>
HugeTLB file system support (<code>CONFIG_HUGETLBFS</code>): N,
irrelevant due to THP
</li>
<li>
Userspace-driven configuration filesystem
(<code>CONFIG_CONFIGFS_FS</code>): N
</li>
<li>
EFI Variable filesystem (<code>CONFIG_EFIVAR_FS</code>): Y, STD
</li>
</ul>
<li>
Miscellaneous filesystems (<code>CONFIG_MISC_FILESYSTEMS</code>): N
</li>
<li>
Network File Systems (<code>CONFIG_NETWORK_FILESYSTEMS</code>): N,
unless needed
</li>
<li>Native language support (<code>CONFIG_NLS</code>): Y</li>
<ul>
<li>Default NLS Option (<code>CONFIG_NLS_DEFAULT</code>): utf8</li>
<li>
Codepage 437 (United States, Canada)
(<code>CONFIG_NLS_CODEPAGE_437</code>): Y
</li>
<li>ASCII (United States) (<code>CONFIG_NLS_ASCII</code>): Y</li>
<li>NLS UTF-8 (<code>CONFIG_NLS_UTF8</code>): Y</li>
<li>Select others as needed</li>
</ul>
<li>
UTF-8 normalization and casefolding support
(<code>CONFIG_UNICODE</code>): N
</li>
</ul>
</div>
<div id="security_options">
<h3>Security Options</h3>
<ul>
<li>
Enable access key retention support (<code>CONFIG_KEYS</code>): Y
</li>
<li>
Enable temporary caching of the last request_key() result
(<code>CONFIG_KEYS_REQUEST_CACHE</code>): N
</li>
<li>
Enable register of persistent per-UID keyrings
(<code>CONFIG_PERSISTENT_KEYRINGS</code>): N
</li>
<li>TRUSTED KEYS (<code>CONFIG_TRUSTED_KEYS</code>): N, SEC</li>
<li>ENCRYPTED KEYS (<code>CONFIG_ENCRYPTED_KEYS</code>): N, SEC</li>
<li>
Diffie-Hellman operations on retained keys
(<code>CONFIG_KEY_DH_OPERATIONS</code>): N
</li>
<li>
Restrict unprivileged access to the kernel syslog
(<code>CONFIG_SECURITY_DMESG_RESTRICT</code>): N, unless you limit
dmesg access
</li>
<li>
Enable different security models (<code>CONFIG_SECURITY</code>): N,
SEC
</li>
<li>
Enable the securityfs filesystem (<code>CONFIG_SECURITYFS</code>): N
</li>
<li>
Enable Intel(R) Trusted Execution Technology
(<code>CONFIG_INTEL_TXT</code>): N
</li>
<li>
Harden memory copies between kernel and userspace
(<code>CONFIG_HARDENED_USERCOPY</code>): Y, SEC
</li>
<li>
Harden common str/mem functions against buffer overflows
(<code>CONFIG_FORTIFY_SOURCE</code>): Y, SEC
</li>
<li>
Force all usermode helper calls through a single binary
(<code>CONFIG_STATIC_USERMODEHELPER</code>): N
</li>
<li>
First legacy 'major LSM' to be initialized: Unix Discretionary Access
Controls (<code>DEFAULT_SECURITY_DAC</code>)
</li>
<li>
Ordered list of enabled LSMs (<code>LSM</code>):
yama,loadpin,safesetid,integrity
</li>
<li>Kernel hardening options</li>
<ul>
<li>Hardening of kernel data structures</li>
<ul>
<li>
Check integrity of linked list manipulation
(<code>CONFIG_LIST_HARDENED</code>): Y
</li>
<li>
Trigger a BUG when data corruption is detected
(<code>CONFIG_BUG_ON_DATA_CORRUPTION</code>): Y
</li>
</ul>
<li>
Randomize layout of sensitive kernel structures: Disable structure
layout randomization (<code>RANDSTRUCT_NONE</code>)
</li>
</ul>
</ul>
</div>
<div id="cryptographic_api">
<h3>Cryptographic API</h3>
<ul>
<li>Crypto core or helper</li>
<ul>
<li>
Cryptographic algorithm manager
(<code>CONFIG_CRYPTO_MANAGER</code>): Y, STD
</li>
<li>
Userspace cryptographic algorithm configuration
(<code>CONFIG_CRYPTO_USER</code>): N
</li>
<li>
Disable run-time self tests
(<code>CONFIG_CRYPTO_MANAGER_DISABLE_TESTS</code>): Y
</li>
<li>Null algorithms (<code>CONFIG_CRYPTO_NULL</code>): Y</li>
<li>Parallel crypto engine (<code>CONFIG_CRYPTO_PCRYPT</code>): N</li>
<li>
Software async crypto daemon (<code>CONFIG_CRYPTO_CRYPTD</code>): N
</li>
<li>Authenc support (<code>CONFIG_CRYPTO_AUTHENC</code>): Y</li>
<li>Testing module (<code>CONFIG_CRYPTO_TEST</code>): N, DEV</li>
</ul>
<li>Public-key cryptography</li>
<ul>
<li>
RSA (Rivest-Shamir-Adleman) (<code>CONFIG_CRYPTO_RSA</code>): Y, STD
</li>
<li>DH (Diffie-Hellman) (<code>CONFIG_CRYPTO_DH</code>): N</li>
<li>
ECDH (Elliptic Curve Diffie-Hellman)
(<code>CONFIG_CRYPTO_ECDH</code>): Y
</li>
<li>
ECDSA (Elliptic Curve Digital Signature Algorithm)
(<code>CONFIG_CRYPTO_ECDSA</code>): N
</li>
<li>
EC-RDSA (Elliptic Curve Russian Digital Signature Algorithm)
(<code>CONFIG_CRYPTO_ECRDSA</code>): N
</li>
<li>SM2 (ShangMi 2) (<code>CONFIG_CRYPTO_SM2</code>): N</li>
<li>Curve25519 (<code>CONFIG_CRYPTO_CURVE25519</code>): N</li>
</ul>
<li>Block ciphers</li>
<ul>
<li>
AES (Advanced Encryption Standard) (<code>CONFIG_CRYPTO_AES</code>):
Y, STD
</li>
<li>
AES (Advanced Encryption standard) (fixed time)
(<code>CONFIG_CRYPTO_AES_TI</code>): N
</li>
<li>ARIA (<code>CONFIG_CRYPTO_ARIA</code>): N</li>
<li>Blowfish (<code>CONFIG_CRYPTO_BLOWFISH</code>): N</li>
<li>Camellia (<code>CONFIG_CRYPTO_CAMELLIA</code>): N</li>
<li>CAST5 (CAST-128) (<code>CONFIG_CRYPTO_CAST5</code>): N</li>
<li>CAST6 (CAST-256) (<code>CONFIG_CRYPTO_CAST6</code>): N</li>
<li>DES and Triple DES EDE (<code>CONFIG_CRYPTO_DES</code>): N</li>
<li>FCrypt (<code>CONFIG_CRYPTO_FCRYPT</code>): N</li>
<li>Serpent (<code>CONFIG_CRYPTO_SEPRENT</code>): N</li>
<li>SM4 (ShangMi 4) (<code>CONFIG_CRYPTO_SM4_GENERIC</code>): N</li>
<li>Twofish (<code>CONFIG_CRYPTO_TWOFISH</code>): N</li>
</ul>
<li>Length-preserving ciphers and modes</li>
<ul>
<li>Adiantum (<code>CONFIG_CRYPTO_ADIANTUM</code>): N</li>
<li>ChaCha (<code>CONFIG_CRYPTO_CHACHA20</code>): N</li>
<li>
CBC (Cipher Block Chaining) (<code>CONFIG_CRYPTO_CBC</code>): Y, STD
</li>
<li>CTR (Counter) (<code>CONFIG_CRYPTO_CTR</code>): Y, STD</li>
<li>
CTS (Cipher Text Stealing) (<code>CONFIG_CRYPTO_CTS</code>): N
</li>
<li>
ECB (Electronic Codebook) (<code>CONFIG_CRYPTO_ECB</code>): Y, STD
</li>
<li>HCTR2 (<code>CONFIG_CRYPTO_HCTR2</code>): N</li>
<li>KW (AES Key Wrap) (<code>CONFIG_CRYPTO_KEYWRAP</code>): N</li>
<li>
PCBC (Propagating Cipher Block Chaining)
(<code>CONFIG_CRYPTO_PCBC</code>): N
</li>
<li>
XTS (XOR Encrypt XOR with ciphertext stealing)
(<code>CONFIG_CRYPTO_XTS</code>): N
</li>
</ul>
<li>AEAD (authenticated encryption with associated data) ciphers</li>
<ul>
<li>AEGIS-128 (<code>CONFIG_CRYPTO_AEGIS128</code>): N</li>
<li>
ChaCha20-Poly1305 (<code>CONFIG_CRYPTO_CHACHA20POLY1305</code>): N
</li>
<li>
CCM (Counter with Cipher Block Chaining-MAC)
(<code>CONFIG_CRYPTO_CCM</code>): Y
</li>
<li>
GCM (Galois/Counter Mode) and GMAC (GCM MAC)
(<code>CONFIG_CRYPTO_GCM</code>): Y
</li>
<li>
Sequence Number IV Generator (<code>CONFIG_CRYPTO_SEQIV</code>): Y
</li>
<li>
Encrypted Chain IV Generator (<code>CONFIG_CRYPTO_ECHAINIV</code>):
Y
</li>
<li>
Encrypted Salt-Sector IV Generator
(<code>CONFIG_CRYPTO_ESSIV</code>): N
</li>
</ul>
<li>Hashes, digests, and MACs</li>
<ul>
<li>
BLAKE2b (<code>CONFIG_CRYPTO_BLAKE2B</code>): N, unless using btrfs
</li>
<li>CMAC (Cipher-based MAC) (<code>CONFIG_CRYPTO_CMAC</code>): Y</li>
<li>GHASH (<code>CONFIG_CRYPTO_GHASH</code>): Y</li>
<li>HMAC (Keyed-Hash MAC) (<code>CONFIG_CRYPTO_HMAC</code>): Y</li>
<li>MD4 (<code>CONFIG_CRYPTO_MD4</code>): N, OLD</li>
<li>MD5 (<code>CONFIG_CRYPTO_MD5</code>): Y</li>
<li>Miachel MIC (<code>CONFIG_CRYPTO_MICHAEL_MIC</code>): N</li>
<li>Poly1305 (<code>CONFIG_CRYPTO_POLY1305</code>): N</li>
<li>RIPEMD-160 (<code>CONFIG_CRYPTO_RMD160</code>): N</li>
<li>SHA-1 (<code>CONFIG_CRYPTO_SHA1</code>): N</li>
<li>SHA-224 and SHA-256 (<code>CONFIG_CRYPTO_SHA256</code>): Y</li>
<li>SHA-384 and SHA-512 (<code>CONFIG_CRYPTO_SHA512</code>): Y</li>
<li>SHA-3 (<code>CONFIG_CRYPTO_SHA3</code>): Y</li>
<li>SM3 (ShangMi 3) (<code>CONFIG_CRYPTO_SM3_GENERIC</code>): N</li>
<li>Streebog (<code>CONFIG_CRYPTO_STREEBOG</code>): N</li>
<li>VMAC (<code>CONFIG_CRYPTO_VMAC</code>): N</li>
<li>Whirlpool (<code>CONFIG_CRYPTO_WP512</code>): N</li>
<li>
XCBC-MAC (Extended Cipher Block Chaining MAC)
(<code>CONFIG_CRYPTO_XCBC</code>): N
</li>
<li>
xxHash (<code>CONFIG_CRYPTO_XXHASH</code>): N, unless using btrfs
</li>
</ul>
<li>CRCs (cyclic redundancy checks)</li>
<ul>
<li>
CRC32c (<code>CONFIG_CRYPTO_CRC32C</code>): Y, used by many
filesystems
</li>
<li>CRC32 (<code>CONFIG_CRYPTO_CRC32</code>): N</li>
<li>CRCT10DIF (<code>CONFIG_CRYPTO_CRCT10DIF</code>): N</li>
<li>
CRC64 based on Rocksoft Model algorithm
(<code>CONFIG_CRYPTO_CRC64_ROCKSOFT</code>): Y
</li>
</ul>
<li>Compression</li>
<ul>
<li>Deflate (<code>CONFIG_CRYPTO_DEFLATE</code>): N</li>
<li>LZO (<code>CONFIG_CRYPTO_LZO</code>): N</li>
<li>842 (<code>CONFIG_CRYPTO_842</code>): N</li>
<li>LZ4 (<code>CONFIG_CRYPTO_LZ4</code>): N</li>
<li>LZ4HC (<code>CONFIG_CRYPTO_LZ4HC</code>): N</li>
<li>Zstd (<code>CONFIG_CRYPTO_ZSTD</code>): Y</li>
</ul>
<li>Random number generation</li>
<ul>
<li>
ANSI PRNG (Pseudo Random Number Generator)
(<code>CONFIG_CRYPTO_ANSI_CPRNG</code>): N
</li>
<li>
NIST SP800-90A DRBG (Deterministic Random Bit Generator)
(<code>CONFIG_CRYPTO_DRBG_MENU</code>): Y
</li>
<li>
CPU Jitter: Non-Deterministic RNG (Random Number Generator)
(<code>CONFIG_CRYPTO_JITTERENTROPY</code>): Y
</li>
</ul>
<li>Userspace interface</li>
<ul>
<li>None</li>
</ul>
<li>Accelerated Cryptographic Algorithms for CPU (x86)</li>
<ul>
<li>None</li>
</ul>
<li>
Hardware crypto devices (<code>CONFIG_CRYPTO_HW</code>): N, unless
present
</li>
<li>Asymmetric (public-key cryptographic) key type</li>
<ul>
<li>
Asymmetric public-key crypto algorithm subtype
(<code>CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE</code>): Y
</li>
<li>
X.509 certificate parser
(<code>CONFIG_X509_CERTIFICATE_PARSER</code>): Y
</li>
<li>
PKCS#8 private key parser
(<code>CONFIG_PKCS8_PRIVATE_KEY_PARSER</code>): N
</li>
<li>
PKCS#7 message parser (<code>CONFIG_PKCS7_MESSAGE_PARSER</code>): Y
</li>
<li>
PKCS#7 testing key type (<code>CONFIG_PKCS7_TEST_KEY</code>): N
</li>
<li>
Support for PE file signature verification
(<code>CONFG_SIGNED_PE_FILE_VERIFICATION</code>): N
</li>
<li>
Run FIPS selftests on the X.509+PKCS7 signature verification
(<code>CONFIG_FIPS_SIGNATURE_SELFTEST</code>): N
</li>
</ul>
<li>Certificates for signature checking</li>
<ul>
<li>
Provide system-wide ring of trusted keys
(<code>CONFIG_SYSTEM_TRUSTED_KEYRING</code>): Y
</li>
<li>
Additional X.509 keys for default system keyring
(<code>CONFIG_SYSTEM_TRUSTED_KEYS</code>): N
</li>
<li>
Reserve area for inserting a certificate without recompiling
(<code>CONFIG_SYSTEM_EXTRA_CERTIFICATE</code>): N
</li>
<li>
Provide a keyring to which extra trustable keys may be added
(<code>CONFIG_SECONDARY_TRUSTED_KEYRING</code>): N
</li>
<li>
Provide system-wide ring of blacklisted keys
(<code>CONFIG_SYSTEM_BLACKLIST_KEYRING</code>): N
</li>
</ul>
</ul>
</div>
<div id="library_routines">
<h3>Library routines</h3>
The system will automatically enable the necessary things here. The
following are generally what's needed.
<ul>
<li>CORDIC algorithm (<code>CONFIG_CORDIC</code>): Y</li>
<li>CRC16 functions (<code>CONFIG_CRC16</code>): Y</li>
<li>
CRC calculation for the Rocksoft model CRC64
(<code>CONFIG_CRC64_ROCKSOFT</code>): Y
</li>
<li>CRC32/CRC32c functions (<code>CONFIG_CRC32</code>): Y</li>
<li>CRC64 functions (<code>CONFIG_CRC64</code>): Y</li>
</ul>
</div>
<div id="kernel_hacking">
<h3>Kernel hacking</h3>
Most options here are development related, but some offer security
enhancements.
<ul>
<li>printk and dmesg options</li>
<ul>
<li>
Show timing information on printks
(<code>CONFIG_PRINTK_TIME</code>): Y
</li>
<li>
Show caller information on printks
(<code>CONFIG_PRINTK_CALLER</code>): N
</li>
<li>
Show build ID information in stacktraces
(<code>CONFIG_STACKTRACE_BUILD_ID</code>): N
</li>
<li>
Default console loglevel (1-15)
(<code>CONFIG_CONSOLE_LOGLEVEL_DEFAULT</code>): 7, can be lowered to
silence chatty programs
</li>
<li>
quiet console loglevel (1-15)
(<code>CONFIG_CONSOLE_LOGLEVEL_QUIET</code>): 4
</li>
<li>
Default message log level (1-7)
(<code>CONFIG_MESSAGE_LOGLEVEL_DEFAULT</code>): 4
</li>
<li>
Delay each boot printk message by N milliseconds
(<code>CONFIG_BOOT_PRINTK_DELAY</code>): N, unless slow booting
system
</li>
<li>
Enable dynamic printk() support (<code>CONFIG_DYNAMIC_DEBUG</code>):
N
</li>
<li>
Enable core function of dynamic debug support
(<code>CONFIG_DYNAMIC_DEBUG_CORE</code>): N
</li>
<li>
Support symbolic error names in printf
(<code>CONFIG_SYMBOLIC_ERRNAME</code>): Y
</li>
<li>
Verbose BUG() reporting (<code>CONFIG_DEBUG_BUGVERBOSE</code>): N
</li>
</ul>
<li>Kernel debugging (<code>CONFIG_DEBUG_KERNEL</code>): Y</li>
<li>Miscellaneous debug code (<code>CONFIG_DEBUG_MISC</code>): N</li>
<li>Compile-time checks and compiler options</li>
<ul>
<li>
Debug information: Disable debug information
(<code>CONFIG_DEBUG_INFO_NONE</code>)
</li>
<li>
Warn for stack frames larger than (<code>CONFIG_FRAME_WARN</code>):
2048
</li>
<li>
Strip assembler-generated symbols during link
(<code>CONFIG_STRIP_ASM_SYMS</code>): N
</li>
<li>
Install uapi headers to usr/include
(<code>CONFIG_HEADERS_INSTALL</code>): N
</li>
<li>
Make section mismatch errors non-fatal
(<code>CONFIG_SECTION_MISMATCH_WARN_ONLY</code>): Y
</li>
<li>
Force all function address 64B aligned
(<code>CONFIG_DEBUG_FORCE_FUNCTION_ALIGN_64B</code>): N
</li>
<li>
Generate vmlinux.map file when linking
(<code>CONFIG_VMLINUX_MAP</code>): N
</li>
<li>
Force weak per-cpu definitions
(<code>CONFIG_DEBUG_FORCE_WEAK_PER_CPU</code>): N
</li>
</ul>
<li>Memory Debugging</li>
<ul>
<li>
Extend memmap on extra space for more information on page
(<code>CONFIG_PAGE_EXTENSION</code>): N
</li>
<li>
Debug page memory allocations (<code>CONFIG_DEBUG_PAGEALLOC</code>):
N
</li>
<li>
Enable SLUB debugging support (<code>CONFIG_SLUB_DEBUG</code>): N
</li>
<li>Track page owner (<code>CONFIG_PAGE_OWNER</code>): N</li>
<li>
Check for invalind mappings in user page tables
(<code>CONFIG_PAGE_TABLE_CHECK</code>): N
</li>
<li>
Poison pages after freeing (<code>CONFIG_PAGE_POISONING</code>): N
</li>
<li>
Testcase for the marking rodata read-only
(<code>CONFIG_DEBUG_RODATA_TEST</code>): N
</li>
<li>
Warn on W+X mappings at boot (<code>CONFIG_DEBUG_WX</code>): Y
</li>
<li>
Kernel memory leak detector (<code>CONFIG_DEBUG_KMEMLEAK</code>): N
</li>
<li>
Statistics for per-vma locks
(<code>CONFIG_PER_VMA_LOCK_STATS</code>): N
</li>
<li>
Debug object operations (<code>CONFIG_DEBUG_OBJECTS</code>): N
</li>
<li>
Stack utilization instrumentation
(<code>CONFIG_DEBUG_STACK_USAGE</code>): N
</li>
<li>
Detect stack corruption on calls to schedule()
(<code>CONFIG_SCHED_STACK_END_CHECK</code>): N
</li>
<li>Debug VM (<code>CONFIG_DEBUG_VM</code>): N</li>
<li>
Debug arch page table for semantics compliance
(<code>CONFIG_DEBUG_VM_PGTABLE</code>): N
</li>
<li>Debug VM translations (<code>CONFIG_DEBUG_VIRTUAL</code>): N</li>
<li>
Debug memory initialisation (<code>CONFIG_DEBUG_MEMORY_INIT</code>):
N
</li>
<li>
Debug access to per_cpu maps
(<code>CONFIG_DEBUG_PER_CPU_MAPS</code>): N
</li>
<li>
Enforce kmap_local temporary mappings
(<code>CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP</code>): N
</li>
<li>
KASAN: dynamic memory safety error detector
(<code>CONFIG_KASAN</code>): N
</li>
<li>
KFENCE: low-overhead sampling based memory safety error detector
(<code>CONFIG_KFENCE</code>): N
</li>
<li>
KMSAN: detector of unitialized values use
(<code>CONFIG_KMSAN</code>): N
</li>
</ul>
<li>Debug shared IRQ handlers (<code>CONFIG_DEBUG_SHIRQ</code>): N</li>
<li>Debug Oops, Lockups and Hangs</li>
<ul>
<li>Panic on Oops (<code>CONFIG_PANIC_ON_OOPS</code>): Y, SEC</li>
<li>panic timeout (<code>CONFIG_PANIC_TIMEOUT</code>): -1, SEC</li>
<li>
Detect Soft Lockups (<code>CONFIG_SOFTLOCKUP_DETECTOR</code>): N
</li>
<li>
Detect Hard Lockups (<code>CONFIG_HARDLOCKUP_DETECTOR</code>): N
</li>
<li>Detect Hung Tasks (<code>CONFIG_DETECT_HUNG_TASKS</code>): N</li>
<li>Detect Workqueue Stalls (<code>CONFIG_WQ_WATCHDOG</code>): N</li>
<li>
Report per-cpu work items which hog CPU for too long
(<code>CONFIG_WQ_CPU_INTENSIVE_REPORT</code>): N
</li>
</ul>
<li>
Enable extra timekeeping sanity checking
(<code>CONFIG_DEBUG_TIMEKEEPING</code>): N
</li>
<li>Debug preemptible kernel (<code>CONFIG_DEBUG_PREEMPT</code>): N</li>
<li>Lock Debugging (spinlocks, mutexes, etc...)</li>
<ul>
<li>None</li>
</ul>
<li>
Debugging for CPUs failing to respond to backtrace requests
(<code>CONFIG_NMI_CHECK_CPU</code>): N
</li>
<li>
Debug IRQ flag manipulation (<code>CONFIG_DEBUG_IRQFLAGS</code>): N
</li>
<li>
Stack backtrace support (<code>CONFIG_STACKTRACE</code>): Y, SEC
</li>
<li>
Warn for all uses of unseeded randomness
(<code>CONFIG_WARN_ALL_UNSEEDED_RANDOM</code>): N
</li>
<li>kobject debugging (<code>CONFIG_DEBUG_KOBJECT</code>): N</li>
<li>Debug kernel data structures</li>
<ul>
<li>
Debug linked list manipulation (<code>CONFIG_DEBUG_LIST</code>): Y,
SEC
</li>
<li>
Debug priority linked list manipulation
(<code>CONFIG_DEBUG_PLIST</code>): Y, SEC
</li>
<li>Debug SG table operations (<code>CONFIG_DEBUG_SG</code>): N</li>
<li>
Debug notifier call chains (<code>CONFIG_DEBUG_NOTIFIERS</code>): Y,
SEC
</li>
<li>Debug maple trees (<code>CONFIG_DEBUG_MAPLE_TREE</code>): N</li>
</ul>
<li>RCU Debugging</li>
<ul>
<li>None</li>
</ul>
<li>
Force round-robin CPU selection for unbound work items
(<code>CONFIG_DEBUG_WQ_FORCE_RR_CPU</code>): N
</li>
<li>
Enable CPU hotplug state control
(<code>CONFIG_CPU_HOTPLUG_STATE_CONTROL</code>): N
</li>
<li>
Latency measuring infrastructure (<code>CONFIG_LATENCYTOP</code>): N
</li>
<li>Traces (<code>CONFIG_FTRACE</code>): N</li>
<li>
Remote debugging over FireWire early on boot
(<code>CONFIG_PROVIDE_OHCI1394_DMA_INIT</code>): N
</li>
<li>Sample kernel code (<code>CONFIG_SAMPLES</code>): N</li>
<li>x86 Debugging</li>
<ul>
<li>
Enable verbose x86 bootup info message
(<code>CONFIG_X86_VERBOSE_BOOTUP</code>): Y
</li>
<li>Early printk (<code>CONFIG_EARLY_PRINTK</code>): N</li>
<li>Dump the EFI pagetable (<code>CONFIG_EFI_PGT_DUMP</code>): N</li>
<li>
Set upper limit of TLB entries to flush one-by-one
(<code>CONFIG_DEBUG_TLBFLUSH</code>): N
</li>
<li>
x86 instruction decoder selftest
(<code>CONFIG_X86_DECODER_SELFTEST</code>): N
</li>
<li>
IO delay type: port 0x80 based port-IO delay
(<code>CONFIG_IO_DELAY_0X80</code>)
</li>
<li>CPA self-test code (<code>CONFIG_CPA_DEBUG</code>): N</li>
<li>
Debug low-level entry code (<code>CONFIG_DEBUG_ENTRY</code>): N
</li>
<li>NMI Selftest (<code>CONFIG_DEBUG_NMI_SELFTEST</code>): N</li>
<li>Debug the x86 FPU code (<code>CONFIG_X86_DEBUG_FPU</code>): N</li>
<li>
ATOM Punit debug driver (<code>CONFIG_PUNIT_ATOM_DEBUG</code>): N
</li>
<li>
Choose kernel unwinder: ORC unwinder
(<code>CONFIG_UNWINDER_ORC</code>)
</li>
</ul>
</ul>
</div>
</body>
</html>
|