Re: [PATCH 10/18] mm, hugetlb: call vma_has_reserve() before entering alloc_huge_page()

2013-07-30 Thread Joonsoo Kim
On Mon, Jul 29, 2013 at 02:27:54PM -0400, Naoya Horiguchi wrote: > On Mon, Jul 29, 2013 at 02:32:01PM +0900, Joonsoo Kim wrote: > > To implement a graceful failure handling, we need to know whether > > allocation request is for reserved pool or not, on higher level. > > In this patch, we just move

Re: [PATCH 10/18] mm, hugetlb: call vma_has_reserve() before entering alloc_huge_page()

2013-07-30 Thread Joonsoo Kim
On Mon, Jul 29, 2013 at 02:27:54PM -0400, Naoya Horiguchi wrote: On Mon, Jul 29, 2013 at 02:32:01PM +0900, Joonsoo Kim wrote: To implement a graceful failure handling, we need to know whether allocation request is for reserved pool or not, on higher level. In this patch, we just move up

Re: [PATCH 10/18] mm, hugetlb: call vma_has_reserve() before entering alloc_huge_page()

2013-07-29 Thread Naoya Horiguchi
On Mon, Jul 29, 2013 at 02:32:01PM +0900, Joonsoo Kim wrote: > To implement a graceful failure handling, we need to know whether > allocation request is for reserved pool or not, on higher level. > In this patch, we just move up vma_has_reseve() to caller function > in order to know it. There is

Re: [PATCH 10/18] mm, hugetlb: call vma_has_reserve() before entering alloc_huge_page()

2013-07-29 Thread Naoya Horiguchi
On Mon, Jul 29, 2013 at 02:32:01PM +0900, Joonsoo Kim wrote: To implement a graceful failure handling, we need to know whether allocation request is for reserved pool or not, on higher level. In this patch, we just move up vma_has_reseve() to caller function in order to know it. There is no

[PATCH 10/18] mm, hugetlb: call vma_has_reserve() before entering alloc_huge_page()

2013-07-28 Thread Joonsoo Kim
To implement a graceful failure handling, we need to know whether allocation request is for reserved pool or not, on higher level. In this patch, we just move up vma_has_reseve() to caller function in order to know it. There is no functional change. Following patches implement a grace failure

[PATCH 10/18] mm, hugetlb: call vma_has_reserve() before entering alloc_huge_page()

2013-07-28 Thread Joonsoo Kim
To implement a graceful failure handling, we need to know whether allocation request is for reserved pool or not, on higher level. In this patch, we just move up vma_has_reseve() to caller function in order to know it. There is no functional change. Following patches implement a grace failure