Re: shmget with SHM_HUGETLB flag: Operation not permitted

From: Jochen Roemling
Date: Thu Feb 26 2004 - 20:35:41 EST


William Lee Irwin III wrote:

Check /proc/sys/vm/nr_hugepages and /proc/sys/kernel/shmmax also.


cat /proc/sys/vm/nr_hugepages
64

cat /proc/sys/kernel/shmmax
33554432

cat /proc/meminfo | grep Huge
HugePages_Total: 64
HugePages_Free: 62
Hugepagesize: 4096 kB

but again: root can, users cannot, so sizes won't matter, would they?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/