Àí½âLinuxµÄÐÔÄÜ
ÏîÄ¿Öг£Óöµ½ÐèÒª¶ÔÄ¿Ç°ÔËÐеÄϵͳ½øÐÐЧÂÊ·ÖÎö£¬»òÅöµ½¿Í»§×ÉѯÈçºÎÓÅ»¯ÏµÍ³µÄЧÂÊÎÊÌâ¡£¸ü¶àµÄÇé¿öÊÇ£¬ÔÚϵͳ³öÏÖÎÊÌâµÄʱºò£¬ÐèÒª·ÖÎöÔÒò£¬¶¨Î»ÏµÍ³ ¹ÊÕÏ»òÆ¿¾±£¬µ±È»£¬×îºÃÊÇ¿ÉÒÔÒ»²¢½â¾ö¹ÊÕÏ¡£µ«Êµ¼ÊÉÏ£¬²Ù×÷ϵͳÓÅ»¯ÊÇÒ»¸ö·Ç³£¸´ÔÓµÄÎÊÌ⣬¿öÇÒlinuxÓÐ×Ô¼ºÒ»Ì×ÓбðÓÚÆäËû²Ù×÷ϵͳ¹ÜÀíµÄ»úÖÆ£¬ÓÉ´Ë »áÒýÆðºÜ¶à²»±ØÒªµÄÎó½âºÍÂé·³¡£×ÔÎÊÎÒÊÇд²»´íÌõÀíÐÔµÄÎÄÕÂÁË£¬Ö»ÄÜתһ·Ý¸ßÈËдµÄÎĵµ¹©²Î¿¼¡££¨ÎÄÕ¸ù¾Ýʵ¼Ê½øÐÐÁËÒ»¶¨µÄ²Ã¼õ£¬²¢¶ÔÈÝÒ×Åöµ½µÄÎÊÌâ×öÁ˱êʶ£©
Ò»¡¢Ç°Ìá
ÎÒ ÃÇ¿ÉÒÔÔÚÎÄÕµĿªÊ¼¾ÍÁгöÒ»¸öÁÐ±í£¬Áгö¿ÉÄÜÓ°ÏìLinux²Ù×÷ϵͳÐÔÄܵÄһЩµ÷ÓŲÎÊý£¬µ«ÕâÑù×öÆäʵ²¢Ã»ÓÐʲô¼ÛÖµ¡£ÒòΪÐÔÄܵ÷ÓÅÊÇÒ»¸ö·Ç³£À§ÄѵÄÈÎ Îñ£¬ËüÒªÇó¶ÔÓ²¼þ¡¢²Ù×÷ϵͳ¡¢ºÍÓ¦Óö¼ÓÐ×ÅÏ൱ÉîÈëµÄÁ˽⡣Èç¹ûÐÔÄܵ÷Óŷdz£¼òµ¥µÄ»°£¬ÄÇЩÎÒÃÇÒªÁгöµÄµ÷ÓŲÎÊýÔç¾ÍдÈëÓ²¼þµÄ΢Âë»òÕß²Ù×÷ϵͳÖÐÁË£¬ÎÒ ÃǾÍûÓбØÒªÔÙ¼ÌÐø¶ÁÕâƪÎÄÕÂÁË¡£ÕýÈçÏÂͼËùʾ£¬·þÎñÆ÷µÄÐÔÄÜÊܵ½ºÜ¶àÒòËصÄÓ°Ïì¡£
µ±Ãæ¶ÔÒ»¸öʹÓõ¥¶ÀIDEÓ²Å̵ģ¬ÓÐ20000Óû§µÄÊý¾Ý¿â·þÎñÆ÷ʱ£¬¼´Ê¹ÎÒÃÇʹÓÃÊýÖÜʱ¼äÈ¥µ÷ÕûI/O×ÓϵͳҲÊÇͽÀÍÎÞ¹¦µÄ£¬Í¨³£Ò»¸öеÄÇý¶¯»òÕßÓ¦ÓóÌÐòµÄÒ»¸ö¸üУ¨ÈçSQLÓÅ»¯£©È´¿ÉÒÔʹÕâ¸ö·þÎñÆ÷µÄÐÔÄܵõ½Ã÷ÏÔµÄÌáÉý¡£ÕýÈçÎÒÃÇÇ°ÃæÌáµ½µÄ£¬²»ÒªÍü¼ÇϵͳµÄÐÔÄÜÊÇÊܶ෽ÃæÒòËØÓ°ÏìµÄ¡£Àí½â²Ù×÷ϵͳ¹ÜÀíϵͳ×ÊÔ´µÄ·½·¨½«°ïÖúÎÒÃÇÔÚÃæ¶ÔÎÊÌâʱ¸üºÃµÄÅжÏÓ¦¸Ã¶ÔÄĸö×Óϵͳ½øÐе÷Õû¡£
¶þ¡¢LinuxµÄCPUµ÷¶È
ÈÎ ºÎ¼ÆËã»úµÄ»ù±¾¹¦Äܶ¼Ê®·Ö¼òµ¥£¬ÄǾÍÊǼÆË㡣ΪÁËʵÏÖ¼ÆËãµÄ¹¦ÄܾͱØÐëÓÐÒ»¸ö·½·¨È¥¹ÜÀí¼ÆËã×ÊÔ´¡¢´¦ÀíÆ÷ºÍ¼ÆËãÈÎÎñ£¨Ò²±»½Ð×öÏ̻߳òÕß½ø³Ì£©¡£·Ç³£¸Ðл Ingo Molnar£¬ËûΪLinuxÄں˴øÀ´ÁËO£¨1£©CPUµ÷¶ÈÆ÷£¬Çø±ðÓÚ¾ÉÓеÄO£¨n£©µ÷¶ÈÆ÷£¬Ðµĵ÷¶ÈÆ÷ÊǶ¯Ì¬µÄ£¬¿ÉÒÔÖ§³Ö¸ºÔؾùºâ£¬²¢ÒԺ㶨µÄËٶȽøÐÐ ²Ù×÷¡£
е÷¶ÈÆ÷µÄ¿ÉÀ©Õ¹ÐԷdz£ºÃ£¬ÎÞÂÛ½ø³ÌÊýÁ¿»òÕß´¦ÀíÆ÷ÊýÁ¿£¬²¢ÇÒµ÷¶ÈÆ÷±¾ÉíµÄϵͳ¿ªÏú¸üÉÙ¡£Ðµ÷È¡Æ÷µÄË㷨ʹÓÃÁ½¸öÓÅÏȼ¶¶ÓÁС£
ÒýÓÃ
·»î¶¯ÔËÐжÓÁÐ
·¹ýÆÚÔËÐжÓÁÐ
µ÷ ¶ÈÆ÷µÄÒ»¸öÖØҪĿ±êÊǸù¾ÝÓÅÏȼ¶È¨ÏÞÓÐЧµØΪ½ø³Ì·ÖÅäCPU ʱ¼äƬ£¬µ±·ÖÅäÍê³ÉºóËü±»ÁÐÔÚCPUµÄÔËÐжÓÁÐÖУ¬³ýÁË CPU µÄÔËÐжÓÁÐÖ®Í⣬»¹ÓÐÒ»¸ö¹ýÆÚÔËÐжÓÁС£µ±»î¶¯ÔËÐжÓÁÐÖеÄÒ»¸öÈÎÎñÓùâ×Ô¼ºµÄʱ¼äƬ֮ºó£¬Ëü¾Í±»Òƶ¯µ½¹ýÆÚÔËÐжÓÁÐÖС£ÔÚÒƶ¯¹ý³ÌÖУ¬»á¶ÔÆäʱ¼äƬÖØР½øÐм
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
ÈçºÎʵÏÖLinuxÎı¾Ä£Ê½ÏÂ×Ô¶¯¹ÒÔعâÇý
http://blog.csdn.net/yzlworld/archive/2009/06/29/4307476.aspx
mountÊÇÓÃÀ´¹ÒÔØÎļþϵͳµÄ£¬¿ÉÒÔÔÚÆô¶¯µÄʱºò¹ÒÔØÒ²¿ÉÒÔÔÚÆô¶¯ºó¹ÒÔØ¡£ÔÚÆô¶¯ºó¹ÒÔØ¿ÉÒÔʹÓÃmountÃüÁîʵÏÖ£¬ÒªÊµÏÖÆô¶¯Ê±×Ô¶¯¹ÒÔØÉ豸ÔòÐèÆô¶¯autofs·þÎñ¾ÍÌṩÕâÖÖ¹¦ÄÜ¡£¸Ã¹¦ÄܾÍÏñwindowsÖеĹâÇý×Ô¶¯´ò¿ª¹¦ÄÜ£¬Ä ......
Å£½ò×ÖµäÖжÔ"kernel"Ò»´ÊµÄ¶¨ÒåÊÇ£º"½ÏÈíµÄ¡¢Í¨³£ÊÇÒ»¸ö¼á¹û¿ÉʳÓõIJ¿·Ö¡£"µ±È»»¹ÓеڶþÖÖ¶¨Ò壺"ij¸ö¶«Î÷ºËÐÄ»òÕß×îÖØÒªµÄ²¿·Ö¡£"¶ÔLinuxÀ´Ëµ£¬ËüµÄKernelÎÞÒÉÊôÓÚµÚ¶þÖÖ½âÊÍ¡£ÈÃÎÒÃÇÀ´¿´¿´Õâ¸öÖØÒªµÄ¶«Î÷ÊÇÈçºÎ¹¤×÷µÄ£¬ÏÈ´ÓÒ»µãÀíÂÛ˵Æð¡£
¹ãÒåµØÀ´Ëµkernel¾ÍÊÇÒ»¸öÈí¼þ£¬ËüÔÚÓ²¼þºÍÔËÐ ......
Red-black Trees (rbtree) in Linux
January 18, 2007
Rob Landley <rob@landley.net>
=============================
red-blackÊ÷ÊÇʲôÑùµÄÊ÷£¬ÎªÊ²Ã´ÐèÒªred-blackÊ÷£¿
------------------------------------------------
red-black tree£¨RBÊ÷£©ÊÇÒ»ÖÖƽºâ¶þ²æÊ÷£¬ËüÖ÷ÒªÓÃÓÚ´æ´¢»òÕß˵ ......