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]

 



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

[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]