On Tue, Oct 26, 2021 at 11:29 PM Thomas Munro <thomas.mu...@gmail.com> wrote:
> When I do mmap(MAP_ANONYMOUS | MAP_SHARED) and then fork(), it seems
> that futex(2) wakeups are not delivered between child and parent in
> that memory.  It does work as expected if I instead use
> shmget(IPC_PRIVATE).

Hello,

This seems to be because such memory objects have no uvm_obj, which is
needed by futex_get() to identify futexes.  Could they have one?  Or
perhaps there is some other way to make a futex key in this case?

Reply via email to