lkml.org 
[lkml]   [2011]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][RESEND] mm: Fix off-by-one bug in print_nodes_state
On Sun, 18 Dec 2011, KOSAKI Motohiro wrote:

> Usually, /sys files don't output trailing '¥0'. And, '¥0' is not regular
> io friendly. So I can imagine some careless programmer think it is garbage. Is
> there any benefit to show trailing '¥0'?
>

Nope, it could be removed since the buffer is allocated with
get_zeroed_page().
\
 
 \ /
  Last update: 2011-12-19 21:55    [W:0.060 / U:0.960 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site