Re: [PATCH][RFC] io_uring: Fix io_uring_mmu_get_unmapped_area() for IA-64
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Jens Axboe <axboe@xxxxxxxxx>, io-uring@xxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, matoro_mailinglist_kernel@xxxxxxxxx, linux-parisc@xxxxxxxxxxxxxxx
- Subject: Re: [PATCH][RFC] io_uring: Fix io_uring_mmu_get_unmapped_area() for IA-64
- From: Helge Deller <deller@xxxxxx>
- Date: Fri, 21 Jul 2023 00:38:17 +0200
- In-reply-to: <0a242157-6dd6-77fd-b218-52e3ba06e450@kernel.dk>
- References: <ZLhTuTPecx2fGuH1@p100> <0a242157-6dd6-77fd-b218-52e3ba06e450@kernel.dk>
- Ui-outboundreport: notjunk:1;M01:P0:IsYozpIzT0w=;PuPL2hzjpDuNJGaoqAqv5QvY1pS Az3uW9T3CFsXXGZDOY+j+nTm/Fl6ev9hH3B5UOGi6DslpEkyzH39c12BwI/W7UMBOkN6ZfL+c r9GH2aKCathWnzMpVUYnJMLJ/YyqsoVcC80dtRabjccFB5TCKzO8wdFcOnAHEFsE49wHDZu4c nHYA0OS5u1PU/OmIjxcH6svYkKt6TYt2vxlnU2cG0GOIO05vUtmN2d+URcy63Awl78k3Lpcv/ CTQXzYXAGZQ2+XvnqqhNVzS19ZlfXQzd9kjtjQ8OaEQLEqhgfUCzDNTdefMkf1xOPy4ihY8e9 wrAFxARZGyZ/MzPq654zHnOEp6vF7BZoLn07DF6JZ7tduQth6V2wG4x0jIgItPvq5+eYirSHI S6hHPfqUja/vm3Jdy4pDxeBpfH2N2QCfvhjRY82wu/xqjL72dVNYGAUmGhkrHj7DL2ZdGRhIY pWyk/ckOFQtF92w5UR78vWJYooyNBVoQamHfsgZBtONjtm+nohjB54Da/N74WNw1uCdbJyN/O VENua/5UNEBCADXRrBFQtzPnbHAvWY5xq0E8M8ZyKsmQDC1WDaq8vCYbXQY7Ri8H0ovsXghGt s2mnx46XvJ9RpcTfK837GWZUJlAeVt1RJoK12/H/0kx0N8boRO6B4lMvkd0CV6MU1PT7HDwiB HF7AcR/KQOK49PqmsZkVlIH6d6OmwjBVmQGgmpZMuKRUOCBcGCcBU2umUqWTlB/C4j4Wthr2p sUKiDDBqpLJkCl5/WXRVGrDnVDtRTMQnQKeNma0SCukGY34SvaB/T5B6UHaZsyhe2kswGUqdV fqrDB/qouINissydUtcJz/Yejs9OxMfk5+Mvlt9oK9cdJkdHqoAKAH+JZ5ZRVGY4a8plDZTxs 9A5iRcrkYqKq+twhju1exmE75Soc1N13v3aw+fQjAkWR5HU/DDz7SC2uHtxKmStErgkKsk5ZC jUCZZjWGTnHw3cBsxX7nzR3Ig/E=
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0
On 7/21/23 00:30, Jens Axboe wrote:
On 7/19/23 3:20?PM, Helge Deller wrote:
The io_uring testcase is broken on IA-64 since commit d808459b2e31
("io_uring: Adjust mapping wrt architecture aliasing requirements").
The reason is, that this commit introduced an own architecture
independend get_unmapped_area() search algorithm which doesn't suite the
memory region requirements for IA-64.
To avoid similar problems in the future it's better to switch back to
the architecture-provided get_unmapped_area() function and adjust the
needed input parameters before the call. Additionally
io_uring_mmu_get_unmapped_area() will now become easier to understand
and maintain.
This patch has been tested on physical IA-64 and PA-RISC machines,
without any failures in the io_uring testcases. On PA-RISC the
LTP mmmap testcases did not report any regressions either.
I don't expect issues for other architectures, but it would be nice if
this patch could be tested on other machines too.
Any comments from the IA64 folks?
matoro tested it on ia64 at least...
Helge, should this be split into three patches? One for hppa, one for
ia64, and then the io_uring one?
If we split up, I would prefer to split it into 2 patches:
One for io_uring together with the hppa patch, since they should go in together.
The ia64 patch is probably unrelated, and can go seperately. But
there doesn't seem to be any ia64 maintainer...?
Do you have a chance to test this patch on the other io_uring platforms,
without applying it into your tree? I think some testing would be good.
Helge
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]