Received: by 10.223.164.221 with SMTP id h29csp532251wrb; Fri, 13 Oct 2017 01:27:06 -0700 (PDT) X-Received: by 10.84.233.197 with SMTP id m5mr689275pln.305.1507883226087; Fri, 13 Oct 2017 01:27:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507883226; cv=none; d=google.com; s=arc-20160816; b=A3olYEdN2t7m59xaT40kAbCOpnM85Z9Bjvc0z79c3j1YWdl0NpIT6CE4R7OtUcikyb bZOeO3E+ZX2Y/rwF8bTQoB8Wnfi5IYfNG3+4e/prdHJ+lhzGwOfaty+EreP0n/2lGKv0 +mS0bf3XbQWYFb7fql2MKRjzdmvfLycwg8R/Dubv1vcVR8FJbQGo9FgLjeQ3M/E/RLE8 3qYAXA7n81lbVeLAdGCdT2sXnGVgEADEU9PiRqMx/ajw3rs314qsjPL2MqOVYv3eSUXH FB0PvZF2Ct0AyttmNu60BBhENIkOfvtizUt/DfgDRlOk7PMY6UqpS5y5Ygk2IYO3HP// lYFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=7+Hcsbv+EW2Qp2bQUGGIO0nh3YwQUrMbk9hAL0rfW6c=; b=HCyPPocMrqutMq6rgUj4g5oT4prNFeuYk2RUeZ3riWp073/w57Y6KuVy/V073S5O6J rgzSPNWwLWHQEmx+RO2xYWKG5OvhFuYQpKAE4AJDTIsxtX2lT+bzm0VxGh28pZ0dMJA/ AHD/ZKLCQiau2FE5UOwMNAWFs93PVy7ZexCnqAF4Hqv7LdTqyN4YNaKTViFoH7VsLKgd tBWSrHt4Z2RG3W2D9jVF9O7GZf58gNNrmXsjwumnhik+dvdLBwfRSNpdBLdVb5h04EYi uMKLJabwbokJsQpWBuDC8hLVo9VqOlysFmfEM/Af8D9eVsO0I6JtD8VgJsUAhqSDJ7+V /AyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CcWxTJG6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o23si264310pgc.534.2017.10.13.01.26.52; Fri, 13 Oct 2017 01:27:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CcWxTJG6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757371AbdJMI0Z (ORCPT + 99 others); Fri, 13 Oct 2017 04:26:25 -0400 Received: from mail-wm0-f45.google.com ([74.125.82.45]:48233 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753135AbdJMI0U (ORCPT ); Fri, 13 Oct 2017 04:26:20 -0400 Received: by mail-wm0-f45.google.com with SMTP id i124so19162750wmf.3 for ; Fri, 13 Oct 2017 01:26:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=7+Hcsbv+EW2Qp2bQUGGIO0nh3YwQUrMbk9hAL0rfW6c=; b=CcWxTJG6FKFyIuqC+P3cA9Mk/WH49qlTETNTjNXmxEuwK9nMexHZ6gvcUKJ257VWQ/ u85HslF4dk00CiYw9qNAVB21vEdMIAh1+Yf2x3ZL866ZSw3c0QMW73hlwwC45rj0sFPW xPZX/8IU/6DWReIkgmCPMbkDXVQmxThc6rePE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=7+Hcsbv+EW2Qp2bQUGGIO0nh3YwQUrMbk9hAL0rfW6c=; b=dIK+ZA77WdkYbSCgVbYJ/xfeALV+hUpBEfLva9im6FW6ML83W+hErTuRkRjT6UxOl1 8BnJOE1iuJ6JSiZuZ7YdGNesedOKSz2lIB/nv0dfTPSsG0v/xyoR+qnrrk6jiszePbNL Xxk5Rmadm9H2bx4kBJgxOz0iPKeXvO3Vx4JMGoKO7Ct8OBgBCuLPqKN2sYPhejVZyXey aGSL2tExftXKZ9rvyKXAQOWLXamSOJwZoVuCs4MoZxKVIUEtWenX+6C63Dd6X/GQXfj0 VKQQJrkka9gPUtlLyh2bOzyJ9nEylvWxfIw/RYPZ9tcsYcYvD3L0aKM9RDvp/IaPstkh 1hcg== X-Gm-Message-State: AMCzsaX60GT8X8V5wlt9aVZlpix2xL+JiW40gWB/wyCQRw2BAuvHYyWH 36YTzqs3Eo0IY3uXGqbK5r2kQRvga3I= X-Google-Smtp-Source: ABhQp+TnVwovVzOdUY7jqN5s8Nj2RfMC2PRSm0jB9V9H46XLVxrilt/pe47FY+T5OanyV2jM7GPwrg== X-Received: by 10.28.16.209 with SMTP id 200mr811723wmq.35.1507883179337; Fri, 13 Oct 2017 01:26:19 -0700 (PDT) Received: from [192.168.1.191] (cpc87211-aztw31-2-0-cust196.18-1.cable.virginm.net. [82.46.60.197]) by smtp.googlemail.com with ESMTPSA id g136sm677644wmd.40.2017.10.13.01.26.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Oct 2017 01:26:18 -0700 (PDT) Subject: Re: [PATCH] kdb: use __ktime_get_real_seconds instead of __current_kernel_time To: Andrew Morton , Arnd Bergmann Cc: Jason Wessel , Thomas Gleixner , y2038@lists.linaro.org, John Stultz , Stephen Boyd , Andy Shevchenko , Deepa Dinamani , Ingo Molnar , linux-kernel@vger.kernel.org, kgdb-bugreport@lists.sourceforge.net References: <20171012140659.2749268-1-arnd@arndb.de> <20171012154032.24a3007c479154d77c2767b4@linux-foundation.org> From: Daniel Thompson Message-ID: Date: Fri, 13 Oct 2017 09:26:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171012154032.24a3007c479154d77c2767b4@linux-foundation.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/10/17 23:40, Andrew Morton wrote: > On Thu, 12 Oct 2017 16:06:11 +0200 Arnd Bergmann wrote: > >> kdb is the only user of the __current_kernel_time() interface, which is >> not y2038 safe and should be removed at some point. >> >> The kdb code also goes to great lengths to print the time in a >> human-readable format from 'struct timespec', again using a non-y2038-safe >> re-implementation of the generic time_to_tm() code. > > Is it really necessary for the kdb `summary' command to print the > time/date? Which puppies would die if we just removed it all? kdb may enter spontaneously (BUG(), etc) so it can be useful if one returns from an overnight test run to know how long things survived. It would almost certainly be possible for a skilled user to reconstruct the time of death. Having said that, one of the things you can do with kdb (although I admit *I* have never done it) is leave a macro command in the hands of an unskilled user. Short summary: no puppies would die, but perhaps some might go hungry for a little while when their owner is late home? Daniel. From 1581093385321540086@xxx Thu Oct 12 22:42:33 +0000 2017 X-GM-THRID: 1581061020762448028 X-Gmail-Labels: Inbox,Category Forums