Re: [PATCH v3 9/9] mm, hugetlb: decrement reserve count if VM_NORESERVE alloc page cache

2013-07-29 Thread Hillf Danton
On Mon, Jul 29, 2013 at 1:28 PM, Joonsoo Kim wrote: > If a vma with VM_NORESERVE allocate a new page for page cache, we should > check whether this area is reserved or not. If this address is > already reserved by other process(in case of chg == 0), we should > decrement reserve count, because

Re: [PATCH v3 9/9] mm, hugetlb: decrement reserve count if VM_NORESERVE alloc page cache

2013-07-29 Thread Hillf Danton
On Mon, Jul 29, 2013 at 1:28 PM, Joonsoo Kim iamjoonsoo@lge.com wrote: If a vma with VM_NORESERVE allocate a new page for page cache, we should check whether this area is reserved or not. If this address is already reserved by other process(in case of chg == 0), we should decrement reserve

[PATCH v3 9/9] mm, hugetlb: decrement reserve count if VM_NORESERVE alloc page cache

2013-07-28 Thread Joonsoo Kim
If a vma with VM_NORESERVE allocate a new page for page cache, we should check whether this area is reserved or not. If this address is already reserved by other process(in case of chg == 0), we should decrement reserve count, because this allocated page will go into page cache and currently,

[PATCH v3 9/9] mm, hugetlb: decrement reserve count if VM_NORESERVE alloc page cache

2013-07-28 Thread Joonsoo Kim
If a vma with VM_NORESERVE allocate a new page for page cache, we should check whether this area is reserved or not. If this address is already reserved by other process(in case of chg == 0), we should decrement reserve count, because this allocated page will go into page cache and currently,