From: Zhouping L. <zl...@re...> - 2013-04-17 12:11:38
|
----- Original Message ----- > From: "Lans Zhang" <lan...@gm...> > To: "Jan Stancek" <jst...@re...>, "Zhouping Liu" <zl...@re...> > Cc: "Wanlong Gao" <gao...@cn...>, ltp...@li... > Sent: Wednesday, April 17, 2013 5:18:37 PM > Subject: [PATCH V3] [LTP] Fix short of nodemask array. > > Changes since V2: > remove unused parameter in set_node() > > In kernel, if user specified more nodes, e.g, 512 nodes, than the > supported, e.g, 4 nodes, kernel will check if the non supported > part, e.g, 508 nodes, is all zeroed in node bitmap. Currently, we > are overrunning "nmask", whose length is shorter than MAXNODES, > and where the unsupported bits should be cleared to pass the check. > > Signed-off-by: Lans Zhang <lan...@gm...> Reviewed-by: Zhouping Liu <zl...@re...> -- Thanks, Zhouping |