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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/