search for: map_hugetlb

Displaying 3 results from an estimated 3 matches for "map_hugetlb".

2011 Jan 27
1
Bus error while allocating hugepages in domain 0
...oc/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 --...
2019 Sep 11
6
[PATCH 0/4] HMM tests and minor fixes
These changes are based on Jason's latest hmm branch. Patch 1 was previously posted here [1] but was dropped from the orginal series. Hopefully, the tests will reduce concerns about edge conditions. I'm sure more tests could be usefully added but I thought this was a good starting point. [1] https://lore.kernel.org/linux-mm/20190726005650.2566-6-rcampbell at nvidia.com/ Ralph Campbell
2020 Jan 13
9
[PATCH v6 0/6] mm/hmm/test: add self tests for HMM
This series adds new functions to the mmu interval notifier API to allow device drivers with MMUs to dynamically mirror a process' page tables based on device faults and invalidation callbacks. The Nouveau driver is updated to use the extended API and a set of stand alone self tests is added to help validate and maintain correctness. The patches are based on linux-5.5.0-rc6 and are for