Messages in this thread | | | Subject | Re: [RFC] Hugetlb demotion for x86 | From | Dave Hansen <> | Date | Wed, 10 May 2006 12:49:59 -0700 |
| |
On Wed, 2006-05-10 at 13:56 -0500, Adam Litke wrote: > > + do_munmap(mm, start, HPAGE_SIZE); > + start = do_mmap_pgoff(0, start, HPAGE_SIZE, prot, flags, 0); > + if (start < 0) { > + return VM_FAULT_OOM; > + }
Hmm.. These are being done in this path, right?
do_page_fault() handle_mm_fault() __handle_mm_fault() hugetlb_fault() hugetlb_demote_page()
I believe do_munmap() requires a write on mmap_sem(), but do_page_fault() only takes a read.
-- Dave
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |