On Mon, 2013-06-03 at 08:54 +0300, Tommi Rantala wrote: > 2013/6/3 Michael Ellerman <michael@xxxxxxxxxxxxxx>: > > I was hitting this on my system, where it's 65536. So fix the todo and > > read it from /proc. > > > > I left a fallback to the hardcoded values in case /proc is not mounted > > or something else goes wrong. > > Looks good to me, but please also fclose() in read_pid_max(). Ah crap, I knew I'd miss something, will resend. cheers -- To unsubscribe from this list: send the line "unsubscribe trinity" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html