diff options
author | Joonsoo Kim <iamjoonsoo.kim@lge.com> | 2013-09-11 23:21:54 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-12 00:57:44 +0200 |
commit | 8bb3f12e7d4f7b043a7c5aa3831e72041e80dc4a (patch) | |
tree | be5c4ff792b8555a8d5fd3286d2714bff1d01a48 /mm/maccess.c | |
parent | mm, hugetlb: change variable name reservations to resv (diff) | |
download | linux-8bb3f12e7d4f7b043a7c5aa3831e72041e80dc4a.tar.xz linux-8bb3f12e7d4f7b043a7c5aa3831e72041e80dc4a.zip |
mm, hugetlb: fix subpool accounting handling
If we alloc hugepage with avoid_reserve, we don't dequeue reserved one.
So, we should check subpool counter when avoid_reserve. This patch
implement it.
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Aneesh Kumar <aneesh.kumar@linux.vnet.ibm.com>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Davidlohr Bueso <davidlohr@hp.com>
Cc: David Gibson <david@gibson.dropbear.id.au>
Cc: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Cc: Hillf Danton <dhillf@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/maccess.c')
0 files changed, 0 insertions, 0 deletions