Re: [tip:perf/core] perf/x86: Add generic Intel uncore PMU support

From: H. Peter Anvin
Date: Thu Jun 21 2012 - 19:23:07 EST


On 06/21/2012 04:18 PM, Andrew Morton wrote:
>>
>> So why is ktime_t unsigned?
>
> err, actually, it isn't. But lots of the APIs to manipulate ktime_t
> use u64. Reason?
>
> I do agree that time quantities should be signed.

No idea... probably because when representing an actual wall time since
the POSIX epoch that can happen during the poweron time on the system,
the number will be positive since the POSIX epoch predates Linux.

-hpa

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/