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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]