[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Bus error while allocating hugepages in domain 0
Hi, My dom 0 is jeremy kernel 2.6.32.27 with 3.5 GB allocated memory. I tried allocating 700 huge pages in domain 0 using- ]echo 700 > /proc/sys/vm/nr_hugepages To verify - ]cat /proc/meminfo |grep Huge HugePages_Total: 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 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |