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

From: KAMEZAWA Hiroyuki
Date: Thu Feb 09 2012 - 20:00:45 EST


On Thu, 9 Feb 2012 16:27:41 -0800
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> 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.
>

Ah, he changed the name because I complained "pme_t seems a new page table entry
type.."

Regards,
-Kame

--
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/