Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752333AbdHANYK (ORCPT ); Tue, 1 Aug 2017 09:24:10 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:43749 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752278AbdHANXQ (ORCPT ); Tue, 1 Aug 2017 09:23:16 -0400 Date: Tue, 1 Aug 2017 06:23:09 -0700 From: "Paul E. McKenney" To: Peter Zijlstra Cc: Nicholas Piggin , Mathieu Desnoyers , Michael Ellerman , linux-kernel , Boqun Feng , Andrew Hunter , maged michael , gromer , Avi Kivity , Benjamin Herrenschmidt , Palmer Dabbelt , Dave Watson Subject: Re: [RFC PATCH v2] membarrier: expedited private command Reply-To: paulmck@linux.vnet.ibm.com References: <20170727211314.32666-1-mathieu.desnoyers@efficios.com> <20170728085532.ylhuz2irwmgpmejv@hirez.programming.kicks-ass.net> <20170728115702.5vgnvwhmbbmyrxbf@hirez.programming.kicks-ass.net> <87tw1s4u9w.fsf@concordia.ellerman.id.au> <20170731233731.32e68f6d@roar.ozlabs.ibm.com> <973223324.694.1501551189603.JavaMail.zimbra@efficios.com> <20170801120047.61c59064@roar.ozlabs.ibm.com> <20170801081230.GF6524@worktop.programming.kicks-ass.net> <20170801195717.7a675cc2@roar.ozlabs.ibm.com> <20170801102203.urldoripgbh2ohun@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170801102203.urldoripgbh2ohun@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 17080113-0008-0000-0000-00000267CAFD X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00007465; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000215; SDB=6.00896011; UDB=6.00448190; IPR=6.00676198; BA=6.00005506; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00016481; XFM=3.00000015; UTC=2017-08-01 13:23:13 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17080113-0009-0000-0000-0000363A425D Message-Id: <20170801132309.GS3730@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-08-01_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1706020000 definitions=main-1708010221 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 534 Lines: 13 On Tue, Aug 01, 2017 at 12:22:03PM +0200, Peter Zijlstra wrote: [ . . . ] > As to scheduler IPIs, those are limited to the CPUs the user is limited > to and are rate limited by the wakeup-latency of the tasks. After all, > all the time a task is runnable but not running, wakeups are no-ops. Can't that wakeup-latency limitation be overcome by a normal user simply by having lots of tasks to wake up, which then go back to sleep almost immediately? Coupled with very a low-priority CPU-bound task on each CPU? Thanx, Paul