2007-11-25から1日間の記事一覧

メモリ管理(glibc malloc)資料

twitter で話題になっていたので,読んでた. glibc malloc 資料 革命の日々! の kosaki さんの資料. LWN の記事で OpenBSD は malloc に mmap を使うと読んだことはあったんですが, o malloc(3) has been rewritten to use the mmap(2) system call, int…

メモリ管理(ハードウェア&ソフトウェア)資料

"What every programmer should know about memory" - the PDF version [LWN.net] Abstract ... This paper explains the structure of memory subsystems in use on modern commodity hardware, illustrating why CPU caches were developed, how they work…

/proc/pid/maps のフラグ rwxp における p とは

マッピング領域がプライベートマッピングされていることを表す. プライベートファイルマッピングでは,マッピング領域への変更はマッピング対象ファイルに影響を与えない.例えば,gnome-terminal の maps を見ると, $ cat /proc/`pgrep gnome-terminal | …