Message ID | 20200521204847.1953064-3-daniel.m.jordan@oracle.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <SRS0=V3Tr=7D=vger.kernel.org=stable-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=-9.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, UNPARSEABLE_RELAY, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 2CB90C433E5 for <stable@archiver.kernel.org>; Thu, 21 May 2020 20:49:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F1BE620759 for <stable@archiver.kernel.org>; Thu, 21 May 2020 20:49:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="oAHDTJEO" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730114AbgEUUtF (ORCPT <rfc822;stable@archiver.kernel.org>); Thu, 21 May 2020 16:49:05 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:49824 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729382AbgEUUtD (ORCPT <rfc822;stable@vger.kernel.org>); Thu, 21 May 2020 16:49:03 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 04LKlsot118285; Thu, 21 May 2020 20:48:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=corp-2020-01-29; bh=7h6WLFI1HjKVZRF72mgacz+zaPN5KCQpq9Xs5RIRcGU=; b=oAHDTJEODV8JD62ps1hL5FOXp3VfGfI4A3UXa2S1FzSmHEzRtFbkI3IESfU86NU92cHK O4iCcM2NDjUapnljvU4GmdU8OVrGSNZBtS0j2wuZ+3HNKTg5LcyzlT404++wqteNSKDY ZucROY4QFvbhYci72a66VGKrvOlfOMlXEG2909mmDkrv4CljX/RCS4heU8P1tZvxvYHY hKaOVtME/tppQPDm3ANLd6drsFOIo7Uj5ebjIPVan+Vp2qVDqMINJ64I3vONeGQSpjOU H7vYdZIl+GiQEiA2z5Xo4LeTRhwbsC0FLi4zCNn09ghpsUBZl8tJDaOzdYINRfjCXYJj SA== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2120.oracle.com with ESMTP id 31284map6d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 21 May 2020 20:48:54 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 04LKhFbH072802; Thu, 21 May 2020 20:48:54 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3020.oracle.com with ESMTP id 312t3capsq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 21 May 2020 20:48:54 +0000 Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 04LKmrjS001042; Thu, 21 May 2020 20:48:54 GMT Received: from localhost.localdomain (/98.229.125.203) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 21 May 2020 13:48:53 -0700 From: Daniel Jordan <daniel.m.jordan@oracle.com> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Sasha Levin <sashal@kernel.org> Cc: Ben Hutchings <ben@decadent.org.uk>, Herbert Xu <herbert@gondor.apana.org.au>, Mathias Krause <minipli@googlemail.com>, Steffen Klassert <steffen.klassert@secunet.com>, stable@vger.kernel.org, linux-crypto@vger.kernel.org, Daniel Jordan <daniel.m.jordan@oracle.com> Subject: [stable-4.9 3/4] padata: initialize pd->cpu with effective cpumask Date: Thu, 21 May 2020 16:48:46 -0400 Message-Id: <20200521204847.1953064-3-daniel.m.jordan@oracle.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200521204847.1953064-1-daniel.m.jordan@oracle.com> References: <20200521204847.1953064-1-daniel.m.jordan@oracle.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9628 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 spamscore=0 mlxlogscore=999 phishscore=0 mlxscore=0 malwarescore=0 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005210153 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9628 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxscore=0 cotscore=-2147483648 impostorscore=0 malwarescore=0 mlxlogscore=999 lowpriorityscore=0 phishscore=0 spamscore=0 bulkscore=0 adultscore=0 priorityscore=1501 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005210154 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/kernel/padata.c b/kernel/padata.c index 0b9c39730d6d..1030e6cfc08c 100644 --- a/kernel/padata.c +++ b/kernel/padata.c @@ -450,7 +450,7 @@ static struct parallel_data *padata_alloc_pd(struct padata_instance *pinst, atomic_set(&pd->refcnt, 1); pd->pinst = pinst; spin_lock_init(&pd->lock); - pd->cpu = cpumask_first(pcpumask); + pd->cpu = cpumask_first(pd->cpumask.pcpu); INIT_WORK(&pd->reorder_work, invoke_padata_reorder); return pd;