Re: [PATCH] mm: accurately document nr_free_*_pages functions with code comments

2013-02-06 Thread Zhang Yanfei
于 2013年02月07日 08:55, Randy Dunlap 写道: > On 02/06/13 00:25, Zhang Yanfei wrote: >> Functions nr_free_zone_pages, nr_free_buffer_pages and >> nr_free_pagecache_pages >> are horribly badly named, so accurately document them with code comments >> in case of the misuse of them. >> >> Signed-off-by: Zha

Re: [PATCH] mm: accurately document nr_free_*_pages functions with code comments

2013-02-06 Thread Randy Dunlap
On 02/06/13 00:25, Zhang Yanfei wrote: > Functions nr_free_zone_pages, nr_free_buffer_pages and nr_free_pagecache_pages > are horribly badly named, so accurately document them with code comments > in case of the misuse of them. > > Signed-off-by: Zhang Yanfei > --- > mm/page_alloc.c | 23 +

[PATCH] mm: accurately document nr_free_*_pages functions with code comments

2013-02-06 Thread Zhang Yanfei
Functions nr_free_zone_pages, nr_free_buffer_pages and nr_free_pagecache_pages are horribly badly named, so accurately document them with code comments in case of the misuse of them. Signed-off-by: Zhang Yanfei --- mm/page_alloc.c | 23 +++ 1 files changed, 19 insertions(+)