memory mapping memory mapping์ด ๋ญ๊ฐ์? ์ผ๋ฐ์ ์ผ๋ก file์ access(open, read, write, ...)ํ๋ ๋ฐฉ์์ ๋ ๊ฐ์ง๊ฐ ์๋ค. 1) by I/O Operationํ์ผ์ ์ ๊ทผํ ๋๋ง๋ค ๋งค๋ฒ system call์ ํตํด kernel์ ๊นจ์์ผ ํจ-> overhead๊ฐ ๋ฐ์ํด๋ฒ๋ฆฐ๋ค. 2) by memory mapping์ฒ์์ ํ์ผ์ ๋ด์ฉ์ ํ๋ก์ธ์ค์ ๋ฉ๋ชจ๋ฆฌ์ ํ๋ฒ mappingํด ๋๋ฉด,์ดํ์ ํ์ผ ๋ด์ฉ์ ์ ๊ทผํ ๋๋, system call์ด ์๋๋ผ, ๋ฉ๋ชจ๋ฆฌ ์ฃผ์๋ฅผ ํตํด ์ง์ ์ ๊ทผ -> overhead ์ต์ํ! memory mapping by mmap() system callvoid *mmap(void addr[.length], ์์ ์ฃผ์: ์ด๋์๋ค๊ฐ๋ถํฐ mappin..