On Mon, Apr 29, 2013 at 09:22:38PM +0100, David Rientjes wrote: > On Mon, 29 Apr 2013, Steve Capper wrote: > > > Under x86, multiple puds can be made to reference the same bank of > > huge pmds provided that they represent a full PUD_SIZE of shared > > huge memory that is aligned to a PUD_SIZE boundary. > > > > The code to share pmds does not require any architecture specific > > knowledge other than the fact that pmds can be indexed, thus can > > be beneficial to some other architectures. > > > > This RFC promotes the huge_pmd_share code (and dependencies) from > > x86 to mm to make it accessible to other architectures. > > > > I am working on ARM64 support for huge pages and rather than > > duplicate the x86 huge_pmd_share code, I thought it would be better > > to promote it to mm. > > No objections to this, but I think you should do it as the first patch in > a series that adds the arm support. There's no need for this to be moved > until that support is tested, proposed, reviewed, and merged. I agree, it would be good to see the arm64 support in this series as well (though eventual upstreaming may go via separate paths). -- Catalin -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>