how to query huge page size?
- From: dchev4@xxxxxxxxx
- Date: 22 Mar 2007 17:50:09 -0700
I use hugetlbfs for my application, and I'm wondering what the best
way to determine the huge page size on the system (for examples, x86
can be 2MB or 4MB, powerpc might be 16MB or 256MB).
I'd like something like "sysconf(_SC_HUGE_PAGESIZE) "
The only way I can find right now is to parse /proc/meminfo
Anyone know of a good way, or is /proc/meminfo really the only way?
TIA,
dchev
.
- Follow-Ups:
- Re: how to query huge page size?
- From: llothar
- Re: how to query huge page size?
- Prev by Date: Re: no Hello World!!
- Next by Date: Re: windows .dll files and linux
- Previous by thread: windows .dll files and linux
- Next by thread: Re: how to query huge page size?
- Index(es):