Messages in this thread | | | Date | Sat, 24 Mar 2007 07:40:30 +0000 | From | Christoph Hellwig <> | Subject | Re: [patch 1/2] hugetlb: add resv argument to hugetlb_file_setup |
| |
On Fri, Mar 23, 2007 at 03:42:13PM -0700, Ken Chen wrote: > rename hugetlb_zero_setup() to hugetlb_file_setup() to better match > function name convention like shmem implementation. Also add an > argument to the function to indicate whether file setup should reserve > hugetlb page upfront or not.
I think the reservation call should be move out of this function entirely. We only return the file descriptors through the syscall we're in, and the dentries never appear in any namespace, so there is not reason to do the reservation early.
- 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/
| |