Re: [PATCH 6/6] pagemap: introduce data structure for pagemap entry

From: Andrew Morton
Date: Thu Feb 09 2012 - 19:27:40 EST


On Wed, 8 Feb 2012 10:51:42 -0500
Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx> 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.)
> This patch introduces special type for pagemap entry and replace
> code with it.
>
> Signed-off-by: Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
>
> Changes since v4:
> - Rename pme_t to pagemap_entry_t

hm. Why this change? I'd have thought that this should be called
pme_t. And defined in or under pgtable.h, rather than being private to
fs/proc/task_mmu.c.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/