LinuxÖеÄÄÚ´æ·ÖÅäºÍÊÍ·ÅÖ®__alloc_pages()º¯Êý·ÖÎö
ÔÚÉÏƪÎÄÕµĽá⣬ÎÒÃÇ˵»áÔÚ½ÓÏÂÀ´µÄÎÄÕ·ÖÎö·ÖÅ亯ÊýµÄ¾ßÌå´úÂ룬½áºÏÎÒÉÏƪÎÄÕÂ˵µÄ»ï°é»úÖƺÍÀäÈÈÇøµÄ¸ÅÄ¸üºÃµÃÈ¥Àí½âÕâ¸ö·ÖÅä¹ý³Ì¡£ºÃÁË£¬ÎÒÃDz»ÔÙ¶à˵ÁË£¬ÎÒÃÇÏÖÔÚ¿ªÊ¼·ÖÎö´úÂë°É¡£
struct page * fastcall __alloc_pages(unsigned int gfp_mask, unsigned int order,struct zonelist *zonelist)
{
const int wait = gfp_mask & __GFP_WAIT;//gfp_maskÊÇÉêÇëÄÚ´æʱÓõ½µÄ¿ØÖÆ×Ö£¬ÕâÒ»¾ä¾ÍÊÇΪÁ˼ì²âÎÒÃǵĿØÖÆ×ÖÀïÃæÊÇ
//·ñÓÐ__GPF_WAITÕâ¸öÊôÐÔ£¬ÎÒÃÇÏÈÀ´¿´Ð©ºê¶¨Òå°É£¬ÕâÑùÄã»á¸üÇå³þµÄ¡£
//#define GFP_LEVEL_MASK (__GFP_WAIT|__GFP_HIGH|__GFP_IO|__GFP_FS| \
__GFP_COLD|__GFP_NOWARN|__GFP_REPEAT| \
__GFP_NOFAIL|__GFP_NORETRY|__GFP_NO_GROW|__GFP_COMP)
//#define GFP_ATOMIC (__GFP_HIGH)
//#define GFP_NOIO (__GFP_WAIT)
&
Ïà¹ØÎĵµ£º
ÏîÄ¿Öг£Óöµ½ÐèÒª¶ÔÄ¿Ç°ÔËÐеÄϵͳ½øÐÐЧÂÊ·ÖÎö£¬»òÅöµ½¿Í»§×ÉѯÈçºÎÓÅ»¯ÏµÍ³µÄЧÂÊÎÊÌâ¡£¸ü¶àµÄÇé¿öÊÇ£¬ÔÚϵͳ³öÏÖÎÊÌâµÄʱºò£¬ÐèÒª·ÖÎöÔÒò£¬¶¨Î»ÏµÍ³¹ÊÕÏ»òÆ¿¾±£¬µ±È»£¬×îºÃÊÇ¿ÉÒÔÒ»²¢½â¾ö¹ÊÕÏ¡£µ«Êµ¼ÊÉÏ£¬²Ù×÷ϵͳÓÅ»¯ÊÇÒ»¸ö·Ç³£¸´ÔÓµÄÎÊÌ⣬¿öÇÒlinuxÓÐ×Ô¼ºÒ»Ì×ÓбðÓÚÆäËû²Ù×÷ϵͳ¹ÜÀíµÄ»úÖÆ£¬ÓÉ´Ë»áÒýÆðºÜ¶à²»±ØÒªµÄÎ ......
½ñÌì°²×°ÁËdb2£¬Ã¦Á˺ÃÒ»Õó×Ó£¬ÉÏÍøÕÒ×ÊÁϵȣ¬ÖÕÓÚ×°ºÃÁË£¬ÏÂÃæ¾Í°ÑÎҵIJ½Öè¸ú´ó¼Ò·ÖÏíһϡ£
¡¡¡¡µÚÒ»²½:¼ì²é³ÌÐò°ü¼°Æä°æ±¾
¡¡¡¡ compat-libstdc++-7.3-2.96.118.i386.rpm
¡¡¡¡ ÔÚlinuxµÄ°²×°ÅÌÉÏ,ÕÒµ½ºóʹÓÃrpm -i compat-libstdc++-7.3-2.96.118.i386.rpm °²×°¼´¿É
¡¡¡¡µÚ ......
LINUXµ÷ÓÅ·½·¨×ܽá
----------------------------------------------------------------------------------------------------------------------------
´ó¶àÊý Linux ·¢²¼°æ¶¼¶¨ÒåÁËÊʵ±µÄ»º³åÇøºÍÆäËû Transmission Control Protocol£¨TCP£©²ÎÊý¡£¿ÉÒÔÐÞ¸ÄÕâЩ²ÎÊýÀ´·ÖÅä¸ü¶àµÄÄڴ棬´Ó¶ø¸Ä½øÍøÂçÐÔÄÜ¡£ÉèÖÃÄں˲ÎÊýµÄ· ......
1. gzÎļþ
ÕâÖÖÎļþ¿ÉÒÔʹÓÃgzip¡¢gunzip¡¢zcat½øÐнâѹ£º
gzip -d file_name
gunzip -d file_name
zcat file_name
2. tar.gz¡¢tgzÎļþ
ÕâÖÖѹËõÎļþʹÓýâѹÃüÁîºÍtarÃüÁîÅäºÏʹÓã¬È磺
gzip -d file_name.tar.gz
gunzip -d file_name.tgz
zcat file_name
È»ºóÖ´ÐУº
tar xvf file_name.tar
ijЩ°æ±¾µÄt ......
M. Tim Jones, ¹ËÎʹ¤³Ìʦ, Emulex Corp.
Linux® ÄÚºËʹÓà GNU Compiler Collection (GCC) Ì×¼þµÄ¼¸¸öÌØÊ⹦ÄÜ¡£ÕâЩ¹¦ÄÜ°üÀ¨Ìṩ¿ì½Ý·½Ê½ºÍ¼ò»¯ÒÔ¼°Ïò±àÒëÆ÷ÌṩÓÅ»¯ÌáʾµÈµÈ¡£Á˽âÕâЩÌØÊâµÄ GCC ÌØÐÔ£¬Ñ§Ï°ÈçºÎÔÚ Linux ÄÚºËÖÐʹÓÃËüÃÇ¡£
GCC ºÍ Linux ÊdzöÉ«µÄ×éºÏ¡£¾¡¹ÜËüÃÇÊǶÀÁ¢µÄÈí¼þ£¬µ«ÊÇ Linux ÍêÈ«ÒÀ¿¿ ......