[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150302151023.e40dd1c6a9bf3d29cb6b657c@linux-foundation.org>
Date: Mon, 2 Mar 2015 15:10:23 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Mike Kravetz <mike.kravetz@...cle.com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Nadia Yvette Chambers <nyc@...omorphy.com>,
Davidlohr Bueso <davidlohr@...com>,
Aneesh Kumar <aneesh.kumar@...ux.vnet.ibm.com>,
Joonsoo Kim <iamjoonsoo.kim@....com>
Subject: Re: [RFC 2/3] hugetlbfs: coordinate global and subpool reserve
accounting
On Fri, 27 Feb 2015 14:58:11 -0800 Mike Kravetz <mike.kravetz@...cle.com> wrote:
> If the pages for a subpool are reserved, then the reservations have
> already been accounted for in the global pool. Therefore, when
> requesting a new reservation (such as for a mapping) for the subpool
> do not count again in global pool. However, when actually allocating
> a page for the subpool decrement global reserve count to correspond to
> with decrement in global free pages.
The last sentence made my brain hurt.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists