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