shared memory 에서.
글쓴이: mach337 / 작성시간: 수, 2003/08/20 - 8:02오후
include/linux/shm.h 중의 일부입니다.
#define SHMMAX 0x2000000 /* max shared seg size (bytes) */ #define SHMMIN 1 /* min shared seg size (bytes) */ #define SHMMNI 4096 /* max num of segs system wide */ #define SHMALL (SHMMAX/PAGE_SIZE*(SHMMNI/16)) /* max shm system wide (pages) */ #define SHMSEG SHMMNI /* max shared segs per process */
SHMALL 에서 16으로 나눈 이유가 무엇인가요?
Forums:
댓글 달기