Re: [PATCH] uapi: linux: acct: Remove redundant type comp2_t from kernel

From: Andrew Morton
Date: Thu Oct 20 2016 - 23:41:42 EST


On Wed, 5 Oct 2016 21:40:10 +0800 chengang@xxxxxxxxxxxxxxxx wrote:

> In api itself, kernel does not use it -- it is divided into ac_etime_hi
> and ac_etime_lo. So kernel side only need generate the correct
> ac_etime_hi and ac_etime_lo, but need not know about comp2_t.
>
> At present, kernel use normal u64 type for it, when kernel provdes it to
> outside, kernel can translate it into ac_etime_hi and ac_etime_lo,
> directly, but need not notice about comp2_t, in fact.

hm. Why is this an improvement?