lkml.org 
[lkml]   [2013]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] Kernel/time: Introduce a new timestamp function local_time_seconds()
On 05/14/2013 11:57 PM, John Stultz wrote:

> On 05/14/2013 12:45 AM, Gu Zheng wrote:
>> From 18072c1c3506a7e37ee485307a2c343efe5af4d0 Mon Sep 17 00:00:00 2001
>> From: Gu Zheng <guz.fnst@cn.fujitsu.com>
>> Date: Mon, 13 May 2013 15:45:24 +0900
>> Subject: [PATCH 1/2] Kernel/time: Introduce a new timestamp function local_time_seconds()
>>
>> Introduce a new timestamp function local_time_seconds() to hide the conversion of system time in UTC to local time seconds.
>
> So, why is this useful/needed?

Hi John,
There are some subsystems use local time seconds as a timestamp, such as scsi(refer to:http://www.spinics.net/lists/linux-scsi/msg66089.html),
and so do many out-of-kernel-tree code I think.

Best regards,
Gu

>
> thanks
> -john
>
>




\
 
 \ /
  Last update: 2013-05-15 07:41    [W:0.067 / U:2.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site