On Thu, Aug 15, 2024 at 05:53:19PM +0000, Edgecombe, Rick P wrote:
On Thu, 2024-08-15 at 17:39 +0100, Mark Brown wrote:
Oh, thanks for the heads up - I'd missed that.
Looking at this I think it makes sense to do as was done for x86 and split this out into a separate series (part of why I'd missed it), updating the generic implementation to do this by default. That'll touch a bunch of architectures and the series is already quite big, it's not really an ABI impact.
The series is already upstream. You just need to add an arm version of that linked patch. But up to you.
Your series modified the existing x86 custom arch_get_unmapped_area*() functions, arm64 uses the generic implementation of those so I'd have to either add custom implementations (which I can't imagine would be met with great enthusiasm) or update the generic ones. A generic implementation seems reasonable and it looks like RISC-V would also end up using it so while it's a bit invasive it does seem more sensible to do the change there.