Knowledge (XXG)

SLUB (software)

Source đź“ť

1471: 1483: 25: 1509: 1457: 139:
caused by allocations and deallocations. The technique is used to retain allocated memory that contains a data object of a certain type for reuse upon subsequent allocations of objects of the same type. It is used in
1033: 322: 1122: 1117: 200: 247: 1569: 1550: 1475: 854: 622: 108: 46: 39: 352: 135:
mechanism intended for the efficient memory allocation of kernel objects which displays the desirable property of eliminating
964: 292: 89: 1398: 61: 1279: 327: 681: 68: 1380: 1194: 312: 240: 35: 1385: 1027: 363: 1543: 948: 933: 849: 637: 442: 136: 75: 1291: 1090: 726: 614: 569: 519: 503: 480: 302: 1436: 1413: 1408: 1243: 1209: 1199: 1071: 1016: 893: 432: 57: 1574: 1487: 1390: 233: 1579: 1420: 1022: 584: 282: 1536: 1216: 695: 554: 488: 1370: 1204: 790: 690: 627: 549: 544: 332: 1341: 989: 959: 954: 805: 460: 422: 132: 1520: 1095: 657: 378: 368: 277: 82: 1331: 780: 153: 127: 1361: 1266: 1177: 1054: 1049: 1044: 1039: 822: 647: 642: 287: 1563: 1296: 1112: 918: 908: 667: 539: 417: 1461: 1182: 1100: 994: 938: 297: 256: 1187: 1080: 662: 559: 24: 1274: 1249: 1236: 1141: 1129: 1059: 969: 455: 358: 317: 1136: 1105: 974: 810: 599: 470: 427: 1254: 1075: 1064: 984: 928: 923: 869: 817: 706: 632: 1336: 1321: 1231: 1221: 1161: 1085: 979: 903: 844: 758: 721: 652: 594: 589: 493: 450: 1326: 1311: 1301: 1156: 1151: 913: 864: 837: 800: 770: 737: 716: 465: 412: 307: 220: 215: 180: 1516: 1508: 1456: 1146: 1009: 943: 898: 859: 827: 795: 753: 748: 711: 579: 574: 534: 529: 141: 1226: 1004: 832: 763: 407: 159: 229: 225: 1306: 1284: 18: 201:
Kernel commit that made SLUB the default allocator in 2.6.23
1524: 1429: 1369: 1360: 1265: 1170: 886: 779: 689: 680: 613: 518: 511: 502: 479: 441: 400: 393: 341: 270: 263: 144:and became the default allocator since 2.6.23. 1544: 241: 8: 1551: 1537: 1366: 1262: 686: 515: 508: 397: 267: 248: 234: 226: 16:A Linux kernel memory management mechanism 109:Learn how and when to remove this message 1476:Free and open-source software portal 1034:Earliest eligible virtual deadline first 171: 181:"SLUB: The unqueued slab allocator V6" 45:Please improve this article by adding 7: 1505: 1503: 221:SLUB: The unqueued slab allocator V6 1523:. You can help Knowledge (XXG) by 14: 179:Christoph Lameter (31 Mar 2007). 1507: 1482: 1481: 1469: 1455: 323:Supported computer architectures 23: 353:The Linux Programming Interface 1: 47:secondary or tertiary sources 1570:Memory management algorithms 1596: 1502: 1195:High-performance computing 1017:Process and I/O schedulers 1449: 1028:Completely Fair Scheduler 293:Tanenbaum–Torvalds debate 949:Kernel same-page merging 1292:OS-level virtualization 1519:-related article is a 1437:List of Linux adopters 379:Linux User Group (LUG) 34:relies excessively on 1023:Brain Fuck Scheduler 283:Linux Mark Institute 58:"SLUB" software 1217:Real-time computing 489:Linux Standard Base 1205:Compute Node Linux 791:C standard library 216:The SLUB allocator 1532: 1531: 1497: 1496: 1445: 1444: 1356: 1355: 1352: 1351: 990:Network scheduler 882: 881: 878: 877: 676: 675: 423:Linux kernel oops 389: 388: 369:Linux conferences 133:memory management 119: 118: 111: 93: 1587: 1553: 1546: 1539: 1511: 1504: 1485: 1484: 1474: 1473: 1472: 1462:Linux portal 1460: 1459: 1367: 1263: 1072:Security Modules 687: 516: 509: 398: 278:Linux Foundation 268: 250: 243: 236: 227: 203: 198: 192: 191: 189: 188: 176: 114: 107: 103: 100: 94: 92: 51: 27: 19: 1595: 1594: 1590: 1589: 1588: 1586: 1585: 1584: 1560: 1559: 1558: 1557: 1500: 1498: 1493: 1470: 1468: 1454: 1441: 1425: 1372: 1348: 1332:User-mode Linux 1261: 1166: 874: 782: 775: 694: 672: 609: 521: 498: 475: 437: 385: 337: 328:Version history 259: 254: 212: 207: 206: 199: 195: 186: 184: 178: 177: 173: 168: 154:Slab allocation 150: 115: 104: 98: 95: 52: 50: 44: 40:primary sources 28: 17: 12: 11: 5: 1593: 1591: 1583: 1582: 1577: 1572: 1562: 1561: 1556: 1555: 1548: 1541: 1533: 1530: 1529: 1512: 1495: 1494: 1492: 1491: 1479: 1465: 1450: 1447: 1446: 1443: 1442: 1440: 1439: 1433: 1431: 1427: 1426: 1424: 1423: 1418: 1417: 1416: 1411: 1403: 1402: 1401: 1393: 1388: 1383: 1377: 1375: 1364: 1358: 1357: 1354: 1353: 1350: 1349: 1347: 1346: 1345: 1344: 1339: 1334: 1329: 1324: 1316: 1315: 1314: 1309: 1304: 1299: 1289: 1288: 1287: 1282: 1271: 1269: 1267:Virtualization 1260: 1259: 1258: 1257: 1252: 1241: 1240: 1239: 1234: 1229: 1224: 1214: 1213: 1212: 1207: 1202: 1192: 1191: 1190: 1185: 1174: 1172: 1168: 1167: 1165: 1164: 1159: 1154: 1149: 1144: 1139: 1133: 1132: 1127: 1126: 1125: 1120: 1113:Device drivers 1109: 1108: 1103: 1098: 1093: 1088: 1083: 1078: 1068: 1067: 1062: 1057: 1055:SCHED_DEADLINE 1052: 1050:O(1) scheduler 1047: 1045:O(n) scheduler 1042: 1040:Noop scheduler 1037: 1031: 1025: 1020: 1013: 1012: 1007: 1002: 997: 992: 987: 982: 977: 972: 967: 962: 957: 952: 946: 941: 936: 931: 926: 921: 916: 911: 906: 901: 896: 894:Kernel modules 890: 888: 884: 883: 880: 879: 876: 875: 873: 872: 867: 862: 857: 852: 847: 842: 841: 840: 835: 830: 825: 820: 815: 814: 813: 803: 798: 787: 785: 777: 776: 774: 773: 768: 767: 766: 756: 751: 746: 743: 740: 735: 732: 729: 724: 719: 714: 709: 704: 700: 698: 684: 678: 677: 674: 673: 671: 670: 665: 660: 655: 650: 648:Memory barrier 645: 640: 635: 630: 625: 619: 617: 611: 610: 608: 607: 606: 605: 602: 597: 592: 587: 582: 577: 567: 566: 565: 562: 557: 552: 547: 542: 537: 526: 524: 513: 506: 500: 499: 497: 496: 491: 485: 483: 477: 476: 474: 473: 468: 463: 458: 453: 447: 445: 439: 438: 436: 435: 430: 425: 420: 415: 410: 404: 402: 395: 391: 390: 387: 386: 384: 383: 382: 381: 373: 372: 371: 366: 361: 356: 345: 343: 339: 338: 336: 335: 330: 325: 320: 315: 310: 305: 300: 295: 290: 285: 280: 274: 272: 265: 261: 260: 255: 253: 252: 245: 238: 230: 224: 223: 218: 211: 210:External links 208: 205: 204: 193: 170: 169: 167: 164: 163: 162: 157: 149: 146: 128:slab allocator 117: 116: 31: 29: 22: 15: 13: 10: 9: 6: 4: 3: 2: 1592: 1581: 1578: 1576: 1573: 1571: 1568: 1567: 1565: 1554: 1549: 1547: 1542: 1540: 1535: 1534: 1528: 1526: 1522: 1518: 1513: 1510: 1506: 1501: 1490: 1489: 1480: 1478: 1477: 1466: 1464: 1463: 1458: 1452: 1451: 1448: 1438: 1435: 1434: 1432: 1428: 1422: 1419: 1415: 1412: 1410: 1407: 1406: 1404: 1400: 1397: 1396: 1395:Thin client: 1394: 1392: 1389: 1387: 1384: 1382: 1379: 1378: 1376: 1374: 1368: 1365: 1363: 1359: 1343: 1340: 1338: 1335: 1333: 1330: 1328: 1325: 1323: 1320: 1319: 1317: 1313: 1310: 1308: 1305: 1303: 1300: 1298: 1297:Linux-VServer 1295: 1294: 1293: 1290: 1286: 1283: 1281: 1278: 1277: 1276: 1273: 1272: 1270: 1268: 1264: 1256: 1253: 1251: 1248: 1247: 1245: 1242: 1238: 1235: 1233: 1230: 1228: 1225: 1223: 1220: 1219: 1218: 1215: 1211: 1208: 1206: 1203: 1201: 1198: 1197: 1196: 1193: 1189: 1186: 1184: 1181: 1180: 1179: 1176: 1175: 1173: 1169: 1163: 1160: 1158: 1155: 1153: 1150: 1148: 1145: 1143: 1140: 1138: 1135: 1134: 1131: 1128: 1124: 1121: 1119: 1116: 1115: 1114: 1111: 1110: 1107: 1104: 1102: 1099: 1097: 1094: 1092: 1089: 1087: 1084: 1082: 1079: 1077: 1073: 1070: 1069: 1066: 1063: 1061: 1058: 1056: 1053: 1051: 1048: 1046: 1043: 1041: 1038: 1035: 1032: 1029: 1026: 1024: 1021: 1018: 1015: 1014: 1011: 1008: 1006: 1003: 1001: 998: 996: 993: 991: 988: 986: 983: 981: 978: 976: 973: 971: 968: 966: 963: 961: 958: 956: 953: 950: 947: 945: 942: 940: 937: 935: 932: 930: 927: 925: 922: 920: 919:Device mapper 917: 915: 912: 910: 907: 905: 902: 900: 897: 895: 892: 891: 889: 885: 871: 868: 866: 863: 861: 858: 856: 853: 851: 848: 846: 843: 839: 836: 834: 831: 829: 826: 824: 821: 819: 816: 812: 809: 808: 807: 804: 802: 799: 797: 794: 793: 792: 789: 788: 786: 784: 778: 772: 769: 765: 762: 761: 760: 757: 755: 752: 750: 747: 744: 741: 739: 736: 733: 730: 728: 725: 723: 720: 718: 715: 713: 710: 708: 705: 702: 701: 699: 697: 692: 688: 685: 683: 679: 669: 666: 664: 661: 659: 656: 654: 651: 649: 646: 644: 641: 639: 636: 634: 631: 629: 626: 624: 621: 620: 618: 616: 612: 603: 601: 598: 596: 593: 591: 588: 586: 583: 581: 578: 576: 573: 572: 571: 568: 563: 561: 558: 556: 553: 551: 548: 546: 543: 541: 538: 536: 533: 532: 531: 528: 527: 525: 523: 517: 514: 510: 507: 505: 501: 495: 492: 490: 487: 486: 484: 482: 478: 472: 469: 467: 464: 462: 459: 457: 454: 452: 449: 448: 446: 444: 440: 434: 431: 429: 426: 424: 421: 419: 416: 414: 411: 409: 406: 405: 403: 399: 396: 392: 380: 377: 376: 374: 370: 367: 365: 362: 360: 357: 355: 354: 350: 349: 347: 346: 344: 340: 334: 331: 329: 326: 324: 321: 319: 316: 314: 311: 309: 306: 304: 301: 299: 296: 294: 291: 289: 286: 284: 281: 279: 276: 275: 273: 269: 266: 262: 258: 251: 246: 244: 239: 237: 232: 231: 228: 222: 219: 217: 214: 213: 209: 202: 197: 194: 182: 175: 172: 165: 161: 158: 155: 152: 151: 147: 145: 143: 138: 137:fragmentation 134: 130: 129: 126:the unqueued 123: 113: 110: 102: 91: 88: 84: 81: 77: 74: 70: 67: 63: 60: â€“  59: 55: 54:Find sources: 48: 42: 41: 37: 32:This article 30: 26: 21: 20: 1575:Linux kernel 1525:expanding it 1514: 1499: 1486: 1467: 1453: 1183:Linux kernel 1101:Tomoyo Linux 999: 696:File systems 351: 303:SCO disputes 264:Organization 257:Linux kernel 196: 185:. Retrieved 174: 125: 121: 120: 105: 99:October 2016 96: 86: 79: 72: 65: 53: 33: 1580:Linux stubs 1188:Linux-libre 1081:Exec Shield 960:Framebuffer 663:Video4Linux 520:System Call 348:Developers 288:Linus's law 1564:Categories 1275:Hypervisor 1237:PREEMPT_RT 1142:KernelCare 1130:Raw device 1060:SCHED_FIFO 970:KMS driver 887:Components 742:securityfs 628:Crypto API 570:Linux-only 456:System.map 359:kernel.org 318:menuconfig 313:GNU GPL v2 187:2014-08-02 69:newspapers 36:references 1414:LYME-LYCE 1137:initramfs 1106:Linux PAM 975:Netfilter 845:libcgroup 811:libhybris 783:libraries 731:hugetlbfs 682:Userspace 615:In-kernel 600:readahead 522:Interface 471:initramfs 428:SystemTap 401:Debugging 394:Technical 333:Criticism 183:. LWN.net 1488:Category 1430:Adopters 1405:Server: 1386:Embedded 1362:Adoption 1255:PSXLinux 1178:Mainline 1171:Variants 1123:graphics 1076:AppArmor 1065:SCHED_RR 985:nftables 929:dm-crypt 924:dm-cache 870:liburing 860:libevdev 818:dietlibc 707:configfs 633:io uring 148:See also 1421:Devices 1381:Desktop 1342:coLinux 1337:MkLinux 1322:L4Linux 1250:ÎĽClinux 1232:Xenomai 1222:RTLinux 1162:Ksplice 1091:SELinux 1086:seccomp 1036:(EEVDF) 980:Netlink 909:Console 904:cgroups 855:libalsa 781:Wrapper 759:systemd 722:debugfs 691:Daemons 653:New API 595:inotify 590:dnotify 494:x32 ABI 451:vmlinux 443:Startup 342:Support 131:) is a 83:scholar 1391:Gaming 1373:of use 1327:ELinOS 1318:Other 1312:OpenVZ 1302:Lguest 1246:-less 1157:kpatch 1152:kGraft 1118:802.11 914:bcache 865:libusb 850:libdrm 838:Newlib 823:EGLIBC 806:Bionic 801:uClibc 771:Kmscon 745:sockfs 738:procfs 734:pipefs 717:devpts 643:kernfs 585:splice 540:select 512:Kernel 466:initrd 461:dracut 413:ftrace 375:Users 308:Linaro 271:Kernel 156:(SLAB) 85:  78:  71:  64:  56:  1517:Linux 1515:This 1371:Range 1210:SLURM 1147:kexec 1096:Smack 1030:(CFS) 1010:zswap 951:(KSM) 944:evdev 899:BlueZ 828:klibc 796:glibc 754:tmpfs 749:sysfs 712:devfs 703:bpffs 580:epoll 575:futex 555:close 535:ioctl 530:POSIX 418:kdump 166:Notes 142:Linux 90:JSTOR 76:books 1521:stub 1409:LAMP 1399:LTSP 1227:RTAI 1005:zram 1000:SLUB 995:perf 939:EDAC 833:musl 764:udev 727:FUSE 623:ALSA 560:sync 550:read 545:open 504:APIs 481:ABIs 408:CRIU 364:LKML 160:SLOB 122:SLUB 62:news 1307:LXC 1285:Xen 1280:KVM 1244:MMU 1200:INK 965:LVM 955:LIO 934:DRM 668:IIO 658:RCU 638:DRM 433:BPF 298:Tux 38:to 1566:: 1074:: 49:. 1552:e 1545:t 1538:v 1527:. 1019:: 693:, 604:… 564:… 249:e 242:t 235:v 190:. 124:( 112:) 106:( 101:) 97:( 87:· 80:· 73:· 66:· 43:.

Index


references
primary sources
secondary or tertiary sources
"SLUB" software
news
newspapers
books
scholar
JSTOR
Learn how and when to remove this message
slab allocator
memory management
fragmentation
Linux
Slab allocation
SLOB
"SLUB: The unqueued slab allocator V6"
Kernel commit that made SLUB the default allocator in 2.6.23
The SLUB allocator
SLUB: The unqueued slab allocator V6
v
t
e
Linux kernel
Linux Foundation
Linux Mark Institute
Linus's law
Tanenbaum–Torvalds debate
Tux

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.

↑