Messages in this thread | | | Date | Thu, 3 Dec 2020 23:08:01 +0300 | From | Alexey Dobriyan <> | Subject | Re: [PATCH 05/10] proc: use %u for pid printing and slightly less stack |
| |
On Fri, Dec 04, 2020 at 02:31:59AM +0800, Wen Yang wrote: > From: Alexey Dobriyan <adobriyan@gmail.com> > > [ Upstream commit e3912ac37e07a13c70675cd75020694de4841c74 ] > > PROC_NUMBUF is 13 which is enough for "negative int + \n + \0". > > However PIDs and TGIDs are never negative and newline is not a concern, > so use just 10 per integer. > > Link: http://lkml.kernel.org/r/20171120203005.GA27743@avx2 > Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> > Cc: Alexander Viro <viro@ftp.linux.org.uk> > Signed-off-by: Andrew Morton <akpm@linux-foundation.org> > Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> > Cc: <stable@vger.kernel.org> # 4.9.x
A what? How does this belong to stable?
| |