public inbox for linux-api@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Chris Metcalf <cmetcalf@ezchip.com>,
	Gilad Ben Yossef <giladb@ezchip.com>,
	Steven Rostedt <rostedt@goodmis.org>,
	Ingo Molnar <mingo@kernel.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Rik van Riel <riel@redhat.com>, Tejun Heo <tj@kernel.org>,
	"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>,
	Christoph Lameter <cl@linux.com>,
	Viresh Kumar <viresh.kumar@linaro.org>,
	Catalin Marinas <catalin.marinas@arm.com>,
	Will Deacon <will.deacon@arm.com>,
	Andy Lutomirski <luto@amacapital.net>,
	linux-doc@vger.kernel.org, linux-api@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v7 02/11] task_isolation: add initial support
Date: Thu, 1 Oct 2015 14:18:42 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.11.1510011416160.4500@nanos> (raw)
In-Reply-To: <20151001121414.GB3432@lerouge>

On Thu, 1 Oct 2015, Frederic Weisbecker wrote:
> On Mon, Sep 28, 2015 at 11:17:17AM -0400, Chris Metcalf wrote:
> > +
> > +	while (READ_ONCE(dev->next_event.tv64) != KTIME_MAX) {
> 
> You should add a function in tick-sched.c to get the next tick. This
> is supposed to be a private field.

Just to make it clear. Neither the above nor a similar check in
tick-sched.c is going to happen.

This busy waiting is just horrible. Get your act together and solve
the problems at the root and do not inflict your quick and dirty
'solutions' on us.

Thanks,

	tglx

  reply	other threads:[~2015-10-01 12:18 UTC|newest]

Thread overview: 159+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-08 17:58 [PATCH 0/6] support "dataplane" mode for nohz_full Chris Metcalf
2015-05-08 17:58 ` [PATCH 1/6] nohz_full: add support for "dataplane" mode Chris Metcalf
2015-05-08 17:58 ` [PATCH 4/6] nohz: support PR_DATAPLANE_QUIESCE Chris Metcalf
     [not found]   ` <1431107927-13998-5-git-send-email-cmetcalf-d5a29ZRxExrQT0dZR+AlfA@public.gmane.org>
2015-05-12  9:33     ` Peter Zijlstra
     [not found]       ` <20150512093349.GH21418-ndre7Fmf5hadTX5a5knrm8zTDFooKrT+cvkQGrU6aU0@public.gmane.org>
2015-05-12  9:50         ` Ingo Molnar
     [not found]           ` <20150512095030.GD11477-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-05-12 10:38             ` Peter Zijlstra
2015-05-12 12:52               ` Ingo Molnar
2015-05-13  4:35                 ` Andy Lutomirski
2015-05-13 17:51                   ` Paul E. McKenney
     [not found]                     ` <20150513175150.GL6776-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2015-05-14 20:55                       ` Chris Metcalf
2015-05-14 20:54       ` Chris Metcalf
2015-05-08 17:58 ` [PATCH 5/6] nohz: support PR_DATAPLANE_STRICT mode Chris Metcalf
2015-05-09  7:28   ` Andy Lutomirski
2015-05-09 10:37     ` Gilad Ben Yossef
     [not found]     ` <CALCETrUoptUPVUxL87jUgry1pFac0rDPpnZ790zDKyK4a0FARA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-11 19:13       ` Chris Metcalf
2015-05-11 22:28         ` Andy Lutomirski
2015-05-12 21:06           ` Chris Metcalf
2015-05-12 22:23             ` Andy Lutomirski
2015-05-15 21:25               ` Chris Metcalf
2015-05-12  9:38   ` Peter Zijlstra
     [not found]     ` <20150512093858.GI21418-ndre7Fmf5hadTX5a5knrm8zTDFooKrT+cvkQGrU6aU0@public.gmane.org>
2015-05-12 13:20       ` Paul E. McKenney
     [not found] ` <1431107927-13998-1-git-send-email-cmetcalf-d5a29ZRxExrQT0dZR+AlfA@public.gmane.org>
2015-05-08 21:18   ` [PATCH 0/6] support "dataplane" mode for nohz_full Andrew Morton
2015-05-08 21:22     ` Steven Rostedt
     [not found]       ` <20150508172210.559830a9-f9ZlEuEWxVcJvu8Pb33WZ0EMvNT87kid@public.gmane.org>
2015-05-08 23:11         ` Chris Metcalf
2015-05-08 23:19           ` Andrew Morton
2015-05-09  7:05             ` Ingo Molnar
     [not found]               ` <20150509070538.GA9413-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-05-09  7:19                 ` Andy Lutomirski
     [not found]                   ` <CALCETrXavog018+xLacXeBLaMLjWtqk0bMU5fUzZ+pkwgu7Y3A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-11 19:54                     ` Chris Metcalf
     [not found]                       ` <555108FC.3060200-d5a29ZRxExrQT0dZR+AlfA@public.gmane.org>
2015-05-11 22:15                         ` Andy Lutomirski
     [not found]                   ` <55510885.9070101@ezchip.com>
2015-05-12 13:18                     ` Paul E. McKenney
2015-05-09  7:19                 ` Mike Galbraith
     [not found]                   ` <1431155983.3209.131.camel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-05-09 10:18                     ` Gilad Ben Yossef
2015-05-11 12:57                 ` Steven Rostedt
2015-05-11 15:36                   ` Frederic Weisbecker
2015-05-11 19:19                     ` Mike Galbraith
2015-05-11 19:25                       ` Chris Metcalf
2015-05-12  1:47                         ` Mike Galbraith
2015-05-12  4:35                           ` Mike Galbraith
2015-05-11 17:19                   ` Paul E. McKenney
2015-05-11 17:27                     ` Andrew Morton
2015-05-11 17:33                       ` Frederic Weisbecker
2015-05-11 18:00                         ` Steven Rostedt
2015-05-11 18:09                           ` Chris Metcalf
     [not found]                             ` <5550F077.6030906-d5a29ZRxExrQT0dZR+AlfA@public.gmane.org>
2015-05-11 18:36                               ` Steven Rostedt
2015-05-12  9:10                             ` CONFIG_ISOLATION=y (was: [PATCH 0/6] support "dataplane" mode for nohz_full) Ingo Molnar
     [not found]                               ` <20150512091032.GA10138-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-05-12 11:48                                 ` Peter Zijlstra
2015-05-12 12:34                                   ` Ingo Molnar
     [not found]                                     ` <20150512123440.GA16959-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-05-12 12:39                                       ` Peter Zijlstra
     [not found]                                         ` <20150512123912.GO21418-ndre7Fmf5hadTX5a5knrm8zTDFooKrT+cvkQGrU6aU0@public.gmane.org>
2015-05-12 12:43                                           ` Ingo Molnar
2015-05-12 15:36                                     ` Frederic Weisbecker
2015-05-12 21:05                               ` CONFIG_ISOLATION=y Chris Metcalf
     [not found]                   ` <20150511085759.71deeb64-f9ZlEuEWxVcJvu8Pb33WZ0EMvNT87kid@public.gmane.org>
2015-05-12 10:46                     ` [PATCH 0/6] support "dataplane" mode for nohz_full Peter Zijlstra
2015-05-15 15:10                       ` Chris Metcalf
2015-05-15 21:26   ` [PATCH v2 0/5] support "cpu_isolated" " Chris Metcalf
2015-05-15 21:27     ` [PATCH v2 1/5] nohz_full: add support for "cpu_isolated" mode Chris Metcalf
2015-05-15 21:27       ` [PATCH v2 2/5] nohz: support PR_CPU_ISOLATED_STRICT mode Chris Metcalf
     [not found]       ` <1431725251-20943-1-git-send-email-cmetcalf-d5a29ZRxExrQT0dZR+AlfA@public.gmane.org>
2015-05-15 21:27         ` [PATCH v2 3/5] nohz: cpu_isolated strict mode configurable signal Chris Metcalf
2015-05-15 22:17         ` [PATCH v2 1/5] nohz_full: add support for "cpu_isolated" mode Thomas Gleixner
2015-05-28 20:38           ` Chris Metcalf
     [not found]     ` <1431725178-20876-1-git-send-email-cmetcalf-d5a29ZRxExrQT0dZR+AlfA@public.gmane.org>
2015-06-03 15:29       ` [PATCH v3 0/5] support "cpu_isolated" mode for nohz_full Chris Metcalf
     [not found]         ` <1433345365-29506-1-git-send-email-cmetcalf-d5a29ZRxExrQT0dZR+AlfA@public.gmane.org>
2015-06-03 15:29           ` [PATCH v3 1/5] nohz_full: add support for "cpu_isolated" mode Chris Metcalf
2015-06-03 15:29           ` [PATCH v3 3/5] nohz: cpu_isolated strict mode configurable signal Chris Metcalf
2015-06-03 15:29         ` [PATCH v3 2/5] nohz: support PR_CPU_ISOLATED_STRICT mode Chris Metcalf
2015-07-13 19:57         ` [PATCH v4 0/5] support "cpu_isolated" mode for nohz_full Chris Metcalf
2015-07-13 19:57           ` [PATCH v4 1/5] nohz_full: add support for "cpu_isolated" mode Chris Metcalf
2015-07-13 20:40             ` Andy Lutomirski
2015-07-13 21:01               ` Chris Metcalf
2015-07-13 21:45                 ` Andy Lutomirski
2015-07-21 19:10                   ` Chris Metcalf
2015-07-21 19:26                     ` Andy Lutomirski
     [not found]                       ` <CALCETrVoHvofNHG81Q2Vb2i1qc7f2dy=qgkyb5NWNfUgYxhE8Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-21 20:36                         ` Paul E. McKenney
2015-07-22 13:57                           ` Christoph Lameter
     [not found]                             ` <alpine.DEB.2.11.1507220856030.17411-wcBtFHqTun5QOdAKl3ChDw@public.gmane.org>
2015-07-22 19:28                               ` Paul E. McKenney
2015-07-22 20:02                                 ` Christoph Lameter
2015-07-24 20:21                                   ` Chris Metcalf
2015-07-24 20:22                       ` Chris Metcalf
2015-07-24 14:03                     ` Frederic Weisbecker
2015-07-24 20:19                       ` Chris Metcalf
2015-07-24 13:27             ` Frederic Weisbecker
2015-07-24 20:21               ` Chris Metcalf
2015-07-13 19:57           ` [PATCH v4 2/5] nohz: support PR_CPU_ISOLATED_STRICT mode Chris Metcalf
     [not found]             ` <1436817481-8732-3-git-send-email-cmetcalf-d5a29ZRxExrQT0dZR+AlfA@public.gmane.org>
2015-07-13 21:47               ` Andy Lutomirski
     [not found]                 ` <CALCETrUvg+Dix=jG2_1J=mgQC+uRk4dthCYDcb4E5ooEfQjqtQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-21 19:34                   ` Chris Metcalf
     [not found]                     ` <55AE9EAC.4010202-d5a29ZRxExrQT0dZR+AlfA@public.gmane.org>
2015-07-21 19:42                       ` Andy Lutomirski
2015-07-24 20:29                         ` Chris Metcalf
2015-07-13 19:57           ` [PATCH v4 3/5] nohz: cpu_isolated strict mode configurable signal Chris Metcalf
     [not found]           ` <1436817481-8732-1-git-send-email-cmetcalf-d5a29ZRxExrQT0dZR+AlfA@public.gmane.org>
2015-07-28 19:49             ` [PATCH v5 0/6] support "cpu_isolated" mode for nohz_full Chris Metcalf
2015-07-28 19:49               ` [PATCH v5 2/6] cpu_isolated: add initial support Chris Metcalf
     [not found]                 ` <1438112980-9981-3-git-send-email-cmetcalf-d5a29ZRxExrQT0dZR+AlfA@public.gmane.org>
2015-08-12 16:00                   ` Frederic Weisbecker
2015-08-12 18:22                     ` Chris Metcalf
     [not found]                       ` <55CB8ED1.6030806-d5a29ZRxExrQT0dZR+AlfA@public.gmane.org>
2015-08-26 15:26                         ` Frederic Weisbecker
2015-08-26 15:55                           ` Chris Metcalf
2015-07-28 19:49               ` [PATCH v5 3/6] cpu_isolated: support PR_CPU_ISOLATED_STRICT mode Chris Metcalf
2015-07-28 19:49               ` [PATCH v5 4/6] cpu_isolated: provide strict mode configurable signal Chris Metcalf
2015-08-25 19:55               ` [PATCH v6 0/6] support "task_isolated" mode for nohz_full Chris Metcalf
2015-08-25 19:55                 ` [PATCH v6 2/6] task_isolation: add initial support Chris Metcalf
2015-08-25 19:55                 ` [PATCH v6 3/6] task_isolation: support PR_TASK_ISOLATION_STRICT mode Chris Metcalf
2015-08-26 10:36                   ` Will Deacon
2015-08-26 15:10                     ` Chris Metcalf
     [not found]                       ` <55DDD6EA.3070307-d5a29ZRxExrQT0dZR+AlfA@public.gmane.org>
2015-09-02 10:13                         ` Will Deacon
2015-08-28 15:31                     ` [PATCH v6.1 " Chris Metcalf
     [not found]                 ` <1440532555-15492-1-git-send-email-cmetcalf-d5a29ZRxExrQT0dZR+AlfA@public.gmane.org>
2015-08-25 19:55                   ` [PATCH v6 4/6] task_isolation: provide strict mode configurable signal Chris Metcalf
2015-08-28 19:22                     ` Andy Lutomirski
     [not found]                       ` <20150902101347.GF25720-5wv7dgnIgG8@public.gmane.org>
2015-09-02 18:38                         ` [PATCH v6.2 3/6] task_isolation: support PR_TASK_ISOLATION_STRICT mode Chris Metcalf
2015-09-28 15:17                 ` [PATCH v7 00/11] support "task_isolated" mode for nohz_full Chris Metcalf
2015-09-28 15:17                   ` [PATCH v7 02/11] task_isolation: add initial support Chris Metcalf
2015-10-01 12:14                     ` Frederic Weisbecker
2015-10-01 12:18                       ` Thomas Gleixner [this message]
2015-10-01 12:23                         ` Frederic Weisbecker
2015-10-01 12:31                           ` Thomas Gleixner
2015-10-01 17:02                         ` Chris Metcalf
     [not found]                           ` <560D6725.9000609-d5a29ZRxExrQT0dZR+AlfA@public.gmane.org>
2015-10-01 21:20                             ` Thomas Gleixner
2015-10-02 17:15                               ` Chris Metcalf
     [not found]                                 ` <560EBBC5.7000709-d5a29ZRxExrQT0dZR+AlfA@public.gmane.org>
2015-10-02 19:02                                   ` Thomas Gleixner
2015-10-01 19:25                       ` Chris Metcalf
2015-09-28 15:17                   ` [PATCH v7 03/11] task_isolation: support PR_TASK_ISOLATION_STRICT mode Chris Metcalf
     [not found]                     ` <1443453446-7827-4-git-send-email-cmetcalf-d5a29ZRxExrQT0dZR+AlfA@public.gmane.org>
2015-09-28 20:51                       ` Andy Lutomirski
2015-09-28 21:54                         ` Chris Metcalf
2015-09-28 22:38                           ` Andy Lutomirski
2015-09-29 17:35                             ` Chris Metcalf
     [not found]                               ` <560ACBD9.90909-d5a29ZRxExrQT0dZR+AlfA@public.gmane.org>
2015-09-29 17:46                                 ` Andy Lutomirski
     [not found]                                   ` <CALCETrUp+8UG5dKLdybcmhhfzcyUP8h-RJHcG0Bo7Up=Rx6DVA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-09-29 17:57                                     ` Chris Metcalf
2015-09-29 18:00                                       ` Andy Lutomirski
     [not found]                                         ` <CALCETrVrHFh_wW_u0E+3mcN9J7_M+hAF59CdKOzKt3NT+gWJgg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-01 19:25                                           ` Chris Metcalf
2015-09-28 15:17                   ` [PATCH v7 04/11] task_isolation: provide strict mode configurable signal Chris Metcalf
2015-09-28 20:54                     ` Andy Lutomirski
     [not found]                       ` <CALCETrXaWaUwWnOz16RAqjFP9tZm=tp74xWacXjqa36TWB9BfQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-09-28 21:54                         ` Chris Metcalf
2015-10-20 20:35                   ` [PATCH v8 00/14] support "task_isolation" mode for nohz_full Chris Metcalf
2015-10-20 20:36                     ` [PATCH v8 04/14] task_isolation: add initial support Chris Metcalf
2015-10-20 20:56                       ` Andy Lutomirski
     [not found]                         ` <CALCETrWzhrYreizoKG0w6Jtz3RLFjNx9Qk_JLykcLLUQcCXBEA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-20 21:20                           ` Chris Metcalf
     [not found]                             ` <5626B00E.3010309-d5a29ZRxExrQT0dZR+AlfA@public.gmane.org>
2015-10-20 21:26                               ` Andy Lutomirski
     [not found]                                 ` <CALCETrX6e+mqfy-rNV3sA8xGVDNHviQ9vHBBhAPULeLecno7XQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-21  0:29                                   ` Steven Rostedt
2015-10-26 20:19                                     ` Chris Metcalf
2015-10-26 21:13                                     ` Chris Metcalf
2015-10-26 20:32                                 ` Chris Metcalf
     [not found]                       ` <1445373372-6567-5-git-send-email-cmetcalf-d5a29ZRxExrQT0dZR+AlfA@public.gmane.org>
2015-10-21 16:12                         ` Frederic Weisbecker
2015-10-27 16:40                           ` Chris Metcalf
     [not found]                             ` <562FA8FD.8080502-d5a29ZRxExrQT0dZR+AlfA@public.gmane.org>
2016-01-28 16:38                               ` Frederic Weisbecker
2016-02-11 19:58                                 ` Chris Metcalf
2015-10-20 20:36                     ` [PATCH v8 05/14] task_isolation: support PR_TASK_ISOLATION_STRICT mode Chris Metcalf
2015-10-20 20:36                     ` [PATCH v8 06/14] task_isolation: provide strict mode configurable signal Chris Metcalf
2015-10-21  0:56                       ` Steven Rostedt
     [not found]                         ` <20151020205610.51b3d742-2kNGR76GQU9OHLTnHDQRgA@public.gmane.org>
2015-10-21  1:30                           ` Chris Metcalf
2015-10-21  1:41                             ` Steven Rostedt
2015-10-21  1:42                             ` Andy Lutomirski
     [not found]                               ` <CALCETrXqDi24EPn79X9SXuz+5sYGZBF3yCRzb8PwdL=YbxVujw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-21  6:41                                 ` Gilad Ben Yossef
2015-10-21 18:53                                   ` Andy Lutomirski
2015-10-22 20:44                                     ` Chris Metcalf
2015-10-22 21:00                                       ` Andy Lutomirski
     [not found]                                         ` <CALCETrVQXwYwhEwbJsvN18w8qD-qVVCQAa8b9RcXD=RmXSqLiQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-27 19:37                                           ` Chris Metcalf
     [not found]                                     ` <CALCETrVuE_VCk-7_VMJ-orL8pg+0F5vq6qvt4SfgXzt_MRr-SQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-24  9:16                                       ` Gilad Ben Yossef
2015-10-21 12:39                     ` [PATCH v8 00/14] support "task_isolation" mode for nohz_full Peter Zijlstra
2015-10-22 20:31                       ` Chris Metcalf
2015-10-23  2:33                         ` Frederic Weisbecker
2015-10-23  8:49                           ` Peter Zijlstra
2015-10-23 13:29                             ` Frederic Weisbecker
     [not found]                         ` <562947B0.7050103-d5a29ZRxExrQT0dZR+AlfA@public.gmane.org>
2015-10-23  9:04                           ` Peter Zijlstra
2015-10-23 11:52                             ` Theodore Ts'o

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.11.1510011416160.4500@nanos \
    --to=tglx@linutronix.de \
    --cc=akpm@linux-foundation.org \
    --cc=catalin.marinas@arm.com \
    --cc=cl@linux.com \
    --cc=cmetcalf@ezchip.com \
    --cc=fweisbec@gmail.com \
    --cc=giladb@ezchip.com \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@amacapital.net \
    --cc=mingo@kernel.org \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=peterz@infradead.org \
    --cc=riel@redhat.com \
    --cc=rostedt@goodmis.org \
    --cc=tj@kernel.org \
    --cc=viresh.kumar@linaro.org \
    --cc=will.deacon@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox