Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

LinuxÄںˣºslab/slob/slub

Ô­ÎÄÁ´½Ó:http://www.linuxdiyf.com/bbs/viewthread.php?tid=92084
 ºÜ¾ÃºÜ¾ÃÒÔÇ°£ºÒ»¸ö½Ð×öMark HemmentµÄ¸ç¶ùÃÇдÁËSlab¡£ÔÚ½ÓÏÂÀ´µÄһЩÄêÀÆäËûÈ˶ÔSlab½øÐÐÁËÍêÉÆ¡£Ò»Äê°ëÒÔÇ°£¬SLOBÎÊÊÀÁË¡£SLOBµÄÄ¿±êÊÇÕë¶ÔǶÈëʽϵͳµÄ£¬Ö÷ÒªÊÇÊÊÓÃÓÚÄÇЩÄÚ´æ·Ç³£ÓÐÏÞµÄϵͳ£¬±ÈÈç32MBÒÔϵÄÄڴ棬Ëü²»Ì«×¢ÖØlarge smpϵͳ£¬ËäÈ»×î½üÔÚÕâ·½ÃæÓÐһЩСµÄ¸Ä½ø¡£¼¸¸öÔÂ֮ǰ£¬SLUBÉÁÁÁµÇ³¡¡£Ëü»ù±¾ÉÏÊôÓÚ¶ÔSlabµÄÖØÉè¼Æ(redesign)£¬µ«ÊÇ´úÂë¸üÉÙ£¬²¢ÇÒÄܸüºÃµÄÊÊÓ¦large NUMAϵͳ¡£SLUB±»ºÜÈÏΪÊÇSlabºÍSlobµÄÈ¡´úÕߣ¬´ó¸ÅÔÚ2.6.24/2.6.25½«»á±»Í¬Ö¾ÃÇÅ×Æú¡£¶øSLUB½«ÊÇδÀ´Linux KernelÖеÄÊ×Ñ¡¡£
LinuxÄÚºËÕæÊDZ仯̫¿ìÁË£¬ÄÚ´æ¹ÜÀíÕâ¿é¾ÍÊÇÒ»¸öºÃÀý×Ó¡£
±¾À´LinuxÄÚºËÖ»ÓÐSlabµÄ£¬ÏÖÔÚºÃÁË£¬Slab¶àÁËÁ½¸öÐֵܣºSlobºÍSlub¡£ÇÆ£¡Õâ¾ÍÊÇÄں˵ÄÃüÃû·ç¸ñ£¬ÈÃÄã¹â¿´Ãû×־ͺýÍ¿ÁË£¡ÕâÒ²ÊÇÎÒÕâÁ½Ìì¶ÁÄÚºËÔ´´úÂëµÄÉî¿ÌÌå»á£¬Ê²Ã´cache°¡£¬cache_cache°¡£¬free_area°¡£¬ÈƲ»ÔÎÄã²Å¹ÖÄØ¡«£¡
ÒÔÇ°¸ã²»¶®ÕâÈý¸öµ½µ×ʲô¹Øϵ£¬ÎªÊ²Ã´ÒªÓÐÕâÈý¸ö¡£½ñÌìËÑÁËһϣ¬Ã÷°×ÁËһЩ¡£¼òµ¥µÄ˵£ºSlabÊÇ»ù´¡£¬ÊÇ×îÔç´ÓSun OSÄÇÒý½øµÄ£»SlubÊÇÔÚSlabÉϽøÐеĸĽø£¬ÔÚ´óÐÍ»úÉϱíÏÖ³öÉ«£¨²»ÖªµÀÔÚÆÕͨPCÉÏÈçºÎ£©£¬¾Ý˵»¹±»IA-64×÷ΪĬÈÏ£»¶øSlobÊÇÕë¶ÔСÐÍϵͳÉè¼ÆµÄ£¬µ±È»ÁË£¬Ö÷ÒªÊÇǶÈëʽ¡£Ïà¹ØÎÄÕÂÈçÏ£º
Anatomy of the Linux slab allocator
The SLUB allocator
The SLOB allocator
ÕâÒ²ÕýºÃÌåÏÖÁËÒ»¸öLinuxÄں˿ª·¢Ò»¹áµÄ˼Ï룺ÌṩһÖÖ»úÖÆ£¬¶ø²»ÊÇÒ»ÖÖ²ßÂÔ£¨Provide mechanism not policy£©¡£ÆäËüÈí¼þ¿ª·¢Óֺγ¢²»ÊÇÈç´ËÄØ?


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

Linux ÎļþÀàÐÍ ¼°ÎļþµÄÀ©Õ¹Ãû

×÷Õߣº±±ÄÏÄϱ±
À´×Ô£ºLinuxSir.Org
ÕªÒª£º LinuxÎļþÀàÐͳ£¼ûµÄÓУºÆÕͨÎļþ¡¢Ä¿Â¼¡¢×Ö·ûÉ豸Îļþ¡¢¿éÉ豸Îļþ¡¢·ûºÅÁ´½ÓÎļþµÈ£¬Èç¹ûÏëÁ˽âÕâ·½Ãæ֪ʶµÄµÜÐÖ£¬¾Í½øÀ´Á˽âÁ˽⡣±¾ÎÄÓ¦¸Ã˵ÊÇ»ù´¡Îĵµ¡£
Ŀ¼
 
2.1 ÆÕͨÎļþ£»
2.2 Ŀ¼£»
2.3 ×Ö·ûÉ豸»ò¿éÉ豸Îļþ£»
2.4 Ì×½Ó¿ÚÎļþ£»
2.5 ·ûºÅÁ´½ÓÎļþ£» ......

LinuxϵĶδíÎó²úÉúµÄÔ­Òò¼°µ÷ÊÔ·½·¨(ZZ)

С¥×òÒ¹ÌýÓê µÇ¼ ×¢²á »¶Ó­ qiaoliang328! Í˳ö ÎҵIJ©¿Í ÅäÖà дÎÄÕ ÎÄÕ¹ÜÀí ²©¿ÍÊ×Ò³ È«Õ¾ µ±Ç°²©¿Í ¿Õ¼ä ²©¿Í ºÃÓÑ Ïà²á ÁôÑÔ Óû§²Ù×÷ [ÁôÑÔ] [·¢ÏûÏ¢] [¼ÓΪºÃÓÑ] ³´³´±ù¼¤ÁÜID£ºdycwahaha ¹²23967´Î·ÃÎÊ£¬ÅÅÃû6420£¬ºÃÓÑ0ÈË£¬¹Ø×¢Õß1ÈË¡£ ³´³´±ù¼¤ÁܵÄÎÄÕ ԭ´´ 112 ƪ ·­Òë 0 ƪ תÔØ 13 ƪ ÆÀÂÛ 1 ƪ ......

Linux ϵĽðɽ´Ê°Ô

       ¸Õѧlinuxʱ·Ç³£Í´¿à£¬¾­³£±»Ò»¸öСÎÊÌâÕûµÄºÜÒÖÃÆ£¡Ïë½â¾ö²»ÈÝÒ×£¬ÉÏÍø²éÓֺܶàÊÇÓ¢·½×ÊÁÏ£¬Ó¢Óï²î¿´²»¶®Ôõô°ì£¬¾ÍÏëÆðwindowsµÄ½ðɽ´Ê°Ô£¬ºÇºÇ£¬·Ñ»°²»¶à˵ÁË£¬ËµËµÎÒ°²×°µÄ¹ý³Ì¡£
        ´ÓÐǼÊÒëÍõµÄ¹ÙÍøhttp://stardict.sourceforge ......

linuxÄÚºËÖÐ×î³£¼ûµÄËøÊÇ×ÔÐýËø

 linuxÄÚºËÖÐ×î³£¼ûµÄËøÊÇ×ÔÐýËø(spin lock)¡£×ÔÐýËø×î¶àÖ»Äܱ»Ò»¸ö¿ÉÖ´ÐÐÏ̳߳ÖÓС£Èç¹ûÒ»¸öÖ´ÐÐÏß³ÌÊÔͼ»ñµÃÒ»¸ö±»ÕùÓõÄ×ÔÐýËø£¬ÄÇô¸ÃÏ߳̾ͻáÒ»Ö±½øÐÐæѭ»·µÈ´ýËøÖØпÉÓá£ÒªÊÇËøδ±»ÕùÓã¬ÇëÇóËøµÄÖ´ÐÐÏ̱߳ãÄÜÁ¢¿ÌµÃµ½Ëü£¬¼ÌÐøÖ´ÐС£ÔÚÈÎÒâʱ¼ä£¬×ÔÐýËø¶¼¿ÉÒÔ·ÀÖ¹¶àÓÚÒ»¸öµÄÖ´ÐÐÏß³Ìͬʱ½øÈëÁÙ½çÇø¡£
  ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ