[PATCH glibc] Use proc_getchildren_rusage when available in getrusage and times.

2024-02-17 Thread Flavio Cruz
--- config.h.in| 3 + sysdeps/mach/hurd/configure| 174 + sysdeps/mach/hurd/configure.ac | 19 sysdeps/mach/hurd/getrusage.c | 8 +- sysdeps/mach/hurd/times.c | 18 +++- 5 files changed, 219 insertions(+), 3 deletions(-) dif

Re: [PATCH glibc] Use proc_getchildren_rusage when available in getrusage and times.

2024-02-17 Thread Samuel Thibault
Looks much nicer, applied, thanks! :D Flavio Cruz, le sam. 17 févr. 2024 11:48:46 -0500, a ecrit: > --- > config.h.in| 3 + > sysdeps/mach/hurd/configure| 174 + > sysdeps/mach/hurd/configure.ac | 19 > sysdeps/mach/hurd/getrusage.c

[PATCH glibc] Implement setcontext/getcontext/makecontext/swapcontext for Hurd x86_64

2024-02-17 Thread Flavio Cruz
Tested with the tests provided by glibc plus some other toy examples. --- sysdeps/mach/hurd/x86_64/Makefile | 4 + sysdeps/mach/hurd/x86_64/__start_context.S | 49 + sysdeps/mach/hurd/x86_64/getcontext.S | 68 sysdeps/mach/hurd/x86_64/makecontext.c | 119

Re: [PATCH glibc] Implement setcontext/getcontext/makecontext/swapcontext for Hurd x86_64

2024-02-17 Thread Samuel Thibault
Applied, thanks!! Flavio Cruz, le sam. 17 févr. 2024 15:25:35 -0500, a ecrit: > Tested with the tests provided by glibc plus some other toy examples. > --- > sysdeps/mach/hurd/x86_64/Makefile | 4 + > sysdeps/mach/hurd/x86_64/__start_context.S | 49 + > sysdeps/mach/hurd/x86_6

Re: [PATCH hurd] Add proc_getchildren_rusage RPC and track rusage for children and descendants

2024-02-17 Thread Flávio Cruz
Thanks for the reviews, Samuel! Did you forget to push this change? :) On Fri, Feb 16, 2024 at 8:24 PM Samuel Thibault wrote: > Applied, thanks! > > Flavio Cruz, le ven. 16 févr. 2024 13:26:29 -0500, a ecrit: > > --- > > hurd/process.defs | 6 ++ > > proc/info.c | 8 > > proc

Re: [PATCH hurd] Add proc_getchildren_rusage RPC and track rusage for children and descendants

2024-02-17 Thread Samuel Thibault
Flávio Cruz, le sam. 17 févr. 2024 16:56:48 -0500, a ecrit: > Thanks for the reviews, Samuel! Did you forget to push this change? :) For this one, perhaps, but with the second one, both went in :) Samuel