Re: [Y2038] [PATCH 11/23] y2038: rusage: use __kernel_old_timeval

2019-11-13 Thread Cyrill Gorcunov
On Wed, Nov 13, 2019 at 11:02:12AM +0100, Arnd Bergmann wrote: ... > > There are clearly too many time types at the moment, but I'm in the > process of throwing out the ones we no longer need now. Cool! > I do have a number patches implementing other variants for the syscall, > and I suppose

Re: [Y2038] [PATCH 11/23] y2038: rusage: use __kernel_old_timeval

2019-11-12 Thread Cyrill Gorcunov
ut then i found that we've this type defined in time_types.h uapi so userspace should be safe. I also like the idea of __kernel_rusage but definitely on top of the series. Reviewed-by: Cyrill Gorcunov ___ Y2038 mailing list Y2038@lists.linaro.org https://lists.linaro.org/mailman/listinfo/y2038

Re: [Y2038] [PATCH] sysinfo: remove get_monotonic_boottime()

2018-06-18 Thread Cyrill Gorcunov
info->uptime = tp.tv_sec + (tp.tv_nsec ? 1 : 0); > > get_avenrun(info->loads, 0, SI_LOAD_SHIFT - FSHIFT); The change is pretty obvious. Looks ok to me (though I missed the moment when timespec became old ;) Reviewed-by: Cyrill Gorcunov ___