mm: accurately document nr_free_*_pages functions with code comments
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>
Sat, 23 Feb 2013 00:35:54 +0000 (16:35 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 24 Feb 2013 01:50:22 +0000 (17:50 -0800)
commite0fb58152955142f48ed31c8c0541b53e094da6b
treee13fe548e78c694e4d3aa80198f864511233a71e
parent5f4b9fc5c1d3c8fc6037fa99d527ad3264dc0038
mm: accurately document nr_free_*_pages functions with code comments

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.

[akpm@linux-foundation.org: tweak comments]
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c