본문 바로가기

memory3

[펌]변수의 선언과 할당 모든 자료형(변수)의 선언 구조는 (기억클래스) -> (형수식자) -> (자료형) -> (변수리스트;) 의 순서로 이루어집니다. auto(기억클래스) volatile(성질 형수식자) int(integer 자료형) A(변수명) 이지요. 그런데 이렇게 복잡하게 안쓰고 int A; 라고 해도 가능한 이유는 기억클래스나 형수식자는 생략이 가능하기 때문입니다. “생략 가능한데 뭐하라 만들었냐~” 라고 생각하시는 분을 위하여 뒷부분에 자세하게 설명드리겠으며 이게 이 글의 핵심~! 입니다. 여기쯤 읽다가 “시방 지금 뭔 말이여~! (ㅡㅡ+)” 하며 창을 닫으시려는 분이 있을까봐. 이쯤에서 우선 (기억클래스), (형수식자)에 대하여 간략하게 설명을 드리겠습니다. 기억 클래스 : static, auto, extern, .. 2008. 7. 11.
Page Cache (원문보기 - Wikipedia) Page Cache In computing, page cache, sometimes ambiguously called disk cache, is a transparent cache of disk-backed pages kept in primary storage (RAM) for quicker access. Page cache is typically used in operating system kernels with the paging memory management, and is completely transparent to applications. All memory that is not directly allocated to applications, is usuall.. 2007. 9. 19.
Demand Paging (원문보기 from Wikipedia) Demand Paging In computer operating systems, demand paging is an application of virtual memory. In a system that uses demand paging, the operating system copies a disk page into physical memory only if an attempt is made to access it (i.e., if a page fault occurs). It follows that a process begins execution with none of its pages in physical memory, and many page faults wil.. 2007. 9. 19.