Re: [PATCH][RESEND] mm: Fix off-by-one bug in print_nodes_state

From: David Rientjes
Date: Mon Dec 19 2011 - 15:53:20 EST


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().