Re: [PATCH] mm/hugetlb: reduce arch dependent code about huge_pmd_unshare

From: Andrew Morton
Date: Thu Apr 23 2015 - 18:42:04 EST


On Thu, 23 Apr 2015 22:26:18 +0000 "Luck, Tony" <tony.luck@xxxxxxxxx> wrote:

> > Memory fails me. Why do some architectures (arm, arm64, x86_64) want
> > huge_pmd_[un]share() while other architectures (ia64, tile, mips,
> > powerpc, metag, sh, s390) do not?
>
> Potentially laziness/ignorance-of-feature? It looks like this feature started on x86_64 and then spread
> to arm*.

Yes. In 3212b535f200c85b5a6 Steve Capper (ARM person) hoisted the code
out of x86 into generic, then made arm use it.

We're not (I'm not) very good about letting arch people know about such
things. I wonder how to fix that; does linux-arch work?

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