lkml.org 
[lkml]   [2020]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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?

\
 
 \ /
  Last update: 2020-12-03 21:11    [W:0.130 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site