RE: [PATCH] [0/6] HUGETLB memory commitment

From: Andy Whitcroft
Date: Tue Mar 30 2004 - 16:53:52 EST

--On 30 March 2004 12:04 -0800 "Chen, Kenneth W" <kenneth.w.chen@xxxxxxxxx> wrote:

I can do:
fd = open("/mnt/htlb/myhtlbfile", O_CREAT|O_RDWR, 0755);
mmap(..., fd, offset);

Accounting didn't happen in this case, (grep Huge /proc/meminfo):

HugePages_Total: 10
HugePages_Free: 9
Hugepagesize: 262144 kB
HugeCommitted_AS: 0 kB

Oooops. Now I get you. Thanks for pointing that out. More work required.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at