Re: [PATCH 1/2] Implement basic sleeping locks for gnumach.

2017-01-28 Thread Samuel Thibault
Hello, Agustina Arzille, on Thu 19 Jan 2017 10:00:32 -0500, wrote: > +/* Atomically compare *PTR with EXP and set it to NVAL if they're equal. > + * Evaluates to a boolean, indicating whether the comparison was > successful.*/ > +#define atomic_cas(ptr, exp, nval) \ > + ({ \ > + typeof(e

Re: panic: pmap_page_protect removing a wired page

2017-01-28 Thread Richard Braun
On Sun, Oct 02, 2016 at 02:09:02PM +0200, Justus Winter wrote: > we spoke briefly in #hurd about a problem with wired memory I > encountered during my work on the malleable syscall interface. I > managed to create a more minimal test case. The attached program > crashes stock Mach kernels as pack