Re: [PATCH RFC 0/9] Launching processes with io_uring

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 ---- On Sun, 19 Jan 2025 07:03:51 +0400  Pavel Begunkov  wrote --- 
 > I also wonder, if copying the page table is a performance problem, why
 > CLONE_VM + exec is not an option?

Do you mean CLONE_VFORK? Anyway, CLONE_VM surprisingly turns out
to be a good solution. So thank you!

There is a bug in libc or in Linux: https://sourceware.org/bugzilla/show_bug.cgi?id=32565 .

I suspect this is actually a Linux bug.

After receiving your letter I decided to try CLONE_VM. And it works!
There is no bug in CLONE_VM version! You can see more details here:
https://www.openwall.com/lists/musl/2025/01/22/1

--
Askar Safin
https://types.pl/@safinaskar





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux