You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Linux kernel 3.9 ã®ãã¼ã¸ã¦ã£ã³ãã¦ã§ã¯ SO_REUSEPORT ã¨ããã½ã±ãããªãã·ã§ã³ããã¼ã¸ããã¾ããã Merge branch 'soreuseport' · c617f39 · torvalds/linux · GitHub ããã¯åä¸ãã¼ãã«è¤æ°ã®ãªã¹ãã¼ï¼listen ã½ã±ããï¼ã bind ã§ããããã«ãªãã¨ãããã®ã§ãWebãµã¼ããªã©åä¸ã®ãã¼ãã«å¤ãã®ã³ãã¯ã·ã§ã³ãæ¥ããããªã¯ã¼ã¯ãã¼ãã§ãè¤æ°ããã»ã¹ã§ãã¾ãè² è·åæ£ãã§ããããã«ãªãããã§ãã ï¼ããã¾ã§ã ã¨ä¸äººãaccept()ãã¦ããããã® worker ã«æ¸¡ãã¨ãããããªã¢ãã«ãããã¾ããããããã§ã¯ accept() ããé¨åãããã«ããã¯ã«ãªã£ã¦ãã¾ããã¡ã§ãããï¼ BSDã§ã¯å ã SO_REUSEPORT ãªãã·ã§ã³ã¯ãã£ãããã§ããããã«ããã£ã¹ãéä¿¡ã§ä½¿ããã®ã®ããã§ããLinux
2011å¹´10æ12æ¥ ARM Linuxã®ã¦ã¼ã¶ããã°ã©ã ããCortex-A9ã®ãµã¤ã¯ã«ã«ã¦ã³ã¿ãå©ç¨ãã 以åããCortex-A9ã®ãµã¤ã¯ã«ã«ã¦ã³ã¿ãå©ç¨ããç°¡åãªå®è¡æéã®è¨æ¸¬æ¹æ³ãã¨ããè¨äºãæ¸ãã¾ããããã®ã¨ãã«ã¯ç¹æ¨©ã¢ã¼ãã§ä½¿ç¨ãããã¨ãåæã¨ãã¦ãã¾ããããã®è¨äºã®æå¾ã«ãæ¸ããã¨ãããã¦ã¼ã¶ã¼ã¢ã¼ãããããã©ã¼ãã³ã¹ã¢ãã¿ã®ã¬ã¸ã¹ã¿ã«ã¢ã¯ã»ã¹ããããã«ã¯ãããããUser Enable Register(PMUSERENR)ã«ã¦ã¢ã¯ã»ã¹ã許å¯ãã¦ããå¿ è¦ãããã¾ããç°¡åãªã«ã¼ãã«ã¢ã¸ã¥ã¼ã«ãä½ã£ã¦ããããã£ã¦ã¿ã¾ããã ã«ã¼ãã«ã¢ã¸ã¥ã¼ã«ã®ä½æ ã¦ã¼ã¶ã¼ã¢ã¼ãããã®Performance Monitoring Unitã¸ã®ã¢ã¯ã»ã¹ã許å¯ããã«ã¯ããããããç¹æ¨©ã¢ã¼ãã§PMUSERENRã¬ã¸ã¹ã¿ã®bit0ãç«ã¦ã¦ããå¿ è¦ãããã¾ãã詳ããã¯ARMã®Architecture
2010å¹´03æ01æ¥ Androidã®ã¨ãã¥ã¬ã¼ã¿ãNFSrootåãã Androidã®ã¨ãã¥ã¬ã¼ã¿ã«QEMUã使ããã¦ããã®ã¯ãåç¥ã®ãã¨ã§ãããã ä»åã¯ããã¾ã§ã®çµé¨ããããã¦Androidã®ã¨ãã¥ã¬ã¼ã¿ã«æ¹é ãå ãã¦NFSrootåãã¦ã¿ã¾ãã ããã¾ããªæµã Androidã®ãã«ã kernelã®ãã«ã NFSrootåã®ããã®å¤æ´ Androidã®ãã«ã Ubuntu 9.04 (x86_64)ã§è¡ãã¾ããã http://source.android.com/download ã¾ãã¯Ubuntu 9.04ã§androidã®ãã«ããåç §ãã¦å¿ è¦ãªãã¡ã¤ã«ãã¤ã³ã¹ãã¼ã«ãã¦ãã ããã ã½ã¼ã¹ã®åå¾ $ mkdir mydroid $ cd mydroid $ ANDROID_TOP=$PWD $ repo init -u git://android.git.kernel.or
å æ¥ã諸ã ã®é½åã§é éã«ãããã¹ãç°å¢ã®ãµã¼ã(Linux)ã®ã«ã¼ãã«ãã©ã¡ã¼ã¿ãå¼ã£ã¦ããã®ã§ãããã¡ãã£ã¨è¨å®(ã¡ã¢ãªã¾ãã)ãã¤ãããã¦ãã¾ãï½ãã³ãã³ãå®è¡ã¨ãããforkã§ããªããªã£ã¦ãã¾ã£ã(Cannot allocate memory...)ã ãã§ãshutdownã³ãã³ããå®è¡ã§ããªããªã£ãã®ã§ãç´ããã¨æã£ãã®ã§ãããè²ã å¼ã£ãï¼æéããªãã£ããã¨ããããä¸æ¦OSãåèµ·åãã¡ãããããªãã¨(æ± ããé éã«ãããµã¼ããªã®ã§ãç©ççãªé»æºã¹ã¤ããON/OFFãã§ããªã(å³å¯ã«ã¯åºæ¥ãç°å¢ã§ã¯ãã£ãã®ã§ããããã®ãµã¼ãã¯ããã«å ¥ã£ã¦ãªãã£ãï½)ãã®ã§ãSysRqãã¼ãéããã¨ã«ããã ããæ¹ å°ãç¡çç¢çæã¯ããã¾ããã # echo b > /proc/sysrq-triggerãå®è¡ããã¨ãå¼·å¶çã«ãªãã¼ãããããã¾ãã ãã ãããã¡ã¤ã«ã·ã¹ãã ã®syncã¨ãumount
ä»åã¯ãã«ã¼ãã«ããexportããã¦ããæ§ã ãªé¢æ°(æ©è½)ã«ã¢ã¯ã»ã¹ãã¦å®é¨ããããã®æºåã¨ãã¦ãã«ã¼ãã«ã¢ã¸ã¥ã¼ã«ãä½æãããUMLä¸ã§ã«ã¼ãã«ã¢ã¸ã¥ã¼ã«ã®ãã«ããçµã¿è¾¼ã¿(insmod)ã解æ¾(rmmod)ãã§ããããã«ããã 以ä¸ã®æä½ã¯ãã¹ã¦UMLä¸ã«ã¦è¡ãã ã¾ããUMLä¸ã«é©å½ã«ä½æ¥ç¨ãã£ã¬ã¯ããªãä½æã以ä¸ãkmoduleãã£ã¬ã¯ããªã§ä½æ¥ããã % mkdir kmodule % cd kmodule以ä¸ã®ãããªã«ã¼ãã«ã¢ã¸ã¥ã¼ã«ãä½æãinsmodã¨rmmodãããã¨ãã«ãprintkããã ãã®ã·ã³ãã«ãªãã®ã % cat greeting.c #include <linux/module.h> #include <linux/init.h> MODULE_LICENSE("GPL"); static int greeting_init(void) { printk(K
ã¨ããããã§github.com/ruby/ruby.gitã«pushãã¦ãããã¼ã«ã«ã®ãã·ã³ãUbuntu Lucid Lynx + lxcã«ãªã£ãã lxc: Linux Containerã³ã³ããã§ãããä»®æ³åã¨å¼ã¶ã«ã¯è¥å¹²ã®æµæããããSolarisã®zonesãFreeBSDã®jailãLinuxã ã¨OpenVZã¨ãã®ä»²éã OpenVZã¨ã®æ¯è¼ ã¾ãlxcã¯mainlineã«å ¥ã£ã¦ãã®ã§Kernelãå¼ããªãã¦ããlxcã«åç¨ãµãã¼ãã¨ãã¯ãªãã®ã§è»¢ãã§ãæ³£ããªãã¨ãããåç¨ã¨ã以åã«ããã¥ã¡ã³ããããå°ãªãããã¾ãã¹ãã¨Rubyã¦ã¼ã¶ã¼ã«ã¡ããããããrootã®fsããã ã®chrootãªã®ã§åããã¡ã¤ã«ãç¡é§ã«ããããå¿ è¦ã§ãéã«æ®éã®debootstrapã§ä½ã£ããã£ã¬ã¯ããªã§ããã®ã§ãããã¡ãã§ã¯ããKVMã¨ã®æ¯è¼ QEMUä¸è¦ãã£ã¹ã¯ã¤ã¡ã¼ã¸ä¸è¦ãããããªãªã¼ãã¼ããã
Linux 㯠fork ã§åããã»ã¹ãä½æããå ´åã親ã®ä»®æ³ã¡ã¢ãªç©ºéã®å 容ãåã¸ã³ãã¼ããå¿ è¦ãããã¾ãããããã¾ã¨ãã«å ¨ç©ºéãã³ãã¼ãã¦ããã®ã§ã¯ fork ã®ã³ã¹ããé«ããªã£ã¦ãã¾ãã¾ãããåã親ã¨åããããªããã»ã¹ã¨ãã¦åä½ãç¶ããå ´åã¯ãå 容ã®éè¤ãããã¼ã¸ãå¤æ°ã§ãã¦ãã¾ããå¹çãããããã¾ããã ããã§ãLinux ã®ä»®æ³ã¡ã¢ãªã¯ãã¡ã¢ãªç©ºéãèãã¦ã³ãã¼ããã®ã§ã¯ãªããã¯ããã¯è¦ªåã§ã¡ã¢ãªé åãå ±æãã¦ããã¦ãæ¸ãè¾¼ã¿ããã£ãæç¹ã§ããã®æ¸ãè¾¼ã¿ã®ãã£ããã¼ã¸ã ãã親åã§åå¥ã«æã¤ã¨ããä»çµã¿ã§ãã®åé¡ãåé¿ãã¾ããCopy-On-Write (CoW) ã¨å¼ã°ããæ¦ç¥ã§ããå ±æã¡ã¢ãªãã¼ã¸ã¯ã親åããããã®ä»®æ³ã¡ã¢ãªç©ºéãåä¸ã®ç©çã¡ã¢ãªã«ãããã³ã°ãããã¨ã§å®ç¾ããã¾ãããã詳ãã㯠ã³ãã¼ãªã³ã©ã¤ã - Wikipedia ãªã©ãåç §ãã¦ãã ããã ãã® CoW ã«
ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ã¯ãããã°ã©ã ã®å¤é¨ã¨ã®å ¥åºåãè¡ãæ½è±¡çãªã¤ã³ã¿ãã§ã¼ã¹ã§ããUnix/Linuxã®ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ã¯ãä¸è¬çãªãã¡ã¤ã«ã ãã§ãªãããã¤ã¹ãã½ã±ããããã¤ãã対象ã¨ãã¦ãã¾ããå½é£è¼ã¯ããã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ã®æ©è½ã管çæ¹æ³ãªã©ãæ示ãã¾ãã第2åã¯ãã¤ãã³ãç¨ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ãeventfdããç´¹ä»ãã¾ãã ã¯ããã« ååã¯ããã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ã®æ¦è¦ã«ã¤ãã¦è§£èª¬ãã¾ãããä»åã¯ãæ°ãã«è¿½å ããã3åã®ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ã®ä¸ãããã¤ãã³ãç¨ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ãeventfdããåãä¸ãã使ç¨æ³ãç¹å¾´ãæ¢åã®ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ã¨ã®éãã«ã¤ãã¦ã説æãã¦ããããã¨æãã¾ãã é£è¼æ¦è¦ ãã®é£è¼ã¯ã次ã®ãããªå 容ã«ã¤ãã¦è¿°ã¹ã¦ããäºå®ã§ãã é£è¼ç®æ¬¡ 第1åï¼ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ã®æ¦è¦ 第2åï¼ã¤ãã³ãç¨ãã£ã¹ã¯ãªãã¿ãeventfdãã®ç¹å¾´
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}