Message ID | BYAPR11MB26324750851DA9821B44CF66FFBB9@BYAPR11MB2632.namprd11.prod.outlook.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-pm-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.5 required=3.0 tests=BAYES_00, CHARSET_FARAWAY_HEADER, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 807EDC433E0 for <linux-pm@archiver.kernel.org>; Wed, 27 Jan 2021 06:14:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2B6DF20717 for <linux-pm@archiver.kernel.org>; Wed, 27 Jan 2021 06:14:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231955AbhA0GOZ (ORCPT <rfc822;linux-pm@archiver.kernel.org>); Wed, 27 Jan 2021 01:14:25 -0500 Received: from mail-mw2nam12on2067.outbound.protection.outlook.com ([40.107.244.67]:42945 "EHLO NAM12-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S235467AbhA0DTX (ORCPT <rfc822;linux-pm@vger.kernel.org>); Tue, 26 Jan 2021 22:19:23 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BOt2DpSbZV3Mew8L979ZYQ0o6oHZVphVEVEPxbqC2bmNa1jE9r4xOmQZ07NyLEPrdk1qTDbDDjRgvMaihQmh2TEGHYuhH2W0GP9QWWfsflpjjxDNEc0AakNPSjP2Tei4FBB1YCGXhfqYyj0N+iFym38LgKFXW3ZVf/+wzv98XRV1cpswIfDC0khn1FOLtjsMB0kBEmXk5hIwa/NyAf9p+W7EsvSb9+G9DpjPhQBFcUb9MR15iTp1Zt10XDO3QngoYWBgJZRnlJAeYWG9eDq13IrpZ9+o+ywCfkGSZ6+Vi4FPc84QTDyxkgRkazxXDrLw4fmJ1cZOkvwd/u/3OHCdoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ht0Ha2BwBsMevZIJ5BoIzg0RD+ZGU+MdIbWJXoyxECA=; b=blw1Yd/rBPjhqtX8sqDVvlqt0aoRWQEqnS/MDjt2jbMUCjgAARS7YxvAnyeiNIMCpoeDv0QL57eEln7fRcQW82abAwTUgUXBQJaXUC6Fu1YpdJufBMvS3avWokLZDQgoomSdOCAs8L6YE8jAmI+uVrXCvKCLJDprpPGQm1f8EQtyYSI58yJk8wSHx7kivc4dzl5eH1WXqJs5hYtfP7YWIFqqIyTXw3ZR2IeBAMSTE/2XIpkGvvTVKCMiPWsdHInNc1QWNy1OCbGr1Y6e0W0a4cXR7wjS4EcLvE/rgdkgh6lax8CcMcdr4+uQ6OjC6Xa5875a78SUXEcRDFGA9zvMSA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriversystems.onmicrosoft.com; s=selector2-windriversystems-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ht0Ha2BwBsMevZIJ5BoIzg0RD+ZGU+MdIbWJXoyxECA=; b=QXGb/uHbcdxKTt+qvcCTaJuQ4FpyoNQXswDkdkKPotQcYTsE/xn9Yjqh9dCNkOdwCIR2PvKzEA5eDbydTZRLI6pJIMCmGoOj8cj0k3eYmOTqd0qTE6rGLV7XP1PpMbskQvfE612mORJsy9UWZW6oTK4mzOha/YYrtb9TnYvjx7A= Received: from BYAPR11MB2632.namprd11.prod.outlook.com (2603:10b6:a02:c4::17) by BYAPR11MB3030.namprd11.prod.outlook.com (2603:10b6:a03:87::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.13; Wed, 27 Jan 2021 03:18:24 +0000 Received: from BYAPR11MB2632.namprd11.prod.outlook.com ([fe80::89a3:42c3:6509:4acd]) by BYAPR11MB2632.namprd11.prod.outlook.com ([fe80::89a3:42c3:6509:4acd%4]) with mapi id 15.20.3784.017; Wed, 27 Jan 2021 03:18:24 +0000 From: "Zhang, Qiang" <Qiang.Zhang@windriver.com> To: "Rafael J. Wysocki" <rafael@kernel.org> CC: "linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> Subject: =?gb2312?b?u9i4tDogW1BBVENIXSBQTTogcmVtb3ZlIFBGX1dRX1dPUktFUiBt?= =?gb2312?b?YXNr?= Thread-Topic: [PATCH] PM: remove PF_WQ_WORKER mask Thread-Index: AQHW8s6id2HiVZdI2kGFxo0iWoaVzKo60HTf Date: Wed, 27 Jan 2021 03:18:24 +0000 Message-ID: <BYAPR11MB26324750851DA9821B44CF66FFBB9@BYAPR11MB2632.namprd11.prod.outlook.com> References: <20210125041828.20965-1-qiang.zhang@windriver.com> In-Reply-To: <20210125041828.20965-1-qiang.zhang@windriver.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=windriver.com; x-originating-ip: [60.247.85.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 98935e46-3336-497d-dafd-08d8c27234f1 x-ms-traffictypediagnostic: BYAPR11MB3030: x-microsoft-antispam-prvs: <BYAPR11MB3030DE57A4225E479717E8FAFFBB9@BYAPR11MB3030.namprd11.prod.outlook.com> x-ms-oob-tlc-oobclassifiers: OLM:2000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dpAePhuKp8Hqugoht/moH1WWL59szEAyDTchnXm1CXuN+E6P1rv0dMPKG/jRcPJkvngdUAexEkIBW/5eXbxHHp8N7bRSxVn1vNWHjv/zpQDX9h06tJlp2MHQ5vXC7k+tgfrXeVoMrogIt8DmgTqQpiC76TI8dGvVqHdqgH2Rf8JaV98q4XeqYxo6oiMrEMAdUiCd0pA9svW7WbCEmPOBRuraHaDHCSnNtn2E8/o8n9LsjeeoxTlUD5pJIO5TQ6v/M6dXUB0v5V3yDO/4Ms9y5jvtwuTes4OL14GRerrOPapUYWXJNTYzjznUQ5x6oe2nxxro+2TkVqtGw7pj00MJ8t5XjrBN/GJPoqOLPGXXSDgD8OkHJ4AEsmj0tAPRWrrAzN5LYrcQXU+W4CUaC+BXgg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB2632.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39850400004)(346002)(366004)(376002)(136003)(396003)(7696005)(316002)(478600001)(224303003)(33656002)(4744005)(71200400001)(86362001)(54906003)(2906002)(91956017)(6916009)(8936002)(9686003)(4326008)(83380400001)(55016002)(76116006)(5660300002)(26005)(186003)(52536014)(66446008)(66556008)(64756008)(6506007)(66476007)(66946007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?gb2312?b?dUhqYlpHTnBDcUM3SWpHUGtB?= =?gb2312?b?QnowUzl3MDV4VWlFNmhUME4wQytRS3hmWVRRb0gwcm9hQUN1Yllh?= =?gb2312?b?b0JnZFYyQm5yeE44VkxQakk0aExxQWJ0NTBxQld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Q040N1F6RFJMb2RnSmpSdTNHT2plRXBod1RwK1hkN0c4?= =?gb2312?b?WXAwS0dDSVRPR1hpSmxQTmhUZEdqdEx3ZnVxUnZsNHZyUjkvN0lv?= =?gb2312?b?aFRFNEhDZThYemNzNld1ajNRenp2dVI3VDE3blJ3b0QxMUVaNW41?= =?gb2312?b?SHJqRzlMWlFhVzhtdkVOeFZ2ZDZQb3RTMHpaTnNncXMxQlhUbjk3?= =?gb2312?b?T3daKy91a29FSW9WNEo0cUxGVzAyUVB6bW1xdmx1L3pnL3RzaDdD?= =?gb2312?b?eDFpL25kMWNlaUQyVmhwNnpsaGFacGlZSHlEdjhGZkRkN1ZXbWJk?= =?gb2312?b?TmZJeWJ2eFVwblM2VnA5UEVYZ2h5dmVkTWwxUGV2aitwNk1lczEy?= =?gb2312?b?ZUJSMlZ4UFpuME91b0NrdzRVUlBQU1RoWHFHVjVJYmMvR2Zydy9s?= =?gb2312?b?Ylg4QU1yKzB6MFJEdkViMGhzL2IwK3QwcGlQeHRsUE10cE09?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB2632.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 98935e46-3336-497d-dafd-08d8c27234f1 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jan 2021 03:18:24.1691 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: OR0fcDxafBj0b0k9I/kYuZKUwuc1rUKl+a9e4LOhwZwS8aiZAcwhmdxAGCQrklhBKotJoj7aSXkJCpVHfz9II4oEJf1PKAgnX4Z/DWL+IPs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3030 Precedence: bulk List-ID: <linux-pm.vger.kernel.org> X-Mailing-List: linux-pm@vger.kernel.org |
Series |
回复: [PATCH] PM: remove PF_WQ_WORKER mask
|
expand
|
diff --git a/kernel/power/process.c b/kernel/power/process.c index 45b054b7b5ec..50cc63534486 100644 --- a/kernel/power/process.c +++ b/kernel/power/process.c @@ -235,7 +235,7 @@ void thaw_kernel_threads(void) read_lock(&tasklist_lock); for_each_process_thread(g, p) { - if (p->flags & (PF_KTHREAD | PF_WQ_WORKER)) + if (p->flags & PF_KTHREAD) __thaw_task(p); } read_unlock(&tasklist_lock);