Re: [PATCH 2/4] thp: introduce hugepage_get_pmd()

From: David Rientjes
Date: Thu Oct 18 2012 - 16:15:09 EST


On Thu, 18 Oct 2012, Bob Liu wrote:

> Introduce hugepage_get_pmd() to simple code.
>

I don't see this as simple just because you're removing more lines, I find
pagetable walks to be harder to read when split up like this and the "get"
part implies you're grabbing a reference on the pmd, which you're not.
--
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/