Re: [PATCH 6/6] pagemap: introduce data structure for pagemap entry
From: KAMEZAWA Hiroyuki <hidden>
Date: 2012-02-09 02:31:04
Also in:
lkml
From: KAMEZAWA Hiroyuki <hidden>
Date: 2012-02-09 02:31:04
Also in:
lkml
On Wed, 8 Feb 2012 10:51:42 -0500 Naoya Horiguchi [off-list ref] wrote:
Currently a local variable of pagemap entry in pagemap_pte_range() is named pfn and typed with u64, but it's not correct (pfn should be unsigned long.)
Does this means "the name 'pfn' implies unsigned long, usually. And this usage is confusing." ?
This patch introduces special type for pagemap entry and replace code with it. Signed-off-by: Naoya Horiguchi <redacted> Cc: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: KAMEZAWA Hiroyuki <redacted> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. 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@kvack.org"> email@kvack.org </a>