From patchwork Thu Jan 16 15:28:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 23272 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f199.google.com (mail-pd0-f199.google.com [209.85.192.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BA5AB202FA for ; Thu, 16 Jan 2014 15:28:21 +0000 (UTC) Received: by mail-pd0-f199.google.com with SMTP id q10sf1404570pdj.10 for ; Thu, 16 Jan 2014 07:28:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:message-id:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe :content-type:content-transfer-encoding; bh=JXxxZyDqCrEHopCYtmTGw5VTkkemmobQpmoGFBG5csE=; b=iESP7xrUm6HNJEgaZ2FGiW1QCnZloP83jWp2SrF7Fahm3iyZagr7d2gAdglPv/d3mL BRIdhbYys0OOdRxhT0vnqKdKM1bVrpSdSzGqFhs3jj1UETYew35PjKvSZI68mSqBEvxM SjQK21GQjqms/j1co0JV+0T/g1fF4VPtVAvtLp3c+R1QjtDDJyan+mLkk4a2bUO2AT8j L6cHiWQDg8PDOCeP9mBwcabrGFUfSy8Idl3L4HaPO5L8hjhvJjoEICy1NoFj/l6LMJvP Y1HLGX4xVvC9GZ44LbrQk7Fdoekayxcw2rYI3D0H9Y+p3wmrJFWygV/S8yPWTQNFGd9C LDFQ== X-Gm-Message-State: ALoCoQmJ8X5FvFDPdH8xkxIfNHwn3nnU3hFZaFdSdZSCzZJD/79dxRVwdd4ZIEnwki8eWNZ3UOqv X-Received: by 10.66.189.228 with SMTP id gl4mr3601003pac.26.1389886100812; Thu, 16 Jan 2014 07:28:20 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.88.84 with SMTP id s78ls199006qgd.56.gmail; Thu, 16 Jan 2014 07:28:20 -0800 (PST) X-Received: by 10.52.166.6 with SMTP id zc6mr5989351vdb.10.1389886100571; Thu, 16 Jan 2014 07:28:20 -0800 (PST) Received: from mail-vb0-f47.google.com (mail-vb0-f47.google.com [209.85.212.47]) by mx.google.com with ESMTPS id f7si3494427vcz.132.2014.01.16.07.28.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 Jan 2014 07:28:20 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.47 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.47; Received: by mail-vb0-f47.google.com with SMTP id p6so1010121vbe.20 for ; Thu, 16 Jan 2014 07:28:20 -0800 (PST) X-Received: by 10.58.90.202 with SMTP id by10mr7049409veb.6.1389886100471; Thu, 16 Jan 2014 07:28:20 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.59.13.131 with SMTP id ey3csp356094ved; Thu, 16 Jan 2014 07:28:19 -0800 (PST) X-Received: by 10.66.159.233 with SMTP id xf9mr10769711pab.139.1389886097698; Thu, 16 Jan 2014 07:28:17 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m8si7395357pbq.149.2014.01.16.07.28.16; Thu, 16 Jan 2014 07:28:16 -0800 (PST) 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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752868AbaAPP2L (ORCPT + 26 others); Thu, 16 Jan 2014 10:28:11 -0500 Received: from mail-wg0-f49.google.com ([74.125.82.49]:34426 "EHLO mail-wg0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752256AbaAPP2I (ORCPT ); Thu, 16 Jan 2014 10:28:08 -0500 Received: by mail-wg0-f49.google.com with SMTP id a1so3251316wgh.4 for ; Thu, 16 Jan 2014 07:28:07 -0800 (PST) X-Received: by 10.180.12.146 with SMTP id y18mr8673988wib.37.1389886087367; Thu, 16 Jan 2014 07:28:07 -0800 (PST) Received: from [192.168.1.150] (AToulouse-654-1-359-206.w90-60.abo.wanadoo.fr. [90.60.118.206]) by mx.google.com with ESMTPSA id bj3sm6530615wjb.14.2014.01.16.07.28.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 Jan 2014 07:28:06 -0800 (PST) Message-ID: <52D7FA85.9020504@linaro.org> Date: Thu, 16 Jan 2014 16:28:05 +0100 From: Daniel Lezcano User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Peter Zijlstra CC: raistlin@linux.it, juri.lelli@gmail.com, Ingo Molnar , Linux Kernel Mailing List Subject: Re: [BUG] [ tip/sched/core ] System unresponsive after booting References: <52D64676.4040000@linaro.org> <20140115120418.GD31570@twins.programming.kicks-ass.net> <52D7E343.40909@linaro.org> <20140116141743.GT31570@twins.programming.kicks-ass.net> <52D7EAA4.2080208@linaro.org> <20140116142546.GU31570@twins.programming.kicks-ass.net> In-Reply-To: <20140116142546.GU31570@twins.programming.kicks-ass.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.47 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , On 01/16/2014 03:25 PM, Peter Zijlstra wrote: > On Thu, Jan 16, 2014 at 03:20:20PM +0100, Daniel Lezcano wrote: >> Already tested. The last commits do not change the issue described above. > > Bummer, ok, what version of Ubuntu/rsyslogd are you using? I have a > laptop around that should have some recent ubuntu on it, let me go find > it. > Removing the lines below fix the issue. These changes were introduced by the commit d50dde5a10f305253cbc3855307f608f8a3c5f73. I don't get the connection between what is supposed to do the patch as described in the commit log and these four lines added. * Allow unprivileged RT tasks to decrease priority: */ if (user && !capable(CAP_SYS_NICE)) { - if (fair_policy(policy)) { - if (!can_nice(p, attr->sched_nice)) - return -EPERM; - } if (rt_policy(policy)) { unsigned long rlim_rtprio = diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h index 141baa3..acabef1 100644 --- a/arch/arm/include/asm/unistd.h +++ b/arch/arm/include/asm/unistd.h @@ -15,7 +15,7 @@ #include dlezcano@mai:~/Work/src/cpuidle-next (sched/idle-balance)$ git diff diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 93a2836..673edff 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -3295,10 +3295,6 @@ recheck: