Re: [PATCH v2 2/2] rusage: allow 64-bit times ru_utime/ru_stime
From: Ingo Molnar <mingo@kernel.org>
Date: 2018-06-21 16:11:30
Also in:
linux-alpha, linux-arch, lkml
From: Ingo Molnar <mingo@kernel.org>
Date: 2018-06-21 16:11:30
Also in:
linux-alpha, linux-arch, lkml
* Arnd Bergmann [off-list ref] wrote:
Sure, no problem. Do you have an opinion on the question I raised in the first patch [1], i.e. whether we actually want this to be done this way in the kernel, or one of the other approaches I described there?
So this looks like the most forward looking variant:
a) deprecate the wait4() and getrusage() system calls, and create a set of kernel interfaces based around a newly defined structure that could solve multiple problems at once, e.g. provide more fine-grained timestamps. The C library could then implement the posix interfaces on top of the new system calls.
... but given the pretty long propagation time of new ABIs, is this a good solution? What would the limitations/trade-offs be on old-ABI systems? Thanks, Ingo