On Wed 05-01-11 03:54:16, CAI Qian wrote: > > > OK, this explains the bogus value because hugetlb_overcommit_handler > > doesn't check the return value of proc_doulongvec_minmax which fails > > for > > "\n" string which you are writing to the file so we end up setting a > > random value from the stack. The following patch should fix this: > > > > Btw. what did you want to achieve by this command? > Just to do some testing for robustness. :) OK, you hit the nail ;) I have just noticed I forgot to add your Reported-by: tag and I guess this is also a stable material. I will repost the patch once Andrew says he is going to take it. Thanks > > CAI Qian > > -- > To unsubscribe, send a message with 'unsubscribe linux-mm' in > the body to majordomo@xxxxxxxxxx For more info on Linux MM, > see: http://www.linux-mm.org/ . > Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ > Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a> -- Michal Hocko L3 team SUSE LINUX s.r.o. Lihovarska 1060/12 190 00 Praha 9 Czech Republic -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>