aboutsummaryrefslogtreecommitdiff
path: root/ja_JP.eucJP/htdocs/smp/index.sgml
blob: 89941734145ea7079d297ed1f31ae19197936edb (plain) (blame)
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
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
<?xml version="1.0" encoding="eucJP"?>
<!DOCTYPE html PUBLIC "-//FreeBSD//DTD XHTML 1.0 Transitional-Based Extension//EN"
"http://www.FreeBSD.org/XML/doc/share/sgml/xhtml10-freebsd.dtd" [
<!ENTITY title "FreeBSD SMPng プロジェクト">
<!ENTITY email 'freebsd-smp'>

<!-- Status levels -->
<!ENTITY status.done "<font xmlns='http://www.w3.org/1999/xhtml' color='green'>Done</font>">
<!ENTITY status.wip "<font xmlns='http://www.w3.org/1999/xhtml' color='blue'>In progress</font>">
<!ENTITY status.stalled "<font xmlns='http://www.w3.org/1999/xhtml' color='purple'>Stalled</font>">
<!ENTITY status.new "<font xmlns='http://www.w3.org/1999/xhtml' color='red'>Not Started</font>">
<!ENTITY status.resolved "<font xmlns='http://www.w3.org/1999/xhtml' color='green'>Resolved</font>">
<!ENTITY status.unresolved "<font xmlns='http://www.w3.org/1999/xhtml' color='red'>Unresolved</font>">
]>
<!-- The FreeBSD Japanese Documentation Project -->
<!-- Original revision: 1.180 -->

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
      <title>&title;</title>

      <cvs:keyword xmlns:cvs="http://www.FreeBSD.org/XML/CVS">$FreeBSD$</cvs:keyword>
    </head>

    <body class="navinclude.developers">

    <h2>目次</h2>
    <ul>
      <li><a href="#goal">プロジェクトの目標</a></li>
      <li><a href="#status">プロジェクトの状況</a></li>
      <li><a href="#history">プロジェクトの歴史</a></li>
      <li><a href="#plan">プロジェクトのプラン (Historical)</a></li>
      <li><a href="#resources">情報源とリンク</a></li>
      <li><a href="#subsystems">サブシステムとスタッフ (Historical)</a></li>
      <li><a href="#tasks">タスク (Historical)</a></li>
      <li><a href="#issues">既知の問題点 (Historical)</a></li>
      <li><a href="#news">ニュース (Historical)</a></li>
    </ul>

    <a name="goal"></a>
    <h2>プロジェクトの目標</h2>

    <p>FreeBSD 次世代 Symmetric Multi-Processing プロジェクト (しばしば SMPng
      と呼ばれます) は、FreeBSD カーネルの並列化に成功しました。
      FreeBSD の初期のバージョン (3.x, 4.x) では、
      ユーザプロセスの並列化には対応していましたが、
      カーネルを同時に実行できるプロセッサは 1 つに限られていました。
      カーネルにおける "Giant lock" では、
      1 つ以上のカーネルスレッドや、ハンドラが同時に実行できません。
      多くの興味深い作業により、Giant-lock されたカーネルは、
      ユーザプロセスにおいて、重い作業が行われている時
      (特に、レンダリングやコンパイル時) に、
      単一プロセッサのシステムに比べるとかなり速くなりました。
      しかしながら、ネットワークやファイルシステム
      I/O などのカーネルをよく使うアプリケーションでは、
      カーネルロックの競合のため、スピードはまったく上がらないか、
      上がったとしても少しでした。
      SMPng プロジェクトの目的は、Giant lock を多くの小さなロックに分解し、
      競合を減らす (SMP のパフォーマンスを改善する) ことでした。
      この方針の重要なステップには、ユビキタス並列化
      (すべてのプロセッサは、いつでもカーネルに同時に入ることができる)
      に関する
      FreeBSD カーネルアーキテクチャの重要な再設計がありました。
      これには、より成熟したスレッドの導入、同期プリミティブ、
      interrupt スレッド、キャッシュ-アウェアアロケーション、
      およびスケジューリング、そして、
      トポロジーアウェアスケジュールが含まれます。</p>

    <p>FreeBSD プロジェクトは、
      あるシステムコンポーネントにおける初期のロック戦略、
      開発時点のソースコードだけでなく、技術の方向性や意見に対しする
      BSD/OS 開発者チームの貢献に感謝します。
      言うまでもなく、このプロジェクトの初期のスタッフおよびリソースにおいても
      BSDI の貢献がありました。
      また、重要なスポンサーである Yahoo!, Isilon, the FreeBSD Foundation
      に対しても感謝します。</p>

    <a name="status"></a>
    <h2>プロジェクトの状況</h2>

    <p>まだ FreeBSD カーネルの一部のセクション
      (特に、目につかないデバイスドライバ、ファイルシステム)
      が Giant を必要としていますが、
      カーネルの多くの場所では Giant lock を必要とせず、また
      Giant lock とともに実行されません。
      FreeBSD 6.0 では、
      カーネルのほとんどの重要な部分でカーネルの並列化処理に移行できたため、
      SMPng プロジェクトは "完了した" と考えています。
      このウェブページは、ほとんどが歴史的なもので、
      タスクリストなどの項目の状態を完全なものにするような更新はされません。</p>

    <a name="history"></a>
    <h2>プロジェクトの歴史</h2>

    <p>SMPng は、20031 月の 5.0-RELEASE においてデビューしました。
      これは、数多くの外部の貢献者、FreeBSD 開発者チームによる
      5 年以上の継続した開発の成果です。
      5.0 からは、実装はほぼ成熟しました。5.0 リリースにおいて、
      SMPng サポートに必要な基本的な技術部分の変更が終了しました。
      ここでは、新しいカーネルメモリのアロケータ、同期ルーチン、ithreads への移行、
      プロセススケジュールや IPC の共通フォームからの Giant lock の削除が行われました。
      5.0 からは、数々の方法によって、アーキテクチャが洗練されました。
      同期アプローチの最適化、大規模なシステム (32 プロセッサスレッドまで)
      における安定化とパフォーマンス試験、
      Virtual Memory (VM), Virtual File System (VFS), UNIX File System (UFS) や
      ネットワークスタックの多くの場所
      (IPv4, IPV6, FAST_IPSEC, UNIX ドメインソケットおよび NetGraph) 、
      インタープロセスコミュニケーションプリミティブといった、
      オペレーティングシステムの重要な場所からの Giant の削除が行われました。
      SMP アウェアカーネルスラブアロケータは、現在ではほぼ一般的になり、
      そして、焦点は、"動くようにする" から "最適化を行う" へと変わりました。
      KSE 1:1 と M:N スレッドにおける同時実行は、アプリケーションに対し、
      新しいカーネルにおける並列化のアドバンテージを提供します。
      FreeBSD 5.3 カーネルは、
      ネットワークスタックに関連するほとんどのコードパスにおいて、
      Giant を用いないネットワークスタックを導入し、
      FreeBSD 6.0 カーネルでは、パフォーマンスの最適化が拡大し、
      同様に MPSAFE VFS が導入されました。</p>

    <p>6.x ブランチにおける SMPng の継続的な開発では、
      NFS やネットワークスタックコンポーネントなどあまり使われないような場所に残されている
      Giant を外すという "仕事のやり残し" も行われています。</p>

    <p>SMPng を通じて重要な焦点は、
      SMPng アーキテクチャの構築と改良によるパフォーマンスの測定と最適化でした。
      kernel trace facility (KTR),
      hardware performance monitor counters (hwpmc), lock profiling、
      そしてメモリモニタリングプレイの改良などの機能の導入は重要な役割を果たしました。
      その他の重要なデバッグやテスト機構は、WITNESS、
      実行時のカーネルロックの順序の検証、広く使われるロックアサーション、
      そして実行時の不変性の試験などです。</p>

    <a name="plan"></a>
    <h2>プロジェクトのプラン (Historical)</h2>

    <p>本ウェブページは、SMPng の成果に関連する情報を含んでいます。
      この作業の膨大な範囲と急速な開発のため、
      ここでは、行われたも作業の一部のみしかとらえていません。
      fine-grained ロックに移行するという SMPng プロジェクトのベースは完了したので、
      この頁の情報はほとんど歴史的なものです。
      ロックおよびマルチプロセッサのパフォーマンスに関する現在の作業は反映していません。</p>

    <p>以下のタスクリストは、完全なものを目指したものではありません。
      全体の仕事に関連したり重要な要素をまとめたものです。
      "Responsible" フィールドは、
      そのタスクを達成するのに責任を持ちたいという意思を示した開発者を記載したものであり、
      このタスクを他のメンバーが行うことを除外するものではありません。
      このフィールドは、担当グループとの調整を行うことで、
      必要のない重複した作業を避け、最大限に開発が進むことができるようにすることを意図しています。
      もし、新しい領域の作業がかなり大きかったり、
      まだ、求められていないようであれば、何かしらの進展がないかどうか、
      FreeBSD SMP メーリングリストへメールを送信する価値があります。</p>

    <p>日付フィールドの持つ意味は、タスクのステータスに依存します。
      完了したタスクについては、そのタスクが完了した日、
      または完了が報告された日です。
      現在進行中のタスクに関しては、エントリを最後にアップデートした日付を表します。
      停止したタスクについては、タスクが停止したことを宣言した日、
      新しいタスクについては、タスクが一覧に追加された日を意味します。</p>

    <p>個々のデバイスドライバのロックの状況については、
      <a href="http://www.FreeBSD.org/projects/busdma/">the busdma and
      SMPng driver conversion web page</a> において公開されています。
      また、試験目的に <a href="../../ja/projects/netperf/cluster.html">network performance
      cluster</a> が構築されました。</p>

    <p>ネットワークスタックのロックの状況については、&a.rwatson; の
      <a href="http://www.watson.org/~robert/freebsd/netperf/">netperf
      ウェブページ</a>、および FreeBSD.org の <a href="../projects/netperf/">Netperf
      ウェブページ</a> で見ることができます。
      SMP <a href="../projects/netperf/cluster.html">network performance
      cluster</a> は、テスト目的で作成されています。</p>

    <p>タスクはステータス、日付の順に並んでいます。</p>

    <a name="resources"></a>
    <h2>情報源とリンク</h2>

    <ul>
      <li><p>SMP に関連した議論は
	  <a href="mailto:freebsd-smp@FreeBSD.org">freebsd-smp</a>
	  メーリングリストにおいて行われています。
	  <a href="../../doc/ja_JP.eucJP/books/handbook/index.html">FreeBSD ハンドブック</a>
	  の付録にある
	  <a href="../../doc/ja_JP.eucJP/books/handbook/eresources.html#ERESOURCES-MAIL">
	  インターネット上のリソース</a>
	  にメーリングリストに関する詳しい情報が載っています。</p></li>

      <li><p>Steve Passe は将来的にこのページに統合されるであろう
	  追加情報を含む
	  <a href="http://people.FreeBSD.org/~fsmp/SMP/SMP.html">SMP
	  プロジェクトページ</a>
	  を管理しています。</p></li>

       <li><p>&a.rwatson; は、SMP に関連した
	   <a href="../projects/netperf/">Netperf project</a>
	  のネットワークパフォーマンスに関するウェブページを管理しています。
	  さらに、彼は <a
 	  href="http://www.watson.org/~robert/freebsd/netperf/">変更点のログやその他の情報を含む個人のウェブページ</a>
	  を持っています。</p></li>

      <li><p><a href="http://www.osnews.com/">OSNews</a> は、
	FreeBSD 開発者である &a.rwatson;, &a.jhb; と &a.scottl;
	にインタビューしました。
	彼らは 6.x における 最近の SMPng, SMPVFS の開発を含む多くの機能について話をしました。
	記事は <a
	href="http://www.osnews.com/story.php?news_id=10951">ここ
	</a> です。</p></li>

       <li><p>以下は、カーネル同期およびスレッドプリミティブについてのマニュアルページです。</p>

	    <ul>
	      <li><a href="http://www.freebsd.org/cgi/man.cgi?query=mutex&amp;apropos=0&amp;sektion=9">Kernel Mutexes (mutex(9))</a></li>

	      <li><a href="http://www.freebsd.org/cgi/man.cgi?query=mtx_pool&amp;apropos=0&amp;sektion=9">Kernel Mutex Pools (mtx_pool(9))</a></li>

	      <li><a href="http://www.freebsd.org/cgi/man.cgi?query=critical&amp;apropos=0&amp;sektion=9">Kernel Critical Sections (critical(9))</a></li>

	      <li><a href="http://www.freebsd.org/cgi/man.cgi?query=sx&amp;apropos=0&amp;sektion=9">Kernel Shared/Exclusive Locks (sx(9))</a></li>

	      <li><a href="http://www.freebsd.org/cgi/man.cgi?query=condvar&amp;apropos=0&amp;sektion=9">Kernel Condition Variables (condvar(9))</a></li>

	      <li><a href="http://www.freebsd.org/cgi/man.cgi?query=sema&amp;apropos=0&amp;sektion=9">Kernel Semaphores (sema(9))</a></li>

	      <li><a href="http://www.freebsd.org/cgi/man.cgi?query=sleep&amp;apropos=0&amp;sektion=9">Kernel sleep/wakeup API (sleep(9))</a></li>

	      <li><a href="http://www.freebsd.org/cgi/man.cgi?query=kthread&amp;apropos=0&amp;sektion=9">Kernel Threads (kthread(9))</a></li>

	      <li><a href="http://www.freebsd.org/cgi/man.cgi?query=ithread&amp;apropos=0&amp;sektion=9">Interrupt Threads (ithread(9))</a></li>

	      <li><a href="http://www.freebsd.org/cgi/man.cgi?query=swi&amp;apropos=0&amp;sektion=9">Software Interrupt Threads (swi(9))</a></li>
	    </ul>
	  <br/>
	  <p>In addition, the old <a href="http://www.freebsd.org/cgi/man.cgi?query=spl&amp;apropos=0&amp;sektion=9">SPL man page</a> may be of interest, as it reflects the previous SMP synchronization model.</p>
	  <p>また、<a href="http://www.freebsd.org/cgi/man.cgi?query=spl&amp;apropos=0&amp;sektion=9">古い SPL マニュアルページ</a>
	    には以前の SMP 同期モデルの情報が残されているので、興味深いです。</p>
	</li>

      <li><p>
 	  Hiten Pandya による <a
	  href="http://storm.uk.FreeBSD.org/~hiten/smp_synch_rules.html">
 	  SMP kernel synchronization rules</a></p></li>

      <li><p>&a.dillon; は彼が SMP プロジェクトで何をしたかについての
	  <a href="http://apollo.backplane.com/FreeBSDSmp/">
	    ウェブページ</a>
	  を管理しています。</p></li>

      <li>
	<p>&a.jhb; による
	  <a href="http://www.usenix.org/events/bsdcon02/full_papers/baldwin/baldwin_html/index.html">
	  "Locking in the Multithreaded FreeBSD Kernel" USENIX paper</a></p>
      </li>

      <li>
	<p>&a.hsu; による
	  <a href="http://www.usenix.org/publications/library/proceedings/bsdcon03/tech/hsu.html">
	"Reasoning about SMP in FreeBSD" BSDCon'03 paper</a></p>
      </li>

      <li>
	<p>&a.jeff; による
	  <a href="http://www.usenix.org/publications/library/proceedings/bsdcon03/tech/roberson.html">
	"ULE: A Modern Scheduler for FreeBSD" BSDCon'03 paper</a></p>
      </li>

      <li>
	<p>&a.rwatson; による
	  <a href="http://www.watson.org/~robert/freebsd/netperf/20051027-eurobsdcon2005-netperf.pdf">"Introduction to Multithreading and Multiprocessing in the FreeBSD SMPng Network Stack" EuroBSDCon 2005 paper</a></p>
      </li>

    </ul>

    <a name="subsystems"></a>
    <h2>サブシステムとスタッフ (Historical)</h2>

    <p>以下はまだ未完成のハイレベルのカーネルサブシステムと、現在、
      SMP アーキテクチャと安定性について作業している活動的なスタッフの一覧です。</p>

    <table class="tblbasic">
      <tr class="heading">
	<th> サブシステム </th>
	<th> ステータス </th>
	<th> 最終更新 </th>
	<th> スタッフ </th>
      </tr>

      <tr>
	<td> Newbus </td>
	<td> &status.wip; </td>
	<td> 5 October 2003 </td>
	<td> &a.imp;</td>
      </tr>

      <tr>
	<td> VM </td>
	<td> &status.wip; </td>
	<td> 4 October 2003 </td>
	<td> &a.alc;</td>
      </tr>

      <tr>
	<td> Buffer cache </td>
	<td> &status.wip; </td>
	<td> 4 October 2003 </td>
	<td> &a.jeff;, &a.phk; </td>
      </tr>

      <tr>
	<td> VFS </td>
	<td> &status.done; </td>
	<td> 24 January 2005 </td>
	<td> &a.jeff; </td>
      </tr>

      <tr>
	<td> Processes and thread operations </td>
	<td> &status.wip; </td>
	<td> 5 May 2003 </td>
	<td> &a.jhb; </td>
      </tr>

      <tr>
	<td> Scheduler </td>
	<td> &status.done; </td>
	<td> 23 April 2004 </td>
	<td> &a.jhb;, &a.jeff; </td>
      </tr>

      <tr>
	<td> GEOM </td>
	<td> &status.done; </td>
	<td> 5 February 2003 </td>
	<td> &a.phk; </td>
      </tr>

      <tr>
	<td> File descriptors </td>
	<td> &status.done; </td>
	<td> 5 February 2003 </td>
	<td> &a.alfred;, &a.tanimura;, &a.rwatson; </td>
      </tr>

      <tr>
	<td> TTY subsystem </td>
	<td> &status.done; </td>
	<td> 20 August 2008 </td>
	<td> &a.ed; </td>
      </tr>

      <tr>
	<td> Pipe IPC </td>
	<td> &status.done; </td>
	<td> 4 October 2003 </td>
	<td> &a.alfred; </td>
      </tr>

      <tr>
	<td> Socket structures and system calls </td>
	<td> &status.done; </td>
	<td> 25 November 2004 </td>
	<td> &a.sam;, &a.rwatson; </td>
      </tr>

      <tr>
	<td> KQueue </td>
	<td> &status.done; </td>
	<td> 24 November 2004 </td>
	<td> &a.jmg;, &a.green; </td>
      </tr>

      <tr>
	<td> IPv4 </td>
	<td> &status.done; </td>
	<td> 23 April 2004 </td>
	<td> &a.jennifer;, &a.hsu;, &a.sam;, &a.rwatson;, &a.gnn; </td>
      </tr>

      <tr>
	<td> IPv6 </td>
	<td> &status.wip; </td>
	<td> 01 July 2005 </td>
	<td> &a.rwatson;, &a.gnn; </td>
      </tr>

      <tr>
	<td> IPX/SPX </td>
	<td> &status.done; </td>
	<td> 09 January 2005 </td>
	<td> &a.rwatson; </td>
      </tr>

      <tr>
	<td> netatalk </td>
	<td> &status.done; </td>
	<td> 02 February 2005 </td>
	<td> &a.rwatson; </td>
      </tr>

      <tr>
	<td> Network stack infrastructure </td>
	<td> &status.done; </td>
	<td> 28 August 2004 </td>
	<td> &a.hsu;, &a.sam;, &a.rwatson;, &a.mlaier;, &a.luigi;, Maurycy Pawlowski-Wieronski &lt;maurycy@fouk.org&gt;, &a.brooks;,
	  &a.rik; </td>
      </tr>

      <tr>
	<td> NFS Client </td>
	<td> &status.done; </td>
	<td> 19 May 2006 </td>
	<td> &a.mohans; </td>
      </tr>

      <tr>
	<td> NFS Server </td>
	<td> &status.wip; </td>
	<td> 24 February 2007 </td>
	<td> &a.rwatson;, &a.jeff; </td>
      </tr>

    </table>

    <a name="tasks"></a>
    <h2>タスク (Historical)</h2>

    <p>この一般タスクリストは完全ではありません。</p>

    <table class="tblbasic">
      <tr class="heading">
	<th> タスク </th>
	<th> 担当者 </th>
	<th> 最終更新 </th>
	<th> ステータス </th>
      </tr>

      <tr>
	<td> Convert the giant lock from spinning to blocking, add the
	  scheduler lock, add per-CPU idle processes. </td>
	<td> &a.dillon; </td>
	<td> 25 June 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Port the BSD/OS locking primitives (i386). </td>
	<td> &a.jake; </td>
	<td> 3 July 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Implement heavy-weight interrupt threads (i386). </td>
	<td> &a.grog; </td>
	<td> 3 August 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Rewrite the low level interrupt code (i386 UP). </td>
	<td> &a.grog; </td>
	<td> 3 August 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Demonstrated reasonable stability (self-hosted buildworld)
	  (i386 UP). </td>
	<td> -smp developers </td>
	<td> 12 August 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Port the BSD/OS locking primitives (alpha). </td>
	<td> &a.dfr; </td>
	<td> 24 August 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Stub out (disable) spl()s. </td>
	<td> &a.grog; </td>
	<td> 30 August 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Port the BSD/OS ktr code. </td>
	<td> &a.grog;, &a.jhb; </td>
	<td> 30 August 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Rewrite the low level interrupt code (i386 SMP). </td>
	<td> &a.jhb; </td>
	<td> 1 September 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Demonstrated reasonable stability (self-hosted buildworld)
	  (i386 SMP). </td>
	<td> -smp developers </td>
	<td> 6 September 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Demonstrated reasonable stability (self-hosted buildworld)
	  (alpha). </td>
	<td> -smp developers </td>
	<td> 6 September 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make malloc and friends thread-safe. </td>
	<td> &a.jasone; </td>
	<td> 10 September 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Implement msleep(), make tsleep() an msleep() wrapper. </td>
	<td> &a.jake; </td>
	<td> 11 September 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make fxp driver thread-safe. </td>
	<td> &a.cp; </td>
	<td> 17 September 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make mbuf's thread-safe. </td>
	<td> &a.bmilekic; </td>
	<td> 29 September 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock manager re-work. </td>
	<td> &a.jasone; </td>
	<td> 3 October 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Implement heavy-weight interrupt threads (alpha). </td>
	<td> &a.jhb;, &a.dfr; </td>
	<td> 5 October 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Rewrite the low level interrupt code (alpha). </td>
	<td> &a.dfr;, &a.jhb; </td>
	<td> 5 October 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Process accounting. </td>
	<td> &a.tegge;, &a.jhb; </td>
	<td> 5 October 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make ethernet drivers thread-safe. </td>
	<td> &a.wpaul; </td>
	<td> 15 October 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make the mutex headers mostly machine-independent. </td>
	<td> &a.jhb; </td>
	<td> 20 October 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Rename SMP_DEBUG to MUTEX_DEBUG. </td>
	<td> &a.jhb; </td>
	<td> 20 October 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Give each soft interrupt its own thread. </td>
	<td> &a.cp; </td>
	<td> 25 October 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make sf_bufs (sendfile(2)) thread-safe. </td>
	<td> &a.bmilekic; </td>
	<td> 5 November 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make the witness code work correctly. </td>
	<td> &a.jhb; </td>
	<td> 18 November 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Split the ktr-specific code out of db_interface.c. </td>
	<td> &a.jhb;  </td>
	<td> 15 December 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Convert the sio driver to using a spin mutex. </td>
	<td> &a.jhb; </td>
	<td> 18 December 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Implement condition variables. </td>
	<td> &a.jake;, &a.jasone; </td>
	<td> 15 January 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Add a flag to mtx_init() (MTX_RECURSE) that denotes
	  whether a mutex is allowed to recurse. </td>
	<td> &a.bmilekic; </td>
	<td> 19 January 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make the zone allocator thread-safe. </td>
	<td> &a.des; </td>
	<td> 21 January 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Convert simplelocks to mutexes. </td>
	<td> &a.jasone; </td>
	<td> 24 January 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make kernel preemptive with respect to interrupts. </td>
	<td> &a.jake; </td>
	<td> 31 January 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Cleanup of mutex API. </td>
	<td> &a.bmilekic; </td>
	<td> 8 February 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Remove COM_LOCK. </td>
	<td> &a.markm; </td>
	<td> 11 February 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Merge various scheduling classes into one run queue.
	  Modify scheduler to support preemptable kernel. </td>
	<td> &a.jake; </td>
	<td> 11 February 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make priority propagation work correctly. </td>
	<td> &a.jake; </td>
	<td> 11 February 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make most of the interrupt thread code MI and shared
	  between hardware and software interrupts. </td>
	<td> &a.jhb; </td>
	<td> 18 February 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Add protection to struct jail and jail-related functionality. </td>
	<td> &a.rwatson; </td>
	<td> 20 February 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Implement sx (shared/exclusive) locks. </td>
	<td> &a.jasone; </td>
	<td> 5 March 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Generalize/improve witness to handle more complex locking
	  primitives (mtx, sx). </td>
	<td> &a.jhb; </td>
	<td> 28 March 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Convert the allproc and proctree locks from lockmgr locks
	  to sx locks. </td>
	<td> &a.jhb; </td>
	<td> 28 March 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make mbuf system use condition variables instead of
	  msleep()/wakeup(). </td>
	<td> &a.bmilekic; </td>
	<td> 2 April 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Remove &lt;sys/mutex.h&gt; includes from other kernel
	  headers such as &lt;vm/vm_zone.h&gt;, &lt;sys/resourcevar.h&gt;,
	  &lt;sys/ucred.h&gt;, and &lt;sys/mbuf.h&gt;. </td>
	<td> &a.markm; </td>
	<td> 15 May 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Cleanup the various mp_machdep.c's, unify various SMP
	  API's such as IPI delivery, etc. </td>
	<td> &a.jhb; </td>
	<td> 15 May 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make most of the forward_* and forwarded_* functions MI. </td>
	<td> &a.jhb; </td>
	<td> 15 May 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Complete the MD support for SMP on the Alpha platform.</td>
	<td> &a.gallatin;, &a.dfr;, &a.jhb; </td>
	<td> 15 May 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Convert select() to use condition variables. </td>
	<td> &a.tanimura; </td>
	<td> 15 May 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Add a "giant" lock around the VM subsystem. </td>
	<td> &a.alfred; </td>
	<td> 13 June 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Introduce a modified slab allocator for the mbuf subsystem. </td>
	<td> &a.bmilekic; </td>
	<td> 21 June 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Add a witness_assert() function to handle lock assertions. </td>
	<td> &a.jhb; </td>
	<td> 27 June 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Extend sx locks to support try lock operations. </td>
	<td> &a.jhb; </td>
	<td> 27 June 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Document KTR. </td>
	<td> &a.jhb; </td>
	<td> 28 June 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make fork_return, fork_exit, ast, and userret MI. </td>
	<td> &a.jhb; </td>
	<td> 29 June 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make sched_lock's savecrit a per-process property saved
	  and restored in mi_switch and initialized in fork_exit. </td>
	<td> &a.jhb; </td>
	<td> 30 June 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make ast() loop. </td>
	<td> &a.jhb; </td>
	<td> 10 August 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Add upgrade/downgrade sx lock operations. </td>
	<td> &a.kan;, &a.jasone; </td>
	<td> 13 August 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Implement semaphores. </td>
	<td> &a.jasone; </td>
	<td> 14 August 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Add support for upgrade/downgrades in witness. </td>
	<td> &a.jhb; </td>
	<td> 23 August 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make most of cpu_wait() and cpu_exit() MI. </td>
	<td> &a.peter; </td>
	<td> 9 September 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Split NFS into client and server. </td>
	<td> &a.peter; </td>
	<td> 18 Oct 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock taskqueues. </td>
	<td> &a.arr;, &a.jhb; </td>
	<td> 25 October 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Add a per-thread ucred reference. </td>
	<td> &a.jhb; </td>
	<td> 25 October 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make most of the per-CPU stuff MI. </td>
	<td> &a.jhb; </td>
	<td> 11 December 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make critical section saved state per-thread instead of per-lock
	  so that interlocking spin locks work properly. </td>
	<td> &a.jhb; </td>
	<td> 17 December 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Replace the APIC-specific imen_mtx with a MI-named icu_lock to
	  protect interrupt controllers and associated data within the kernel
	  for both i386 and alpha. </td>
	<td> &a.jhb; </td>
	<td> 20 December 2001 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Use the per-thread critical section nesting level in the mutex
	    and interrupt thread code to automatically determine when to not
	    preempt.  This makes the MTX_NOSWITCH, SWI_SWITCH, and
	    SWI_NOSWITCH flags obsolete as the kernel will be able to figure
	    out the proper behavior on its own. </td>
	<td> &a.jhb; </td>
	<td> 5 January 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock struct filedesc and struct file. </td>
	<td> &a.tanimura;, &a.alfred; </td>
	<td> 12 January 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock struct pgrp, struct session, and struct sigio. </td>
	<td> &a.tanimura; </td>
	<td> 23 February 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock pipe implementation, but not sigio/fown, VM interactions. </td>
	<td> &a.alfred; </td>
	<td> 27 February 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Move to explicit reference counting for soft vnode references.
	  </td>
	<td> &a.phk; </td>
	<td> 8 March 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Initialize mutex pools early enough that sx locks can be used
	  for VM. </td>
	<td> &a.green; </td>
	<td> 14 March 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
        <td> Place a global lock (sellock) around selinfo structures to fix a
          variety of lock order reversals, and make select() MP-safe. </td>
        <td> &a.alfred;, &a.davidc; </td>
        <td> 14 March 2002 </td>
        <td> &status.done; </td>
      </tr>

      <tr>
	<td> Push down Giant on read, write, pread, pwrite system calls,
	  acquiring Giant in the per-subsystem fileop layer for sockets, VFS,
	  etc.</td>
	<td> &a.alfred; </td>
	<td> 15 March 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock down kernel module structures. </td>
	<td> &a.arr; </td>
	<td> 18 March 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock down kernel linker globals.</td>
	<td> &a.arr; </td>
	<td> 18 March 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Rewrite kernel memory allocator to be a slab allocator that
	  uses per-cpu caches. </td>
	<td> &a.jeff; </td>
	<td> 21 March 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Replace incorrect use of MD critical section API to disable
	  interrupts with a specific interrupt disable API. </td>
	<td> &a.imp;, &a.dfr;, &a.benno;, &a.jhb; </td>
	<td> 21 March 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock down access to the shared p_args "process arguments"
	  structure through appropriate protection of that structure and
	  references to it. </td>
	<td> &a.mini; </td>
	<td> 31 March 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Move from flags/tsleep lock to sx locks to protect sysctl
	  tree from updates during sysctl operations. </td>
	<td> &a.mini; </td>
	<td> 1 April 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Create/port userland tool to manage KTR event dumps. </td>
	<td> &a.jake; </td>
	<td> 1 April 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Create MTX_SYSINIT and SX_SYSINIT macros that allow for
	  initializing locks that are subsystem independent. </td>
	<td> &a.arr; </td>
	<td> 2 April 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
 	<td> Lock down the global securelevel variable. </td>
	<td> &a.arr; </td>
	<td> 2 April 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make grow_stack() MI.  Possibly even a macro or inline. </td>
	<td> &a.alc; </td>
	<td> 6 April 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock use of p_fd, which otherwise can result in corrupted
	  p_fd panics during heavy operation.  Start with a global,
	  and move to per-proc locking. </td>
	<td> &a.alfred;, &a.tanimura; </td>
	<td> 8 April 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock struct pargs. </td>
	<td> &a.mini; </td>
	<td> 9 April 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock sysctl hierarchy. </td>
	<td> &a.mini; </td>
	<td> 9 April 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make {o,}sigreturn() MPSAFE. </td>
	<td> &a.alc; </td>
	<td> 11 April 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Rewrite kernel memory allocator so that Giant is not required
	  for malloc() or free(). </td>
	<td> &a.jeff; </td>
	<td> 2 May 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Replace complex shared/exclusive locking scheme in the VM
	  system with a purely exclusive lockmgr locking scheme, simplifying
	  locking and removing potential livelock/deadlock scenarios. </td>
	<td> &a.green;, &a.alc; </td>
	<td> 3 May 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Push down Giant into readv/writev system calls in style of
	  read/write/pread/pwrite once malloc no longer requires Giant in
	  the handling of iovec structures for uio. </td>
	<td> &a.alc; </td>
	<td> 9 May 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Push down Giant in mprotect(), minherit(), and madvise() so
	  that it is no longer acquired and released directly. </td>
	<td> &a.alc; </td>
	<td> 18 May 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Update suser() and p_can*() APIs to accept threads instead of
	  processes. </td>
	<td> &a.jhb; </td>
	<td> 18 May 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Broadly transition to td_ucred from p_ucred once KSE dependencies
	  are in place. </td>
	<td> &a.jhb; </td>
	<td> 18 May 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Add a witness_sleep() check to uma_zalloc() to catch code
	  calling malloc() or uma_zalloc() while holding non-sleepable
	  locks. </td>
	<td> &a.jhb; </td>
	<td> 20 May 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Optimize UP support by changing spin locks to only perform
	  critical section enter and exits. </td>
	<td> &a.jhb; </td>
	<td> 21 May 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make sleep mutexes spin if the current lock holder is
	    executing on another CPU. </td>
	<td> &a.jhb; </td>
	<td> 21 May 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Add support for the IA32 pause instruction to spin loops in
	  locks. </td>
	<td> &a.jhb; </td>
	<td> 21 May 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make KTRACE write into tracefiles asynchronously. </td>
	<td> &a.jhb; </td>
	<td> 7 June 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
        <td> Remove Giant from modnext(2), modfnext(2),
          modstat(2),and modfind(2).</td>
        <td> &a.arr; </td>
        <td> 25 June 2002 </td>
        <td> &status.done; </td>
      </tr>

      <tr>
	<td> Fix synchronization of TLB flushes and invlpg() on x86 SMP. </td>
	<td> &a.peter; </td>
	<td> 12 July 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Add KTR(9) tracing for mutex contention. </td>
	<td> &a.iedowse; </td>
	<td> 26 Augist 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make cpu_coredump MI. </td>
	<td> &a.peter; </td>
	<td> 7 September 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Add a subsystem lock to the accounting code. </td>
	<td> &a.arr; </td>
	<td> 11 September 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Allow KTR(9) to write trace records to alq(9) record facility.
	  </td>
	<td> &a.jeff; </td>
	<td> 22 September 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Create mechanism in cdevsw structure to protect
	  thread-unsafe drivers. </td>
	<td> &a.phk; </td>
	<td> 27 September 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Fix SIGXPU and other #if 0'd things in mi_switch(). </td>
	<td> &a.jhb; </td>
	<td> 30 September 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock down TrustedBSD MAC implementation. </td>
	<td> &a.rwatson; </td>
	<td> 11 November 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock eventhandlers. </td>
	<td> &a.msmith;, &a.mini;, &a.jhb; </td>
	<td> 11 March 2003 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Fix PHOLD() so that it blocks to guarantee PS_INMEM. </td>
	<td> &a.jhb; </td>
	<td> 22 April 2003 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Fix various procfs_machdep.c to not use sched_lock. </td>
	<td> &a.jhb; </td>
	<td> 22 April 2003 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock all references to process credentials and remove Giant
	  from process credential-related system calls. </td>
	<td> &a.jhb; </td>
	<td> 1 May 2003 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Merge the procsig and sigacts structures, move the new sigacts
	  structure out of the U-area and add appropriate locking. </td>
	<td> &a.jhb; </td>
        <td> 13 May 2003 </td>
        <td> &status.done; </td>
      </tr>

      <tr>
	<td> Remove Giant from the kill() and killpg() system calls. </td>
	<td> &a.jhb; </td>
        <td> 13 May 2003 </td>
        <td> &status.done; </td>
      </tr>

      <tr>
	<td> Enhance the mutex pool implementation to allow creation and
	  use of multiple, dynamically allocated pools with adjustable pool
	  sizes and mutex options. </td>
	<td> &a.truckman; </td>
        <td> 16 July 2003 </td>
        <td> &status.done; </td>
      </tr>

      <tr>
	<td> Create mutex profiling tool for the kernel so as to measure
	  contention and behavior of kernel mutexes. </td>
	<td> &a.eivind;, &a.des; </td>
	<td> 31 March 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock down linker_file_t structures in the kernel linker.</td>
	<td> &a.arr; </td>
	<td> 19 June 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock pipe implementation: VM optimizations. </td>
	<td> &nbsp; </td>
	<td> 4 October 2003 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
        <td> Reimplement i386 interrupt and SMP code so that SMP kernels
	  work on UP boxes and SMP can be enabled in GENERIC. </td>
        <td> &a.jhb; </td>
        <td> 3 November 2003 </td>
        <td> &status.done; </td>
      </tr>

      <tr>
        <td> Implement generic turnstiles to use when blocking on non-sleepable
	  locks. </td>
        <td> &a.jhb; </td>
        <td> 11 November 2003 </td>
        <td> &status.done; </td>
      </tr>

      <tr>
	<td> Split witness_lock() into witness_checkorder() and
	  witness_lock().  witness_checkorder() would be called before
	  acquiring a lock to increase the changes of detecting and warning
	  about a reversal prior to deadlocking.  witness_lock() would
	  simply update witness' internal state to note that a lock has
	  been acquired. </td>
	<td> &a.jhb; </td>
	<td> 24 January 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock per-process resource limits. </td>
	<td> &a.mtm;, &a.jhb; </td>
	<td> 4 February 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
        <td> Implement a sleep queue abstraction to be used by both msleep()
	  and condition variables.  This new abstraction should use a hash
	  table of sleep queues with a spin lock on each sleep queue chain
	  similar to turnstile chain locks to make sched_lock finger
	  grained.</td>
        <td> &a.jhb; </td>
        <td> 27 February 2004 </td>
        <td> &status.done; </td>
      </tr>

      <tr>
        <td> Remove Giant from jail(2). </td>
        <td> &a.arr;, &a.rwatson; </td>
        <td> 23 April 2004 </td>
        <td> &status.done; </td>
      </tr>

      <tr>
	<td> Add subsystem locking to NFSv2, NFSv3 server, permitting upcalls
	  and other network-related elements to run Giant-free. </td>
	<td> &a.rwatson; </td>
	<td> 24 July 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Add KTR(9) tracing for UMA allocation/free events. </td>
	<td> &a.rwatson; </td>
	<td> 05 August 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Add KTR(9) tracing for GEOM I/O events. </td>
	<td> &a.rwatson; </td>
	<td> 21 October 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Add KTR(9) tracing for busdma events. </td>
	<td> &a.rwatson; </td>
	<td> 23 October 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Add KTR(9) tracing for critical sections. </td>
	<td> &a.rwatson; </td>
	<td> 07 November 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make the kernel fully preemptive. </td>
	<td> &a.jhb; </td>
	<td> 24 November 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock pipe implementation: sigio/fown-related evil. </td>
	<td> &a.alfred; </td>
	<td> 24 November 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
       <td> Lock down the SysV IPC code. </td>
	<td> &a.alfred; </td>
	<td> 24 November 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock contention measurement tool to measure heat of various
	  locks, including Giant, and permit more directed performance and
	  locking strategy optimization. </td>
	<td> &a.rwatson; </td>
	<td> 24 November 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Add KTR(9) tracing to scheduler run queues. </td>
	<td> &a.jeff; </td>
	<td> 26 December 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Review locking strategy and correctness of VFS operations
	  and fix up various failure modes associated with enabling
	  VFS locking assertions. </td>
	<td> &a.jeff; </td>
	<td> 01 January 2005 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Document in-vnode locking strategy, clean it up. </td>
	<td> &a.jeff; </td>
	<td> 01 January 2005 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Run cross-file system VFS without Giant, acquiring Giant
	  conditionally based on a file system flag. </td>
	<td> &a.jeff; </td>
	<td> 01 January 2005 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Run UFS file system MPSAFE. </td>
	<td> &a.jeff; </td>
	<td> 01 January 2005 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Add KTR(9) tracing for buffer cache events. </td>
	<td> &a.jeff; </td>
	<td> 24 January 2005 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Break out critical section and spin lock APIs, and re-optimize
	  critical sections to not disable interrupts in hardware due to
	  the high cost on some hardware architectures. </td>
	<td> &a.jhb; </td>
	<td> 04 April 2005 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Modify uma(9) to use critical sections to protect per-CPU
	  statistics, instead of mutexdes, in order to optimize access. </td>
	<td> &a.rwatson; </td>
	<td> 29 April 2005 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Migrate malloc(9) to per-CPU statistics, and use critical
	  sections to optimize access to those statistics. </td>
	<td> &a.rwatson; </td>
	<td> 29 May 2005 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Add KTR(9) support for KTR_VFS to trace additional VFS events,
	  rather than mechanically inserted KTR_VOP events. </td>
	<td> &a.jeff; </td>
	<td> 11 June 2005 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Push the grabbing of Giant into Linux i386 ABI system calls.</td>
	<td> &a.jhb; </td>
	<td> 13 July 2005 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Push the grabbing of Giant into Linux AXP ABI system calls.</td>
	<td> &a.jhb; </td>
	<td> 13 July 2005 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Push the grabbing of Giant into SVR4 i386 ABI system calls.</td>
	<td> &a.jhb; </td>
	<td> 13 July 2005 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Push the grabbing of Giant into OSF/1 AXP ABI system calls.</td>
	<td> &a.jhb; </td>
	<td> 13 July 2005 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Push the grabbing of Giant into IBCS i386 ABI system calls.</td>
	<td> &a.jhb; </td>
	<td> 13 July 2005 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Add a new witness check for exiting threads to verify that
	  an exiting thread holds no locks. </td>
	<td> &a.jhb; </td>
	<td> 2 September 2005 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
        <td> Implement atomic_fetchadd() for ints. </td>
        <td> &a.jhb; </td>
        <td> 27 September 2005 </td>
        <td> &status.done; </td>
      </tr>

      <tr>
        <td> Implement a simple reference count API using atomic operations and
	  use this to replace locks that just protect a reference count. </td>
        <td> &a.jhb; </td>
        <td> 27 September 2005 </td>
        <td> &status.done; </td>
      </tr>

      <tr>
	<td> Split the interrupt handler list out of struct ithread into
	  its own structure and only start up kthreads for interrupt
	  vectors that actually have threaded interrupt handlers. </td>
	<td> &a.jhb; </td>
	<td> 25 October 2005 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock aio(4). </td>
	<td> &a.davidxu; </td>
	<td> 22 January 2006 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Implement reader/writer locks. </td>
	<td> &a.jhb; </td>
	<td> 27 January 2006 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
        <td> Remove the MPSAFE syscall flag from the syscall table. </td>
        <td> &a.jhb; </td>
        <td> 28 July 2006 </td>
        <td> &status.done; </td>
      </tr>

      <tr>
	<td> Add sufficient synchronization to printf to avoid printing
	  problems but not so much it doesn't work in debugging contexts. </td>
	<td> &a.jb; </td>
	<td> 1 November 2006 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Expand mutex profiling tool to also profile sx locks. </td>
	<td> &a.kmacy; </td>
	<td> 11 November 2006 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock down the TTY subsystem. </td>
	<td> &a.ed; </td>
	<td> 20 August 2008 </td>
	<td> &status.done; </td>
      </tr>

      <!-- WIP -->

      <tr>
	<td> Lock struct proc. </td>
	<td> &a.jhb; </td>
	<td> 20 February 2001 </td>
	<td> &status.wip; </td>
      </tr>

      <tr>
	<td> Fix clock locking to be the same on all platforms. </td>
	<td> &a.jhb; </td>
	<td> 16 November 2001 </td>
	<td> &status.wip; </td>
      </tr>

      <tr>
	<td> Make use of process locking and process reference counting
	  to protect debugging interfaces (and procfs). </td>
	<td> &a.jhb; </td>
	<td> 27 February 2002 </td>
	<td> &status.wip; </td>
      </tr>

      <tr>
	<td> Make use of process locking to protect process monitoring
	  sysctls, including those employed by 'ps' and related tools.</td>
	<td> &a.jhb; </td>
	<td> 27 February 2002 </td>
	<td> &status.wip; </td>
      </tr>

      <tr>
	<td> Lock down newbus infrastructure to support driver
	  fine-graining. </td>
	<td> &a.imp; </td>
	<td> 28 February 2002 </td>
	<td> &status.wip; </td>
      </tr>

      <tr>
	<td> SMPng architecture document. </td>
	<td> &a.jhb;, &a.rwatson; </td>
	<td> 28 February 2002 </td>
	<td> &status.wip; </td>
      </tr>

      <tr>
	<td> Move to shared lock for VOP_GETATTR() to reduce blocking during
	  frequent lightweight VFS operations.  Modify namei() to provide
	  a LOOKUP_SHARED flag to indicate when the lock required may be
	  shared instead of exclusive. </td>
	<td> &a.jeff; </td>
	<td> 11 March 2002 </td>
	<td> &status.wip; </td>
      </tr>

      <tr>
	<td> Document existing vm_map locking and verify it's correctness. </td>
	<td> &a.alc; </td>
	<td> 18 May 2002 </td>
	<td> &status.wip; </td>
      </tr>

      <tr>
	<td> Document existing vm_object locking and verify it's
	  correctness. </td>
	<td> &a.alc; </td>
	<td> 4 May 2002 </td>
	<td> &status.wip; </td>
      </tr>

      <tr>
	<td> Implement lazy interrupt thread switching (context
	  stealing) on i386. </td>
	<td> &a.bmilekic;, &a.kan; </td>
	<td> 10 December 2002 </td>
	<td> &status.wip; </td>
      </tr>

      <tr>
	<td> Implement lazy interrupt thread switching (context
	  stealing) on sparc64. </td>
	<td> &a.jake; </td>
	<td> 10 December 2002 </td>
	<td> &status.wip; </td>
      </tr>

      <tr>
	<td> Switch from using lockmgr in VM to using a mutex or exclusive
	  sxlock.  Push down Giant on all VM except for vm_object/VFS and
	  vm_page/pmap components. </td>
	<td> &a.alc; </td>
	<td> 10 December 2002 </td>
	<td> &status.wip; </td>
      </tr>

      <tr>
	<td> Modify device driver API to permit drivers to more easily
	  split "in interrupt context" and "in interrupt thread"
	  code so as to acknowledge interrupts faster.  This will permit
	  lower latency in interrupt handling. </td>
	<td> &a.piso; </td>
	<td> 24 February 2007 </td>
	<td> &status.wip; </td>
      </tr>

      <!-- Stalled -->

      <!-- Not Started -->

      <tr>
	<td> Conditionalize atomic ops in the SMP code that are used
	  for debugging statistics. </td>
	<td> &a.peter; </td>
	<td> 15 March 2001 </td>
	<td> &status.new; </td>
      </tr>

      <tr>
	<td> Axe schedcpu() in favor of event driven priority updates as
	  much as possible. </td>
	<td> &nbsp; </td>
	<td> 7 September 2001 </td>
	<td> &status.new; </td>
      </tr>

      <tr>
	<td> Fix *hold (e.g. crhold) to return reference to object. </td>
	<td> &nbsp; </td>
	<td> 7 September 2001 </td>
	<td> &status.new; </td>
      </tr>

      <tr>
	<td> Add witness checking for lockmgr locks. </td>
	<td> &nbsp; </td>
	<td> 7 September 2001 </td>
	<td> &status.new; </td>
      </tr>

      <tr>
	<td> Add ICU spin locks on ia64. </td>
	<td> &nbsp; </td>
	<td> 4 January 2002 </td>
	<td> &status.new; </td>
      </tr>

      <tr>
	<td> Add a witness_sleep() check to copyin/out() and s/fuword(). </td>
	<td> &a.jhb; </td>
	<td> 7 June 2002 </td>
	<td> &status.new; </td>
      </tr>

      <tr>
	<td> Remove Giant from mi_startup() and push Giant down into
	  individual SYSINIT functions.  Many SYSINIT functions probably do
	  not need Giant anyway. </td>
	<td> &nbsp; </td>
	<td> 21 October 2005 </td>
	<td> &status.new; </td>
      </tr>

<!--
      <tr>
        <td>  </td>
        <td> &nbsp; </td>
        <td> D M 2002 </td>
        <td> &status.new; </td>
      </tr>

-->
    </table>

    <p>以下のテーブルは、ネットワークスタックのマルチスレッド化に関するサブタスクの
      TODO リストです。</p>

    <table class="tblbasic">
      <tr class="heading">
	<th> タスク </th>
	<th> 担当者 </th>
	<th> 最終更新 </th>
	<th> ステータス </th>
      </tr>

      <tr>
	<td> Protect network interface queues. </td>
	<td> &a.jlemon; </td>
	<td> 24 November 2000 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock up IP. </td>
	<td> &a.jennifer;, &a.hsu; </td>
	<td> 10 June 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock up TCP. </td>
	<td> &a.jennifer;, &a.hsu;, &a.sam;, &a.rwatson;</td>
	<td> 24 November 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock up UDP. </td>
	<td> &a.jennifer;, &a.hsu;, &a.rwatson; </td>
	<td> 24 November 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock ifaddr reference counts. </td>
	<td> &a.hsu; </td>
	<td> 18 December 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock up ifnet list. </td>
	<td> &a.hsu; </td>
	<td> 21 December 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock radix trees. </td>
	<td> &a.hsu; </td>
	<td> 23 December 2002 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock up ARP. </td>
	<td> &a.hsu; </td>
	<td> 16 January 2003 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock up raw IP. </td>
	<td> &a.sam;, &a.rwatson; </td>
	<td> 24 July 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock divert sockets. </td>
	<td> &a.sam; </td>
	<td> 4 October 2003 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock ipfw2. </td>
	<td> &a.sam; </td>
	<td> 4 October 2003 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock DUMMYNET. </td>
	<td> &a.sam; </td>
	<td> 4 October 2003 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock ethernet bridge. </td>
	<td> &a.sam; </td>
	<td> 4 October 2003 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock IP fragment queues. </td>
	<td> &a.rwatson; </td>
	<td> 4 October 2003 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock routing entries. </td>
	<td> &a.sam; </td>
	<td> 4 October 2003 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock FAST_IPSEC. </td>
	<td> &a.sam; </td>
	<td> 4 October 2003 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Permit parallel entry into isr processing. </td>
	<td> &a.rwatson;, &a.sam; </td>
	<td> 11 October 2003 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock if_disc "discard interface". </td>
	<td> &a.rwatson; </td>
	<td> 9 March 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock if_faith "IPv6-to-IPv4 TCP relay interface. " </td>
	<td> &a.sam;, &a.rwatson; </td>
	<td> 9 March 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock if_gif "generic tunnel interface". </td>
	<td> &a.rwatson; </td>
	<td> 9 March 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Review ECN tunnel support (ip_ecn.c). </td>
	<td> &a.rwatson; </td>
	<td> 9 March 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> if_tap global and softc locking. </td>
	<td> &a.rwatson; </td>
	<td> 23 April 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> if_tun global and softc locking. </td>
	<td> &a.rwatson; </td>
	<td> 23 April 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> netatalk/aarp.c locking. </td>
	<td> &a.rwatson; </td>
	<td> 23 April 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Cache socket MAC label in inpcb label for IPv4 sockets so that
	  the label can be used safely at the inet layer without socket
	  locks. </td>
	<td> &a.rwatson; </td>
	<td> 23 April 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> IP encapsulation subroutines (ip_encap.c). </td>
	<td> &a.rwatson; </td>
	<td> 23 April 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock globals in loopback interface (if_loop.c). </td>
	<td> &a.rwatson; </td>
	<td> 23 April 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Use m_tags in if_gif to limit looping configurations, rather
	  than a non-MPSAFE static coutner. </td>
	<td> &a.ru; </td>
	<td> 23 April 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> netatalk DDP PCB locking. </td>
	<td> &a.rwatson; </td>
	<td> 24 July 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock up syncache. </td>
	<td> &a.hsu;, &a.sam; </td>
	<td> 10 November 2003 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Permit IP forwarding path to run Giant-free. </td>
	<td> &a.sam; </td>
	<td> 1 December 2003 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock &unix; domain protocols, fifofs. </td>
	<td> &a.sam;, &a.rwatson; </td>
	<td> 24 July 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Giant lock over NFS server to protect against so_upcall() w/o Giant </td>
	<td> &a.rwatson; </td>
	<td> 24 July 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock interface cloning meta-data. </td>
	<td> &a.brooks; </td>
	<td> 24 July 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Apply combination of socket and socket buffer locks, label caching
	  to MAC labels on sockets so that they can be used safely without
	  Giant. </td>
	<td> &a.rwatson; </td>
	<td> 24 July 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Make routing socket message dispatch use a netisr to avoid
	  re-entering the socket code from the routing code, resolving lock
	  order issues. </td>
	<td> &a.rwatson; </td>
	<td> 24 July 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Introduce accept locking to protect accept incomplete and
	  complete queues on listen sockets. </td>
	<td> &a.rwatson; </td>
	<td> 24 July 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Break out socket buffer wakeup, socket buffer append, socket
	  state change, socket buffer reserve, flush, etc, calls into
	  _locked() and unlocked versions, and avoid conditional locking.
	  </td>
	<td> &a.rwatson; </td>
	<td> 24 July 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock down AARP, AppleTalk Address Resolution Protocol. </td>
	<td> &a.rwatson; </td>
	<td> 24 July 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Fix pull/push cache data synchronization issues in sosend(),
	  soreceive(), allowing them to run Giant-free. </td>
	<td> &a.rwatson; </td>
	<td> 24 July 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Protect socket global counters/limits and generation number
	  with a mutex. </td>
	<td> &a.rwatson; </td>
	<td> 24 July 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock down unit allocation meta-data in interface related
	  netgraph modules. </td>
	<td> &a.rwatson; </td>
	<td> 24 July 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock down socket buffer OOB fields across TCP/IP, IPX. </td>
	<td> &a.rwatson; </td>
	<td> 24 July 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Add MSG_NBIO so that fifofs can avoid frobbing SO_NBIO in
	  a manner that risks races. </td>
	<td> &a.truckman; </td>
	<td> 24 July 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Protect all use of so_count with socket lock. </td>
	<td> &a.rwatson; </td>
	<td> 24 July 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Move socket buffer related state from so_state to sb_state so
	  it can be properly locked by the socket buffer mutex. </td>
	<td> &a.rwatson; </td>
	<td> 24 July 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Introduce a temporary global lock to lock the if_label field
	  used by the MAC Framework. </td>
	<td> &a.rwatson; </td>
	<td> 24 July 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Push VFS-specific behavior out of fdrop_locked() and acquire
	  Giant in the fo_close per-object methods rather than
	  fdrop_locked(), so that pipes and sockets can run fo_close()
	  Giant-free. </td>
	<td> &a.rwatson; </td>
	<td> 24 July 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Push Giant acquisition into fo_stat() file descriptor stat
	  operation, rather than acquiring it in fstat(), so that fstat()
	  on sockets and pipes can run Giant-free. </td>
	<td> &a.rwatson; </td>
	<td> 24 July 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Don't hold socket locks over entry to protocol switch methods,
	  allowing protocol methods to acquire socket locks after protocol
	  locks in the lock order. </td>
	<td> &a.rwatson; </td>
	<td> 24 July 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Port inpcb mutex locking, assertions from IPv4 to IPv6. </td>
	<td> &a.rwatson; </td>
	<td> 8 August 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Add IFF_NEEDSGIANT to allow if_start to run with Giant for
	  specific interfaces.  Defer if_start to task queue. </td>
	<td> &a.rwatson; </td>
	<td> 8 August 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Push down Giant in stat(), fo_stat() to allow Giant-free stat
	  of pipes, sockets. </td>
	<td> &a.rwatson; </td>
	<td> 8 August 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Add TCP lock assertions. </td>
	<td> &a.rwatson; </td>
	<td> 24 November 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock socket layer. </td>
	<td> &a.sam;, &a.rwatson; </td>
	<td> 24 November 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Review TCP timer code. </td>
	<td> &a.rwatson; </td>
	<td> 24 November 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Analyze and reduce cost of entropy gathering in network critical
	  paths. </td>
	<td> &a.rwatson;, &a.markm; </td>
	<td> 24 November 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Allow code to declare NET_NEEDS_GIANT(), forcing Giant over the
	  network stack if that code is compiled into the kernel. </td>
	<td> &a.rwatson; </td>
	<td> 28 August 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Disable Giant over the network stack in the default
	  configuration. </td>
	<td> &a.rwatson; </td>
	<td> 28 August 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Additional KTR tracing for UMA, callouts, interrupts, etc. </td>
	<td> &a.rwatson; </td>
	<td> 07 November 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Move to using file descriptor reference counts instead of
	  socket reference counts for socket system calls, avoiding extra
	  reference couht operations. </td>
	<td> &a.rwatson; </td>
	<td> 24 October 2004 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Lock down netnatm. </td>
	<td> &a.rwatson; </td>
	<td> April 2006 </td>
	<td> &status.done; </td>
      </tr>

      <tr>
	<td> Default to direct dispatch from ithreads </td>
	<td> &a.rwatson; </td>
	<td> 28 November 2006 </td>
	<td> &status.done; </td>
      </tr>

      <!-- WIP -->

      <tr>
	<td> Lock IPv6. </td>
	<td> &a.sam;, &a.rwatson;, &a.ume;, &a.mlaier; </td>
	<td> 8 August 2004 </td>
	<td> &status.wip; </td>
      </tr>

      <tr>
	<td> if_ppp global, per-softc locking. </td>
	<td> &a.rwatson;, Maurycy Pawlowski-Wieronski &lt;maurycy@fouk.org&gt; </td>
	<td> 23 April 2004 </td>
	<td> &status.wip; </td>
      </tr>

      <tr>
	<td> Lock struct ifnet. </td>
	<td> &a.mlaier;, &a.luigi;, Maurycy Pawlowski-Wieronski &lt;maurycy@fouk.org&gt; </td>
	<td> 23 April 2004 </td>
	<td> &status.wip; </td>
      </tr>

      <tr>
	<td> Lock IPv4, IPv6, atalk interface address lists. </td>
	<td> &a.mlaier;, &a.rwatson; </td>
	<td> 8 August 2004 </td>
	<td> &status.wip; </td>
      </tr>

      <tr>
	<td> Lock consumers of BSD compress (bsd_comp.c) code to protect
	  compression state. </td>
	<td> &a.rwatson; </td>
	<td> 23 April 2004 </td>
	<td> &status.wip; </td>
      </tr>

      <tr>
	<td> Lock global and softc state for six-to-four converter (if_stf.c). </td>
	<td> &a.rwatson; </td>
	<td> 23 April 2004 </td>
	<td> &status.wip; </td>
      </tr>

      <tr>
	<td> Lock down global and softc state for SLIP (if_sl.c). </td>
	<td> &a.rwatson; </td>
	<td> 23 April 2004 </td>
	<td> &status.wip; </td>
      </tr>

      <tr>
	<td> Lock global and softc state for SPPP (if_sppsubr.c). </td>
	<td> &a.rik;, &a.rwatson; </td>
	<td> 23 April 2004 </td>
	<td> &status.wip; </td>
      </tr>

      <tr>
	<td> IGMP locking. </td>
	<td> &a.rwatson; </td>
	<td> 23 April 2004 </td>
	<td> &status.wip; </td>
      </tr>

      <tr>
	<td> IP ID locking. </td>
	<td> &a.ups; </td>
	<td> 24 June 2005 </td>
	<td> &status.wip; </td>
      </tr>

      <tr>
	<td> Locking for polling(4). </td>
	<td> &a.pjd;, &a.glebius; </td>
	<td> 19 October 2005 </td>
	<td> &status.wip; </td>
      </tr>

      <tr>
	<td> BPF locking needs some cleanup, there are some race conditions there relating to interface removal. </td>
	<td> &a.csjp; </td>
	<td> 2 June 2006 </td>
	<td> &status.wip; </td>
      </tr>

      <!-- Not Started -->

      <tr>
	<td> Reduce contention upon locking a socket buffer by replacing
	     tsleep() and wakeup() with a condvar. </td>
	<td> &a.tanimura; </td>
	<td> 21 April 2002 </td>
	<td> &status.new; </td>
      </tr>

      <tr>
	<td> Lock if_ef "ethernet frame" driver. </td>
	<td> &nbsp; </td>
	<td> 9 March 2004 </td>
	<td> &status.new; </td>
      </tr>

      <tr>
	<td> Further cleanup of socket state machine in order to facilitate finishing socking locking of state transitions. </td>
	<td> &a.rwatson; </td>
	<td> 19 October 2005 </td>
	<td> &status.new; </td>
      </tr>

      <tr>
	<td> Lock KAME IPSEC. </td>
	<td> &nbsp; </td>
	<td> 19 October 2005 </td>
	<td> &status.new; </td>
      </tr>

      <tr>
	<td> Only one of our ATM stacks is MPSAFE, the other two should be deleted or fixed. </td>
	<td> &nbsp; </td>
	<td> 19 October 2005 </td>
	<td> &status.new; </td>
      </tr>

      <tr>
	<td> Lock ND6 (IPv6 Neighbor Discovery). </td>
	<td> &a.gnn; </td>
	<td> 19 October 2005 </td>
	<td> &status.new; </td>
      </tr>

      <tr>
	<td> Lock IPv6 multicast address lists. </td>
	<td> &nbsp; </td>
	<td> 19 October 2005 </td>
	<td> &status.new; </td>
      </tr>

      <tr>
	<td> Lock IPv4 and IPv6 global address lists. </td>
	<td> &nbsp; </td>
	<td> 19 October 2005 </td>
	<td> &status.new; </td>
      </tr>

      <tr>
	<td> Continued cleanup of the stack/device driver ownership and locking for struct ifnet needs to be done. Most fields are now either locked or assigned ownership. Some fields, such as if_flags, need a bit more cleanup due to device drivers modifying stack-owned fields. </td>
	<td> &a.rwatson; </td>
	<td> 19 October 2005 </td>
	<td> &status.new; </td>
      </tr>

      <tr>
	<td> When interfaces are torn down, there are a number of races (not all associated with SMPng) that need to be thought about. </td>
	<td> &nbsp; </td>
	<td> 19 October 2005 </td>
	<td> &status.new; </td>
      </tr>

      <tr>
	<td> Lock if_vlan and inter-layer multicast address manipulation and synchronization in if_vlan. </td>
	<td> &a.glebius;, &a.yar; </td>
	<td> 19 October 2005 </td>
	<td> &status.new; </td>
      </tr>

      <tr>
	<td> Further investigate locking in in_gif and in6_gif. </td>
	<td> &nbsp; </td>
	<td> 19 October 2005 </td>
	<td> &status.new; </td>
      </tr>

      <tr>
	<td> FAST_IPSEC and KAME IPSEC's PF_KEY support likely needs an asynchronous dispatch to prevent socket lock ordering issues similar to what was done for PF_ROUTE. </td>
	<td> &a.rwatson; </td>
	<td> 19 October 2005 </td>
	<td> &status.new; </td>
      </tr>

      <tr>
	<td> Investigate how to eliminate the use of ACCEPT_LOCK(), which currently prevents races in the tear-down of sockets. </td>
	<td> &a.rwatson; </td>
	<td> 19 October 2005 </td>
	<td> &status.new; </td>
      </tr>

      <tr>
	<td> Fix SMP problems with netgraph restructuring. </td>
	<td> &a.glebius; </td>
	<td> 19 October 2005 </td>
	<td> &status.new; </td>
      </tr>

      <tr>
	<td> Verify locking in netgraph nodes and improve where necessary. </td>
	<td> &a.glebius; </td>
	<td> 19 October 2005 </td>
	<td> &status.new; </td>
      </tr>

      <tr>
	<td> More finely-grained locking for pf(4). </td>
	<td> &a.glebius; </td>
	<td> 19 October 2005 </td>
 	<td> &status.new; </td>
      </tr>

    </table>

    <a name="issues"></a>
    <h2>既知の問題点 (Historical)</h2>

    <table class="tblbasic">
      <tr class="heading">
	<th> 問題点 </th>
	<th> 最終更新 </th>
	<th> テータス </th>
      </tr>

      <tr>
	<td> Idle processor time is not charged to the idle processes. </td>
	<td> 20 September 2000 </td>
	<td> &status.resolved; </td>
      </tr>

      <tr>
	<td> microuptime creeps backwards. </td>
	<td> 4 October 2000 </td>
	<td> &status.resolved; </td>
      </tr>

      <tr>
	<td> microuptime() went backwards </td>
	<td> 4 October 2000 </td>
	<td> &status.resolved; </td>
      </tr>

      <tr>
	<td> Process accounting is not accurate (the more CPUs, the
	  closer to correct it is). </td>
	<td> 5 October 2000 </td>
	<td> &status.resolved; </td>
      </tr>

      <tr>
	<td> M_DEVBUF is probably the wrong memory pool for interrupt
	  stuff and we should think about creating a new malloc pool for
	  that stuff. </td>
	<td> 9 February 2001 </td>
	<td> &status.resolved; </td>
      </tr>

      <tr>
	<td> PC card eject panics due to a race condition in the
	  interrupt thread code. </td>
	<td> 15 March 2001 </td>
	<td> &status.resolved; </td>
      </tr>

      <tr>
	<td> SMP x86 boxes are seeing NCPU * 100 clk interrupts and
	  NCPU * 128 rtc interrupts. </td>
	<td> 15 May 2001 </td>
	<td> &status.resolved; </td>
      </tr>

      <tr>
	<td> Witness will infinitely recurse when it acquires Giant after
	  sleeping with a sleepable lock. </td>
	<td> 27 June 2001 </td>
	<td> &status.resolved; </td>
      </tr>

      <tr>
	<td> Serial gdb does not work if boot_ddb and boot_gdb options
	  are specified. </td>
	<td> 14 July 2002 </td>
	<td> &status.resolved; </td>
      </tr>

      <tr>
	<td> Serial gdb does not work at 115200 baud. </td>
	<td> 14 July 2002 </td>
	<td> &status.resolved; </td>
      </tr>

      <tr>
	<td> Serial gdb never regains control once 'cont' has been
	  entered. </td>
	<td> 14 July 2002 </td>
	<td> &status.resolved; </td>
      </tr>

      <!-- unresolved -->

      <tr>
	<td> Profiling is broken. </td>
	<td> 20 February 2001 </td>
	<td> &status.unresolved; </td>
      </tr>

<!--
      <tr>
        <td> </td>
        <td> D M 2002 </td>
        <td> &status.unresolved; </td>
      </tr>

-->
    </table>

    <a name="news"></a>
    <h2>ニュース (Historical)</h2>

    <p>このページの残りは新しいものから順に並んでいます。</p>

<!--
<b> D M 2002</b>
<ul>
	<li> <p>  </p> </li>
</ul>
-->
    <b>28 August 2004</b>
    <ul>
      <li>
	<p>&a.rwatson; threw the switch to change the network stack to run
	without the Giant lock by default, permitting the network stack to be
	run on multiple CPUs at a time, as well as to preempt and be
	preempted by other code.</p>
      </li>
    </ul>
    <b>30 October 2003</b>
    <ul>
      <li>
      <p>&a.grog; submitted a
        <a href="http://www.lemis.com/grog/SMPng/Singapore/">FreeBSD SMPng paper</a>
       	to the <a href="http://www.aeosc.org/">Asian Enterprise Open Source
        Conference</a> in Singapore.  The paper presents a historical view of
        SMPng development through 2001, but omits discussion of more recent
        progress on the SMPng project, such as substantial performance enhancements
        resulting from extensive lock pushdown in the storage subsystem, VM
        subsystem, and major IPC subsystems.</p>
      </li>
    </ul>

    <b>13 January 2002</b>
    <ul>
      <li>
      <p>A <a href =
        "http://docs.FreeBSD.org/cgi/getmsg.cgi?fetch=122646+0+archive/2002/freebsd-smp/20020113.freebsd-smp">
        status report</a> was sent to the -smp mailing list.</p>
      </li>
    </ul>

    <b>15 May 2001</b>
    <ul>
      <li>
	<p>&a.grog; has made his <a href =
	  "http://www.lemis.com/~grog/SMPng/USENIX/">USENIX paper</a> available,
	  which he will present in Boston at the end of June.</p>
      </li>
    </ul>

    <b>22 March 2001</b>
    <ul>
	<li>
	<p>A <a href =
	  "http://docs.FreeBSD.org/cgi/getmsg.cgi?fetch=41302+0+archive/2001/freebsd-smp/20010325.freebsd-smp">
	  status report</a> was sent to the -smp mailing list.</p>
      </li>
    </ul>

    <b>5 March 2001</b>
    <ul>
      <li>
	<p>A <a href =
	  "http://docs.FreeBSD.org/cgi/getmsg.cgi?fetch=0+0+archive/2001/freebsd-smp/20010311.freebsd-smp">
	  status report</a> was sent to the -smp mailing list.</p>
      </li>
    </ul>

    <b>24 January 2001</b>
    <ul>
      <li>
	<p>A <a href =
	  "http://docs.FreeBSD.org/cgi/getmsg.cgi?fetch=38125+0+archive/2001/freebsd-smp/20010128.freebsd-smp">
	  status report</a> was sent to the -smp mailing list.</p>
      </li>
    </ul>

    <b>12 January 2001</b>
    <ul>
      <li>
	<p>A <a href =
	  "http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=45111+48223+/usr/local/www/db/text/2001/freebsd-smp/20010114.freebsd-smp">
	  status report</a> was sent to the -smp mailing list.</p>
      </li>
    </ul>

    <b>11 October 2000</b>
    <ul>
      <li>
	<p>&a.jhb; and &a.cp; came up with a preliminary list of
	  <a href="http://storm.uk.FreeBSD.org/~hiten/smp_synch_rules.html">rules
	  </a> that should be followed when working on kernel
	  synchronization.</p>
      </li>
    </ul>

    <b>6 September 2000</b>
    <ul>
      <li>
	<p>The SMP code has been committed.  All further work is being
	  done in cvs rather than with patches.</p>
      </li>

      <li>
	<p>An updated <a
	  href="http://people.FreeBSD.org/~jasone/smp/smpng_patch_9.7">patch</a>
	  is available for download.  This patch is probably what will
	  actually get committed.</p>
      </li>
    </ul>

    <b>5 September 2000</b>
    <ul>
      <li>
	<p>An updated <a
	  href="http://people.FreeBSD.org/~jasone/smp/smpng_patch_9.1">patch</a>
	  is available for download.  This patch makes rtc a fast
	  interrupt, uses locked instructions for mutexes in MP kernels,
	  and corrects mtx_*() linkage within modules.</p>
      </li>
    </ul>

    <b>1 September 2000</b>
    <ul>
      <li>
	<p>The code is working for the most part now on i386 (UP and MP).
	  Some additional coding is still necessary for the alpha,
	  which is being done now.</p>
      </li>
    </ul>

    <b>30 August 2000</b>
    <ul>
      <li>
	<p>Updated patches for i386 and alpha are available <a href =
	  "http://people.FreeBSD.org/~jasone/smp/smpng_patch8.6">here</a>.</p>
      </li>
    </ul>

    <b>12 August 2000</b>
    <ul>
      <li>
	<p>Updated patches for i386 are available <a href =
	  "http://www.FreeBSD.org/~jhb/patches/smpng.patch6">here</a>.
	  Process accounting still doesn't work correctly, but a number
	  of other improvements have been made.</p>
      </li>
    </ul>

    <b>3 August 2000</b>
    <ul>
      <li>
	<p>Patches with functional heavy-weight threads for the i386
	  platform are available <a href =
	  "http://people.FreeBSD.org/~grog/patches4.gz">here</a>.
	  There are a couple of minor issues with this patch set.
	  Specifically, process accounting doesn't work correctly.</p>
      </li>
    </ul>

    <b>6 July 2000</b>
    <ul>
      <li>
	<p>Sheldon Hearn has prepared a mutex(9) man page based on the
	  BSD/OS one, which is available <a href =
	  "http://people.FreeBSD.org/~jake/mutex.9">here</a>.</p>
      </li>
    </ul>

    <b>5 July 2000</b>
    <ul>
      <li>
	<p>&a.jake; put an updated patch <a href =
	  "http://people.FreeBSD.org/~jake/smpng.diff">here</a>.</p>
      </li>
    </ul>

    <b>3 July 2000</b>
    <ul>
      <li>
	<p>&a.jake; has the BSD/OS lock code working now, and has
	  incorporated the pertinent portions of &a.dillon;'s patches
	  (idle processes, some of the schedlock changes, etc.).
	  His patch set is available <a href =
	  "http://people.FreeBSD.org/~jake/smpng2.tar">here</a>.</p>
      </li>
    </ul>

    <b>26 June 2000</b>
    <ul>
      <li>
	<p>&a.cp; has provided the PostScript versions of his
	  presentation slides for the
	  <a href="http://people.FreeBSD.org/~jasone/smp/smp_meeting_slides_1.ps">first day</a> and
	  <a href="http://people.FreeBSD.org/~jasone/smp/smp_meeting_slides_2.ps">second day</a> of the
	  SMP meeting.</p>
      </li>
    </ul>

    <b>25 June 2000</b>
    <ul>
      <li>
	<p>Here's a copy of the
	  <a href="http://docs.FreeBSD.org/cgi/getmsg.cgi?fetch=226208+0+archive/2000/freebsd-smp/20000625.freebsd-smp">SMP meeting summary</a>
	  that was posted to the -smp mailing list.</p>
      </li>
    </ul>

    <b>19 June 2000</b>
    <ul>
      <li>
	<p>Here's a copy of the
	  <a href="http://docs.FreeBSD.org/cgi/getmsg.cgi?fetch=154884+0+archive/2000/freebsd-current/20000625.freebsd-current">SMP project announcement</a>
	  that was posted to the -current mailing list.</p>
      </li>
    </ul>

  </body>
</html>