Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp400787lqh; Tue, 7 May 2024 02:42:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVjD3JU496KpN8tb+czrxZw/hHfGOpNrNQofrY42BpqFFvzxiBe1hbLiMeBHp0ipSZTXr3Do6FSTsd4b8/BjllFHZF8/Tj3dZOBp/JSAg== X-Google-Smtp-Source: AGHT+IHae9tlVF+BZVmC6etxfhqgswSnBFw8ff2itcWaTKg4LxPomDRH4BfCCbcYR28Ui+phwT92 X-Received: by 2002:a05:6808:1985:b0:3c9:6783:e238 with SMTP id bj5-20020a056808198500b003c96783e238mr9047339oib.13.1715074959975; Tue, 07 May 2024 02:42:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715074959; cv=pass; d=google.com; s=arc-20160816; b=HY10jID2s25dYE6maWnROxFY+2Paw0v8Yc37y8ypEIBRY5KccWsjeoAo+MfG/d807k 7ENH4xigqVSIddny4EQTD3MFxW0hN6nAd3IhnxdunLin9q5iiB6I8unk11kC+ESeqG7j srM8I8jDwLPOEcRT4vzD41/BwbTy0g+Clr2eXwbytMvIVEiAZDmtj4NX5VKCteK5e/FB aeXGUC0jD9MWxezidCDr7hFxsXY9G0D6T0Ipz6jtKliZIBk28oZbgk2HNfpjJCPTnbGa 7K/kZoOUCXkA8YjPlkI+BBlb1hGG5fxVO67VthfISDLaP/xNDoZ0lGhhv8yBMU1/3Q9W 1sbg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=YbfiHnjmo3bJ9ltYrcPbr8miklUfUo24oHJfMl/NaTk=; fh=a0hMivwj+PTPl/q0wmOQbjTaQL2jk/FeyimENDjGVXE=; b=gzUmkrMRGeFoA+hE7Kge2Z6ox1CdNyk6DM2+wxPHZRoNVg4JF0NYoanWA06Jb5BmJx wpqxEXLYDEyk+YgwPOpDHEhCVz0UGio8Yhvgcnhvmfd+Q2KMcnVPYBRmHEVEci+gIoxL i9npAGRW5Ofr/2v0ek54ltGZzGwjCuD4qM2I22PHFxAXFu5VmiawH3Ov151q7rZc/LTj 3OikNpneeQNiG05cR1XPwO1ueU5kb5G1YDTFkykSwWfuqgNf2VDGjqC8NJabK60WIt1O W1wV5LZABNoBDCX+RV9ql7v1+9hV3Bkceg5LvoFTrbUH3fdw/dZSlAWOVnm6GNOfCR9l R18w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lN87LEEB; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-170963-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170963-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id n8-20020a635c48000000b005f7fd8c4772si10419874pgm.415.2024.05.07.02.42.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 02:42:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170963-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lN87LEEB; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-170963-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170963-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 30235B24E3F for ; Tue, 7 May 2024 09:36:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 863A61514D9; Tue, 7 May 2024 09:35:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="lN87LEEB" Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F234C14EC6E; Tue, 7 May 2024 09:35:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715074540; cv=none; b=uhmF+zVVAPtVNyanRBoVukVQ0PvImpDjCtscGnJpT+Ld4aU0hNOsksgWsRU/BzrFG/HP/hJ6c+tBjQvCuoPy+GkwTp0KecAgmh9anUr4wlYBl92ktNj5HTkBjjuC4t6KTmpTbw3CmDsIDMTgzhuT46k+nfBdXcKBVC82E88V1TQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715074540; c=relaxed/simple; bh=SwXMBkAHbGHY45sy8CaLSa2Ff0hHYoq/irtkVE3Cotg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ja9lkR2nwVyzrrK9rfvFLKHV7tb1s+upofSCwLlP+gv4BM1sCi5knqKNejx8lx+cb8p7C5HrZoU+FMkQLmDsXsT40KSFyt62CLj9oWBtLtM3u+yvMOO64CnujsYu9eDPIhqArBdqDCZvN4xtehz1nFjiTsVuxhfVqCV+0KOiIh0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=lN87LEEB; arc=none smtp.client-ip=209.85.208.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f182.google.com with SMTP id 38308e7fff4ca-2e1d6166521so42219321fa.1; Tue, 07 May 2024 02:35:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715074537; x=1715679337; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YbfiHnjmo3bJ9ltYrcPbr8miklUfUo24oHJfMl/NaTk=; b=lN87LEEB7Vlbi+VvSli5eJfGpDCzeL2JK9xXxWJNnFYjrHaXYLd/8QnUxDTxeam1oH GbH0ocqg8NJTZ7EptrDbr5C/nc4UED0cbiWU8zz+Pwi3mqVkOAEG/C6efkVxv6iGt+Q5 odJhzMHBEElAPSA9IyALmKGyxHRBVdS7VBF03gs1rkKEtjEFkVQGMiR1DtuSTA4R/GsD 2ofgNNa/xQowRVsehTEiOZHWj9Txjcp/mcnn6ejn8BV1WVr5j4VBm7y91fPfyYSfNvNn jsEx3qe89tVBrNlDZgYbFa/ld5VP8I3XxNW5dNbmo/OsxCSlT1oi0QOUyub7ZJBFP0e8 uz8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715074537; x=1715679337; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YbfiHnjmo3bJ9ltYrcPbr8miklUfUo24oHJfMl/NaTk=; b=l1+9GwISxZ1fjPs0zOH2egNAxOGBeUls5qLaz/QYL4Fqd48cS4u3P319B4AZDVKCYC 33moi0+NoW/oUWjnSo2MzH9YiW2todH89I3YVV9pph9MapGDYIySxs+LKgpDlbawW1Td Wd0sltTw+Z4bRTUltZY/sZ4Yq025a6wuvRA84VCQs04cCONRYzuy/p/hSeSClEoEenGU SzcUYrG/exceDsyVO9CZ7aLY04ReDcHRzD+3JPdeINgP2vgelcrLKa8BZ9ogu1zEiYoa gnJ/pDuH9VSGY3Q/Jw9ZEjjeMO3CYiUJ8LhN7boYAoELOy35cwx1glZHCwq3bG2CknyN JJ0A== X-Forwarded-Encrypted: i=1; AJvYcCXukV0f92+zwYstPMybmx4H59vrK9epAi5eFE45J1r7qO6pq8Otxj5usFk6I74AvSGy0cxMu6yUzmKRtC2lDYZu4On2Z/KXmHUNjmVo X-Gm-Message-State: AOJu0YycWgK4vHLYGAaJz6R7omjY7a3moeYU5ragvidCionF7/hUYLc0 LlE2B9RXFSK/RtTwSIW2IwJwjTjcORe9jlHFOnD9azVATy5/X97k X-Received: by 2002:a2e:4e19:0:b0:2e1:d95b:3735 with SMTP id c25-20020a2e4e19000000b002e1d95b3735mr628024ljb.11.1715074537103; Tue, 07 May 2024 02:35:37 -0700 (PDT) Received: from pc638.lan (host-185-121-47-193.sydskane.nu. [185.121.47.193]) by smtp.gmail.com with ESMTPSA id t18-20020a2e9d12000000b002e29c50c4dcsm1335473lji.27.2024.05.07.02.35.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 02:35:36 -0700 (PDT) From: "Uladzislau Rezki (Sony)" To: "Paul E . McKenney" Cc: RCU , Neeraj upadhyay , Boqun Feng , Hillf Danton , Joel Fernandes , LKML , Uladzislau Rezki , Oleksiy Avramchenko , Frederic Weisbecker Subject: [PATCH 04/48] rcutorture: Enable RCU priority boosting for TREE09 Date: Tue, 7 May 2024 11:34:46 +0200 Message-Id: <20240507093530.3043-5-urezki@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240507093530.3043-1-urezki@gmail.com> References: <20240507093530.3043-1-urezki@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Paul E. McKenney" The TREE09 rcutorture scenario exhausts memory from time to time, and this is due to a reader being preempted and blocking grace periods, thus preventing recycling of the memory used in callback-flooding tests. This commit therefore enables RCU priority boosting and sets the boosting delay to 100 milliseconds after grace-period start. Signed-off-by: Paul E. McKenney Signed-off-by: Uladzislau Rezki (Sony) --- tools/testing/selftests/rcutorture/configs/rcu/TREE09 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/rcutorture/configs/rcu/TREE09 b/tools/testing/selftests/rcutorture/configs/rcu/TREE09 index fc45645bb5f4..9ecd1b4e653d 100644 --- a/tools/testing/selftests/rcutorture/configs/rcu/TREE09 +++ b/tools/testing/selftests/rcutorture/configs/rcu/TREE09 @@ -10,8 +10,9 @@ CONFIG_NO_HZ_FULL=n CONFIG_RCU_TRACE=n CONFIG_RCU_NOCB_CPU=n CONFIG_DEBUG_LOCK_ALLOC=n -CONFIG_RCU_BOOST=n +CONFIG_RCU_BOOST=y +CONFIG_RCU_BOOST_DELAY=100 CONFIG_DEBUG_OBJECTS_RCU_HEAD=n -#CHECK#CONFIG_RCU_EXPERT=n +CONFIG_RCU_EXPERT=y CONFIG_KPROBES=n CONFIG_FTRACE=n -- 2.39.2