Re: [PATCH 6/6] pagemap: introduce data structure for pagemap entry
From: KAMEZAWA Hiroyuki <hidden>
Date: 2012-02-09 02:31:04
Also in:
linux-mm
From: KAMEZAWA Hiroyuki <hidden>
Date: 2012-02-09 02:31:04
Also in:
linux-mm
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>