Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1163595

Re: [PATCH 2/8] apm32: Fix cputime == jiffies assumption

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Rik van Riel <riel@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/8] apm32: Fix cputime == jiffies assumption
Date Thu, 11 Jun 2015 22:50:02 +0200
Message-ID <pAhAe-fl-17@gated-at.bofh.it> (permalink)
References <pAeCm-4hX-1@gated-at.bofh.it> <pAeCo-4hX-29@gated-at.bofh.it>
X-Original-To Frederic Weisbecker <fweisbec@gmail.com>, LKML <linux-kernel@vger.kernel.org>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version 1.0
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 7bit
X-Scanned-By MIMEDefang 2.68 on 10.5.11.27
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 23
Organization linux.* mail to news gateway
X-Original-Cc Peter Zijlstra <peterz@infradead.org>, Thomas Gleixner <tglx@linutronix.de>, Preeti U Murthy <preeti@linux.vnet.ibm.com>, Christoph Lameter <cl@linux.com>, Ingo Molnar <mingo@kernel.org>, Viresh Kumar <viresh.kumar@linaro.org>
X-Original-Date Thu, 11 Jun 2015 16:47:12 -0400
X-Original-Message-ID <5579F3D0.5020901@redhat.com>
X-Original-References <1434044168-23173-1-git-send-email-fweisbec@gmail.com> <1434044168-23173-3-git-send-email-fweisbec@gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1163595

Show key headers only | View raw


On 06/11/2015 01:36 PM, Frederic Weisbecker wrote:
> That code wrongly assumes that cputime_t wraps jiffies_t. Lets use
> the correct accessors/mutators.
> 
> No real harm now as that code can't be used with full dynticks.
> 
> Cc: Christoph Lameter <cl@linux.com>
> Cc: Ingo Molnar <mingo@kernel.org>
> Cc; John Stultz <john.stultz@linaro.org>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Cc: Preeti U Murthy <preeti@linux.vnet.ibm.com>
> Cc: Rik van Riel <riel@redhat.com>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>

Reviewed-by: Rik van Riel <riel@redhat.com>

--
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/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 2/8] apm32: Fix cputime == jiffies assumption Rik van Riel <riel@redhat.com> - 2015-06-11 22:50 +0200

csiph-web