https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217138

--- Comment #29 from Mark Millard <[email protected]> ---
Created attachment 181044
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=181044&action=edit
Program showing posix_madvise with POSIX_MADV_WILLNEED can prevent the failure

posix_madvise(.,.,POSIX_MADV_WILLNEED) in the child process
after the fork but before the sleep/swap-out avoids the failure.

In the parent process it makes no difference.

The .,. is the address and size for a memory region that is
to avoid the problem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to "[email protected]"

Reply via email to