madvise failed: Invalid argument

2024-08-12 Thread Developers list for Guile, the GNU extensibility library
Hi, Would someone please help me understand the warning message madvise failed: Invalid argument in my code? In my newest project, I hope to offer users a more convenient way to configure authentication tasks and partially reimplemented Linux-PAM in GNU Guile. [1] The online manual is the

Re: madvise failed: Invalid argument

2024-08-12 Thread Olivier Dion
On Mon, 12 Aug 2024, Felix Lechner via "Developers list for Guile, the GNU extensibility library" wrote: > Hi, [...] > The warning probably originates here: > > ret = madvise ((void *) lo, hi - lo, MADV_DONTNEED); [4] > > From my reading, that call is meant to return stack space back to the