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

From: KOSAKI Motohiro
Date: Mon Dec 19 2011 - 16:15:25 EST


(12/19/11 3:53 PM), David Rientjes wrote:
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().

ok, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/