Displaying 1 result from an estimated 1 matches for "0x0ul".
Did you mean:
0x0_l
2011 Jan 27
1
Bus error while allocating hugepages in domain 0
...700
HugePages_Free: 0
HugePages_Rsvd: 18446744073709551019
HugePages_Surp: 0
Hugepagesize: 2048 kB
This memory information is not as per expectation.
Can anyone explain whether it has really allocated huge pages as calling
mmap with MAP_HUGETLB using
]addr = mmap((void *)0x0UL,600UL*1024*1024 , PROT_WRITE,MAP_PRIVATE |
MAP_ANONYMOUS | MAP_HUGETLB , 0, 0);
also results into a bus error.
]dmesg-
Process 4617(a.out) has RLIMIT_CORE set to 0
Aborting core
]strace-
--- SIGBUS (Bus error) @ 0 (0) ---
+++ killed by SIGBUS +++
Bus error
--
Kaustubh Kabra* <http://www.kau...