Re: [PATCH] drop the deprecated malloc/free hooks in hurd/mach-defpager

2016-09-25 Thread Samuel Thibault
Hello, FWIW, I have created a t/mlockall branch in our glibc repository, where I have put the basic glibc infrastructure, which just calls a to-be-implemented vm_wire_all mach RPC (feel free to rename that). the mlockall part should probably convert posix flags into mach flags. Of course, since t

Re: [PATCH] drop the deprecated malloc/free hooks in hurd/mach-defpager

2016-09-05 Thread Samuel Thibault
Samuel Thibault, on Wed 31 Aug 2016 17:59:02 +0200, wrote: > Debian is uploading 2.24, so we need to implement something now. 2.24-2 is now uploaded. Samuel

Re: [PATCH] drop the deprecated malloc/free hooks in hurd/mach-defpager

2016-08-31 Thread Samuel Thibault
Samuel Thibault, on Tue 16 Aug 2016 22:57:04 +0200, wrote: > Thomas Schwinge, on Fri 05 Aug 2016 09:27:00 +0200, wrote: > > On Mon, 30 May 2016 23:59:33 +0200, Samuel Thibault > > wrote: > > > Justus Winter, on Wed 18 May 2016 13:27:13 +0200, wrote: > > > > As Richard said in #hurd, implement mlo

Re: [PATCH] drop the deprecated malloc/free hooks in hurd/mach-defpager

2016-08-16 Thread Samuel Thibault
Hello, Thomas Schwinge, on Fri 05 Aug 2016 09:27:00 +0200, wrote: > On Mon, 30 May 2016 23:59:33 +0200, Samuel Thibault > wrote: > > Justus Winter, on Wed 18 May 2016 13:27:13 +0200, wrote: > > > As Richard said in #hurd, implement mlockall and MCL_FUTURE and just > > > use the default allocator

Re: [PATCH] drop the deprecated malloc/free hooks in hurd/mach-defpager

2016-08-05 Thread Thomas Schwinge
Hi! On Mon, 30 May 2016 23:59:33 +0200, Samuel Thibault wrote: > Justus Winter, on Wed 18 May 2016 13:27:13 +0200, wrote: > > As Richard said in #hurd, implement mlockall and MCL_FUTURE and just > > use the default allocator. > > Indeed. (Conceptually ACK.) > > or is the removal of that depr

Re: [PATCH] drop the deprecated malloc/free hooks in hurd/mach-defpager

2016-05-30 Thread Samuel Thibault
Justus Winter, on Wed 18 May 2016 13:27:13 +0200, wrote: > As Richard said in #hurd, implement mlockall and MCL_FUTURE and just > use the default allocator. Indeed. > I'd suggest reverting that change, Better be safe for now, yes. I have also implemented the other hooks, just to be on the safe

Re: [PATCH] drop the deprecated malloc/free hooks in hurd/mach-defpager

2016-05-26 Thread Justus Winter
Quoting Justus Winter (2016-05-18 13:27:13) > > Backing up one step: what is actually being done here in mach-defpager? > > Again from just a quick look, is the idea to use wired memory for all of > > mach-defpager's process memory? Yes, wiring the memory is required to avoid deadlocks [0]. 0: h

Re: [PATCH] drop the deprecated malloc/free hooks in hurd/mach-defpager

2016-05-18 Thread Justus Winter
Hey :) Quoting Thomas Schwinge (2016-05-16 18:49:47) > Hi! > > On Tue, 29 Dec 2015 23:09:54 +0100, Flavio Cruz wrote: > > mach-defpager: Drop the deprecated malloc/free hooks. > > (After approval by Samuel, this became commit > 8c49801c8f7e3f800cabedf8fca8ccec3cf35a22.) > > > * mach-defpager/k

Re: [PATCH] drop the deprecated malloc/free hooks in hurd/mach-defpager

2016-05-16 Thread Thomas Schwinge
Hi! On Tue, 29 Dec 2015 23:09:54 +0100, Flavio Cruz wrote: > mach-defpager: Drop the deprecated malloc/free hooks. (After approval by Samuel, this became commit 8c49801c8f7e3f800cabedf8fca8ccec3cf35a22.) > * mach-defpager/kalloc.c: Define malloc and free directly since those are weak > symbols.

Re: [PATCH] drop the deprecated malloc/free hooks in hurd/mach-defpager

2015-12-29 Thread Samuel Thibault
Applied, thanks!