[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201203200801.GA3323724@localhost.localdomain>
Date: Thu, 3 Dec 2020 23:08:01 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: Wen Yang <wenyang@...ux.alibaba.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Sasha Levin <sashal@...nel.org>,
Xunlei Pang <xlpang@...ux.alibaba.com>,
linux-kernel@...r.kernel.org,
Alexander Viro <viro@....linux.org.uk>,
Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
stable@...r.kernel.org
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@...il.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@...il.com>
> Cc: Alexander Viro <viro@....linux.org.uk>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
> Signed-off-by: Linus Torvalds <torvalds@...ux-foundation.org>
> Cc: <stable@...r.kernel.org> # 4.9.x
A what? How does this belong to stable?
Powered by blists - more mailing lists