Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp534415rdh; Wed, 7 Feb 2024 11:54:40 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXMcCMBwOW7ICqh6qqElveg9M+1n1zOCb5vmvoBNQ2WFcmnKHnMjfeSp19ziAoJbdUtOr+NQ1mKHZnppDow7XcWCJh7SbhVync/Ux7woQ== X-Google-Smtp-Source: AGHT+IFNrwQsglMuZ+jQ6IEqF5yifhr6DKA/BY+tOkPyiH3qZDT9FUXk+GKtWaIT7MfcpOuBoFZ/ X-Received: by 2002:a17:90b:20d:b0:296:a529:4d5d with SMTP id fy13-20020a17090b020d00b00296a5294d5dmr3976816pjb.39.1707335679722; Wed, 07 Feb 2024 11:54:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707335679; cv=pass; d=google.com; s=arc-20160816; b=pra97z1CG/o/XwKfAFQcmETenPye0p29P9n/Ii98sQ+hqKgWERz9SXMPxlyIcFxZYJ +G+xbPS2H2y4D4Ac+VwlWRCtvBH+KrABmjgOWxseWfXYBL+dX1Bo/SxnYqDgz5cGRx3d 8mkNirDG2T8Gz2EYs4ZR8sDU7busqTk7rpdF3ci/bxTAD+8TGezB5Dp6D0YinPgV+F2M d1CGOekzIYJ2+q22kCghMgd6ABr8YdvImwne4KgW5BtuaXHxE2M+9C9tot+LtBUuHsz4 Iv79pwRYM+VYk+gHxMJBbRzBtA9vyvFQzt5fdIuNjYrnzUl18yYbPifrKGt+vmAN1goQ kB5w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence; bh=cxuT7grQtF6+jxH5TdI/JH0psGW02KwfjrWP6++bBUo=; fh=CsQlorT75ZYh0z8Jhff76AkKCo7AIA/BVTeiejSWG78=; b=wjbKi+eEWJLk4aEJzIhPDjAWWjkOdcoRmIP0C/NH/K5F4XEuwRJnW9zps36kfhFVcQ +MAs8UuwGXdmcTiLmbS/ePrJB1rqFdPAa3on+YY+EQXoEFg2qe/ceiKuRLK6zsX9kgmc cUpYy0yGoPrzFuxIG1GG0gS5nrwRYQXPLRALrysQMVd8F5tXTlLYYIYVZ0poeuh8rlaQ iuJZDO8ohJq1U1x3T6H5hVjiI09JvEElCamCox0wAAyGId5KUTLSIGkR/y+XozurvjG2 aOOuREtJR7mRFdw02KOgy8blfANQwHv6Iac68EVy42M+D6Q7EQ4jF65UMIg8p8X+6sHp e75A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-56992-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56992-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCUGYdf19c5nplcSF52LdHg6Q5+3HEfSzzWDgUQI4Y9pIp3Vk3CIBjyBuhSKp0Z4dovdDs0o6W0v2GxcSDkSYd6JKGTwQVRP4H5LSCsZnQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id c20-20020a17090abf1400b0029636adfd23si2298970pjs.188.2024.02.07.11.54.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 11:54:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56992-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-56992-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56992-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 53D1228A9F9 for ; Wed, 7 Feb 2024 19:54:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6F6338563E; Wed, 7 Feb 2024 19:54:21 +0000 (UTC) Received: from mail-oo1-f44.google.com (mail-oo1-f44.google.com [209.85.161.44]) (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 61E4985947; Wed, 7 Feb 2024 19:54:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707335660; cv=none; b=IVf72PS93zoNmjM41Lnl2yC2lAtb4lRXRDy3p/5ryLpVpveHii/4lOC68BQssqEPRQXzFpD9DDbuSlLg3F312i10V5g0k+OUbznlq0Ph+a7GP68MiQeBTaTDHkxjgG0eANSmyInItttOAeVmqL957XyaM3i4/xZmF5DN1ZFgPfs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707335660; c=relaxed/simple; bh=wfbSmuHab0V68wnlOCcAF2SVn1m+YMVLhGtx53tD9as=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=bTOl5TTiEwf7B3+qB2XYvMOskM/TA+zysdVBnHfRdvoI475aHmMa7X1Ts1jThBo+w9CF2UxvT1uKWoJ0dk0amcZwcEbHMVdhgnNoS3ZrldnCwb5PCMYVNzSdN0Wo6U6kjhfBrd50A7oJIybkJTCCNznBVd7WKq22svooOWLzaRQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.161.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oo1-f44.google.com with SMTP id 006d021491bc7-59a24bf7cadso281662eaf.0; Wed, 07 Feb 2024 11:54:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707335658; x=1707940458; 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:message-id:reply-to; bh=cxuT7grQtF6+jxH5TdI/JH0psGW02KwfjrWP6++bBUo=; b=w06rFthLoRNTI9bz1WlPMh8tV51FKliOMglBEg9dHPldMMqbFelNRhldhjMpfydxs2 293rF6U1lzYxIbiBfNkRk7kOjYQAPUSsvb0kGf3na1Aky9mmT0nnlZvA7Um9wOUsxUd7 +yvfls8F2oFH39wns9/IAjrk9fY5aRNNrzOKFhklURNgWtQg3ZRgFcleP9vLR2eOB6P4 PwdkVcZr+xRGMptsYz1UWsdrQ2l1PReuA6eE99yPtB9NKSh8K1OiSMNv718u7DMP44Gu uCC/pctXTcY9BV5i41h7kAwkejPOhhNTJOftQcEK6mp6z7cGDIxj1PIh1KJbuOdvNp5e 7PnA== X-Forwarded-Encrypted: i=1; AJvYcCVTAMzlqdm4cy8PwWn0/mrWaUvDC72Me7pTBLIpVCmTjR7c0A1yjHzKEvPUjQnRZcVq06Ssh7uLi4oNFaWkCtvGGd7Xl67+v/YofbymlClu2yZ8f3AAjR/B1B/KLxrT6vdjlLDpb3I= X-Gm-Message-State: AOJu0YzehGV5eToLMfaLD2nNeR8zDAzG9roXr/x5UtYvpdhbPfWRec1B uay7dOJncQ+q+5LdR2ba18ZDaBndPRUKFBq1XANvnl32y4JYg1L27Rzrk+XOQ2VM7svp98063hV 3tjJKaG4kVVOzzeSJAF49q8EtWh4= X-Received: by 2002:a05:6871:8a4:b0:219:ed95:916e with SMTP id r36-20020a05687108a400b00219ed95916emr77573oaq.5.1707335658402; Wed, 07 Feb 2024 11:54:18 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <10423008.nUPlyArG6x@kreacher> <708a65cc-79ec-44a6-8454-a93d0f3114c3@samsung.com> <4a043533-009f-4db9-b107-c8374be28d2b@samsung.com> <2f125955-8c7c-465c-938c-8768f7ca360b@samsung.com> In-Reply-To: From: "Rafael J. Wysocki" Date: Wed, 7 Feb 2024 20:54:07 +0100 Message-ID: Subject: Re: [PATCH v1] PM: sleep: Restore asynchronous device resume optimization To: Tejun Heo Cc: Marek Szyprowski , "Rafael J. Wysocki" , "Rafael J. Wysocki" , Linux PM , Ulf Hansson , Nathan Chancellor , LKML , Stanislaw Gruszka , Lai Jiangshan , Naohiro.Aota@wdc.com, kernel-team@meta.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Feb 7, 2024 at 8:48=E2=80=AFPM Tejun Heo wrote: > > Hello, > > I couldn't reproduce effective max_active being pushed down to min_active > across suspend/resume cycles on x86. There gotta be something different. > > - Can you please apply the following patch along with the WQ_DFL_MIN_ACTI= VE > bump, go through suspend/resume once and report the dmesg? > > - Regardless of the root cause, I think async should switch to a dedicate= d > workqueue with explicitly raised min_active (will add an interface for > it). Agreed.