[PATCH V2 fix 4/6] mm: mempolicy: intruduce a helper huge_nodemask()
From: Huang Shijie <hidden>
Date: 2016-12-05 03:09:31
Also in:
linux-mm
From: Huang Shijie <hidden>
Date: 2016-12-05 03:09:31
Also in:
linux-mm
On Fri, Dec 02, 2016 at 02:58:46PM +0100, Michal Hocko wrote:
On Wed 16-11-16 14:53:02, Huang Shijie wrote:quoted
This patch intruduces a new helper huge_nodemask(), we can use it to get the node mask. This idea of the function is from the init_nodemask_of_mempolicy(): Return true if we can succeed in extracting the node_mask for 'bind' or 'interleave' policy or initializing the node_mask to contain the single node for 'preferred' or 'local' policy.It is absolutely unclear how this is going to be used from this patch. Please make sure to also use a newly added function in the same patch.
Okay, I will merge this patch into the later patch. Thanks Huang Shijie