Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752166Ab3EOEMh (ORCPT ); Wed, 15 May 2013 00:12:37 -0400 Received: from cn.fujitsu.com ([222.73.24.84]:38801 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751060Ab3EOEMg (ORCPT ); Wed, 15 May 2013 00:12:36 -0400 X-IronPort-AV: E=Sophos;i="4.87,675,1363104000"; d="scan'208";a="7272583" Message-ID: <519301D8.2030502@cn.fujitsu.com> Date: Wed, 15 May 2013 11:32:40 +0800 From: Gu Zheng User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1 MIME-Version: 1.0 To: John Stultz CC: Andrew Morton , linux-kernel , JBottomley@parallels.com, linux-scsi@vger.kernel.org Subject: Re: [PATCH 1/2] Kernel/time: Introduce a new timestamp function local_time_seconds() References: <5191EBA7.9010303@cn.fujitsu.com> <51925EDC.2080307@linaro.org> In-Reply-To: <51925EDC.2080307@linaro.org> X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2013/05/15 11:33:42, Serialize by Router on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2013/05/15 11:33:45, Serialize complete at 2013/05/15 11:33:45 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1001 Lines: 31 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 >> 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 > > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/