From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932608AbcDNP2F (ORCPT ); Thu, 14 Apr 2016 11:28:05 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:49496 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932522AbcDNP2B (ORCPT ); Thu, 14 Apr 2016 11:28:01 -0400 Date: Thu, 14 Apr 2016 02:55:22 +0200 From: Peter Zijlstra To: Jason Wang Cc: Eliezer Tamir , Eric Dumazet , Ingo Molnar , Mike Galbraith , davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, mst@redhat.com, "Ingo Molnar jacob.e.keller@intel.com" Subject: Re: [PATCH net-next 2/2] net: exit busy loop when another process is runnable Message-ID: <20160414005522.GA2975@worktop.cust.blueprintrf.com> References: <1408683665.5648.69.camel@marge.simpson.net> <20140822073653.GA7372@gmail.com> <53F70887.8030602@redhat.com> <1408716976.5604.18.camel@edumazet-glaptop2.roam.corp.google.com> <53FB3715.7070009@linux.intel.com> <53FC3466.8000304@redhat.com> <5404186E.4090409@linux.intel.com> <54053AF8.6070907@redhat.com> <54055D9F.7000108@linux.intel.com> <54056459.4060100@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54056459.4060100@redhat.com> User-Agent: Mutt/1.5.22.1 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 02, 2014 at 02:31:53PM +0800, Jason Wang wrote: > Yes, but current code can not do this. In most of the cases, the new > woke up process have no chance to run if another process is busy loop in > the same cpu. That sounds weird; a process that slept will have an effective vruntime deficit vs one that has been running for a while.