Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp318145imm; Wed, 13 Jun 2018 00:30:58 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJqwuyoRhPsEZ1HYJDFmmhyY52ijZQH+RqeXhmgxoVTJKn7ogZzKj/6CgREokMR3L3eGZA0 X-Received: by 2002:a17:902:b110:: with SMTP id q16-v6mr3977623plr.286.1528875058381; Wed, 13 Jun 2018 00:30:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528875058; cv=none; d=google.com; s=arc-20160816; b=Q/bwSfxkd3fPgNvzEj0xmqK8aABH90OdVCCqfJWPWpVG2SYCWokI1N/yNG0qcE5f2w 7urJpCUyhln53o6nBYQRg2uKnkGe8Tsmaw8Ty6vPMYNJgtbFyR+4hZGE9Z5YdwgE3mBO E1/TqQ7CnuTxQIQ1jNVDcaytAUgMDGvZn/AC2zBCVPw9es4ZMf3V6kcr6h1WM5K8u2lo WmLkFuPfYNACN58ZHk4Yo07ni6DJKZWEvO50n49C6Q5cYNyATeVsfllXnPPF0szqVQ+L yCSkeh3VPWOPwDbTjj2EcOFhXtMXWbE8Cya0YtNCsGNOooyGQkOrMLu7NJcNrp7M47an tvnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=gJn7vtCuRWcJVvZ8LqF/DdD+ZiVLujvzHzvweu3OB6Y=; b=O8+gkTlu1R+mwNfAulcPKTCACVz69l/Zidjoj2IMSNxRlIHq6pp69swAeIq9AyYGWH mWBrVoQEOHg+jBeQXPRspa2RMMlJ16/zh1kOz+njuzEk0bxg+EW6EQ5fUmMF3ooqSTrL idDDQEaiNfOVygle1gxqoz/H1shWswV+olqY7oNwWtdN39ZXIDtcvY/7gq1sh3xHdYX3 jbf8gHEjhcAP8BcY2kMU3pl9FJsLhYLYFCF67yphu215SlpziehN2SnUQaQBnS7pbmOb NXPuiZwYiXSTb06CNWTg5m0hl/bksk1Rp4m+JvnVM+5C/wb2NxCz0fnqCOSAPoiBFLoR O6QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=Wnwmd9cv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s72-v6si2054252pfa.367.2018.06.13.00.30.44; Wed, 13 Jun 2018 00:30:58 -0700 (PDT) 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; Authentication-Results: mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=Wnwmd9cv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934644AbeFMH3v (ORCPT + 99 others); Wed, 13 Jun 2018 03:29:51 -0400 Received: from mail-pg0-f68.google.com ([74.125.83.68]:38814 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933912AbeFMH3u (ORCPT ); Wed, 13 Jun 2018 03:29:50 -0400 Received: by mail-pg0-f68.google.com with SMTP id c9-v6so840684pgf.5 for ; Wed, 13 Jun 2018 00:29:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=gJn7vtCuRWcJVvZ8LqF/DdD+ZiVLujvzHzvweu3OB6Y=; b=Wnwmd9cvIFpqIrmav885JAMqSX1l9ol59fmU+i1MjPcaQq+ehaJ+vSIcmsnByhJnH3 LHikcDOMRpdZP+KbGrh5Q38FCU1Ed1sbLulf3RpiauBLEjaOoSPzSHKhduwgAaLp1hyq 8xryHGDc4ra/SOG3wOZq5B85udOzBXLDRVN9Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=gJn7vtCuRWcJVvZ8LqF/DdD+ZiVLujvzHzvweu3OB6Y=; b=DG/fbRyZN2BaeCxTyi0+Ak16K9WHZCZVD0HgrDDaPJaX1g0K7Qe51Ah0v3oZdAK6B/ 42iXk64mhs4ChwePUJkVjcSTtv8AzmfSD8wJ2W0rciVatJY46FSymr47LIC97kq/az7A QQq+Ve95+WFFI+kVE5e9TfeZC4g1KNsOsJlBPWuORqJ7daMiQSOHpvvMCdqB06FyQ4eS 1tu81PkNWxeyp5sMuvL2etRgx862wWM4VUwtFzuIOJJeMTvg0qWtGw8Obl3pyRMrf6ZN 9lMwiQtb64bq5GPNhDtAQM8h9lYDtIuSegPgYolQhuMCLljh/6stBkp4fZQUt3KD6e/f awQg== X-Gm-Message-State: APt69E1fMhMVWu2YtDqpxPdmS7D6k6tfsV44xg8j+YoNKvrpr6p1uB6W v4AGuwOfOlsVRaUPCBqIFRTlig== X-Received: by 2002:a63:770b:: with SMTP id s11-v6mr3151023pgc.339.1528874989346; Wed, 13 Jun 2018 00:29:49 -0700 (PDT) Received: from localhost ([2620:0:1000:1600:3122:ea9c:d178:eb]) by smtp.gmail.com with ESMTPSA id c27-v6sm4464460pfl.63.2018.06.13.00.29.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Jun 2018 00:29:48 -0700 (PDT) Date: Wed, 13 Jun 2018 00:29:48 -0700 From: Joel Fernandes To: kernel test robot Cc: Joel Fernandes , linux-kernel@vger.kernel.org, kernel-team@android.com, Josh Triplett , Lai Jiangshan , Mathieu Desnoyers , mingo@redhat.com, "Paul E. McKenney" , Steven Rostedt , tglx@linutronix.de, lkp@01.org Subject: Re: [lkp-robot] [rcutorture] 46e26223e3: WARNING:at_kernel/rcu/rcutorture.c:#rcu_torture_stats_print Message-ID: <20180613072948.GA142000@joelaf.mtv.corp.google.com> References: <20180610234544.150933-2-joel@joelfernandes.org> <20180613065711.GZ16472@yexl-desktop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180613065711.GZ16472@yexl-desktop> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org (I'm actually not working this week, but still thought of replying :)) On Wed, Jun 13, 2018 at 02:57:11PM +0800, kernel test robot wrote: > > FYI, we noticed the following commit (built with gcc-4.9): > > commit: 46e26223e39c64763e321f229e324be15179c505 ("rcutorture: Make boost test more robust") > url: https://github.com/0day-ci/linux/commits/Joel-Fernandes/rcutorture-Disable-RT-throttling-for-boost-tests/20180611-074731 > base: https://git.kernel.org/cgit/linux/kernel/git/paulmck/linux-rcu.git rcu/next > > in testcase: trinity > with following parameters: > > runtime: 300s > > test-description: Trinity is a linux system call fuzz tester. > test-url: http://codemonkey.org.uk/projects/trinity/ I'll try to reproduce this, but it could be because after this patch, the boost test is actually working. The reason for the rcutorture test failure could be that the default kthread_prio for the system's RCU threads is set to 1 (unless overridden by rcutree.kthread_prio) which is also equal to the priority of the rcutorture's boost threads. Due to this the rcutorture test could starve the RCU threads as well and defeat the boosting mechanism. I was able to solve a similar issue by just passing rcutree.kthread_prio of 50 on the kernel command line. Paul, would it be ok if we changed the default kthread_prio to something > 1 so that rcutorture can test properly without needing to pass any extra rcutree.* parameters? so something like this in kernel/rcu/tree.c ? static int kthread_prio = IS_ENABLED(CONFIG_RCU_BOOST) ? 2 : 0; thanks! - Joel