Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp842371rwb; Tue, 4 Oct 2022 11:23:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4DXSywIFPDfV9pPT1uma1jIcI6j/6PYerSPgSMkk+VYpwBJKiZXafaj3NU0lzgPMlnAJwH X-Received: by 2002:a17:902:d708:b0:178:a2be:649b with SMTP id w8-20020a170902d70800b00178a2be649bmr28418888ply.121.1664907785146; Tue, 04 Oct 2022 11:23:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664907785; cv=none; d=google.com; s=arc-20160816; b=K/A1uJ2MzkyQcXYzCUZ/PIP67rL1Y76cVKkH8bZPmrVyqaZYTpAov/75Gja4DdnjK3 Vf2FjOfQKR7zCY5G1XLnAZ9zYk4lgqn3ZqrXlkDgiDr6cQwQhGTNlXmBl+Mui5izcWln vLa7SL5J8ML/zz62zps2aS388fYUA/PPrSGGU1i3nf/GtmKN/sXYWnfjTZgJoflDymh7 kiUTAH8jk6OvmqH+2IX1fboU1ymOXZlOGamNCT+5akLPwX49CkpwaUPduvgx8Cx85DNt YjpCIvNUVF+juU0liN1dTu2NyxpuiWJPhfWobf5vRYYnoKN73ptm/nlbjiE5vIMmMFih u/HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=c+iMt+Zmn4W4daL1eQ1jMpY6swlWjzwhrCtpT283CF8=; b=yfY3Vv3Um2q3jKHFTdXJdqGbfP5z+v9dOhq6H040dRvtu3gRrcQ89oU7D7t8pJjgN2 ITtbv70JhbZfC1Cx9X5joiQqViOpRFo07YhhgC1V2++TwUqCLPw6I+gqeCKiXfwZybVR 85piaXld//FlkYqJBVW5cgCw66bJAZLtwRKY2+ampQGL1XaM2mqQJfuCppoieqGj5H7u fWzON5MVV5lTozeWCUMctdrDQ2J1LrG/vCoK8O3ZpxO5vh12Ql+sXukvJ0kEnDXy+BOA OyYB33Zrm9hKuuRLMIaXczrIdG3KPEqW6BfEZn3pQjGQKJo4fgz7k/MQGnWaLjhASKEV m39g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=a3+1CLfI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o16-20020a056a00215000b0053e15843f1fsi12206955pfk.131.2022.10.04.11.22.53; Tue, 04 Oct 2022 11:23:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=a3+1CLfI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229769AbiJDSG6 (ORCPT + 99 others); Tue, 4 Oct 2022 14:06:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229761AbiJDSG4 (ORCPT ); Tue, 4 Oct 2022 14:06:56 -0400 Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 992341EED6 for ; Tue, 4 Oct 2022 11:06:55 -0700 (PDT) Received: by mail-io1-xd2f.google.com with SMTP id h19so504287iof.0 for ; Tue, 04 Oct 2022 11:06:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date; bh=c+iMt+Zmn4W4daL1eQ1jMpY6swlWjzwhrCtpT283CF8=; b=a3+1CLfIPasemBNKqEoPpR0kvPISBFHqo/qxpHW2TdSRRKNY9Tk6aQscfPUWS1U8s3 B+64cP05oBJQcUIpMvNJEg4n8nc9GPRA6mY1Mrs7N2ZAUq0QqBGT3WfMOajzEucbKTno 74lpkJf9UkGQbgfLbzwu9ptCsj6q/fsE/JdW0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date; bh=c+iMt+Zmn4W4daL1eQ1jMpY6swlWjzwhrCtpT283CF8=; b=M8sz27M5aKrVvDVsfx03jKGIvE3md0NYxxGL8EykY4PngE5TeHo41ps0ZrtGIGIX8A xcF3hLY4H3syAJI1fnvTtp1F8ZRpo09iUrR4Ibv/8GPzW1n7zTRxABmmRfvkF9D3GKBv vZtjWds/AQZ82koC/aWZEVaBRmK4V0sBe6g91UYD30qqvUSztaV85C2zwz6SRXrtczYL wntWkXMOZ2Gnoq4GyzaGQY9DKE0OQLoJlzUYsZYi02ZkFnt22VI7emZi/xqnmzp9SLPC efTNbRcQvIEmZYW1F2HJPJY5wF3IK4RPYeLV3h7yH/GLsUlfahF5KHHP1SpC/uGD+MTA UJRQ== X-Gm-Message-State: ACrzQf2D5MnZuwV4ISc+MQaQm85a7oMvlH1354rufpcMo7m8kdMRN2Jk Y+m2t5Bm93exAztMz5AAmNguy7MtNDKE4rDq9Al+2Q== X-Received: by 2002:a05:6638:1606:b0:35a:5472:fa1b with SMTP id x6-20020a056638160600b0035a5472fa1bmr13091186jas.241.1664906815032; Tue, 04 Oct 2022 11:06:55 -0700 (PDT) MIME-Version: 1.0 References: <3F5B20A5-6E48-4603-ACBA-0A7947A9C457@joelfernandes.org> <9E3CFF3C-8956-4C44-8072-1CCD5E84CC4C@joelfernandes.org> In-Reply-To: From: Joel Fernandes Date: Tue, 4 Oct 2022 14:06:45 -0400 Message-ID: Subject: Re: [PATCH v6 1/4] rcu: Make call_rcu() lazy to save power To: Uladzislau Rezki Cc: paulmck@kernel.org, rcu@vger.kernel.org, linux-kernel@vger.kernel.org, rushikesh.s.kadam@intel.com, neeraj.iitr10@gmail.com, frederic@kernel.org, rostedt@goodmis.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Vlad, On Tue, Oct 4, 2022 at 7:35 AM Uladzislau Rezki wrote: > > > > >> > > > >> OK. Found the boot up issue. In my case i had 120 seconds delay: > > > > > > > > Wow, nice work. > > > > > > > >> > > > >> diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c > > > >> index 448748e3fba5..a56cfd612e3a 100644 > > > >> --- a/drivers/scsi/scsi_error.c > > > >> +++ b/drivers/scsi/scsi_error.c > > > >> @@ -312,7 +312,7 @@ void scsi_eh_scmd_add(struct scsi_cmnd *scmd) > > > >> * Ensure that all tasks observe the host state change befor= e the > > > >> * host_failed change. > > > >> */ > > > >> - call_rcu(&scmd->rcu, scsi_eh_inc_host_failed); > > > >> + call_rcu_flush(&scmd->rcu, scsi_eh_inc_host_failed); > > > > > > > > Great! Thanks. I=E2=80=99ll include this and the other one you conv= erted in the next revision. > > > > > > By the way, any chance you could check android as well, just to rule = out any trouble markers? ChromeOS and your Linux distro are doing well on b= oot so that=E2=80=99s a good sign. > > > > > I will check v6 on Android. I will get back shortly. > > > OK. Works and boots well. I do not see any issues with Android so far. > That's great news and thank you so much for testing Android and all your efforts on this work! - Joel