Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp799210lqz; Sat, 30 Mar 2024 22:37:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWMfR/WOZECZw2oa9R2bhZ/xPVBYrjimEXMYw+JvX2ahDAypVPBlK/0CwUmJXbwLLxASSk0hiM1nGBzI6iXLu5hy7UWNNWkfkk5iucl3Q== X-Google-Smtp-Source: AGHT+IElSw2aABf6ydMVMu7Y6gD0QWz+EoqnBdo7Ye+/P70YZJ8Vu+cOwzu3dTvnVbN55/mR9Xx6 X-Received: by 2002:a50:c050:0:b0:568:aad2:f835 with SMTP id u16-20020a50c050000000b00568aad2f835mr4209527edd.20.1711863443027; Sat, 30 Mar 2024 22:37:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711863443; cv=pass; d=google.com; s=arc-20160816; b=NM2YaJhJDUlMCpsOJjDpv0EleaU5QM1rvP13/SuYFZx1beo3MHIHmuHGYfT3Pea/f8 d4A+o4YXj8hX37B/VeIPx8GqVKFKMi8lGoKt8Uq8iBePr6vJvaUHKxslf96aR89KpSbk zqJscu0ZOJ39MYOWNB2QvD7skqTzL2VXsOnzP43ILZH7RUdtik+obNB9AESS0O9Ny6+O DZe5IJ920u+4lmjxbXcGCMAfHMRosjKw/jZZSudVt9Oru8Le2U+6pS26KotSx9921sKy YazxhUmdVQyiHxXZ2A1fcvbnBWtmYQaqjSXFFKCvZL7AoI/GG71ijU20FiYy97ipkhao 5dlg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=wLVH4TsXEk9dwNJlGAw816qk59iJUSpv8Mm3lcZuN1k=; fh=irteAdVjNsYarGMoOHC6o+JCsVsBZJSlNmQiWjZU1jc=; b=jO/tifT3J09nSLncXSIQ468VsDwsc3Xt7ZWaUMhRUZeGnTT0dMhRFXnwgMDkWfQAw8 jXHs43Tnvvc9PY5DVmQJgxBhbRIXRCdCrA8uuu2RqKkbKG3U8HGylDjsH2zgmVAIcjwN mfbCQD8g8AMmuyutK2C3kUSR86fEHguF1ZISQG4YYHxzRMn6rdJXN13k2+4CHI9KqmNF NQ15iZlAFBSJ6JQLVxeR3wRUEOliEMqK3d9LI3+Xd7jpW+uXHb2wIfbTeeA8GTpkMDOF GFC9p++oLF3+jMzCM+mcK7wosDpZzZdPOKruufXveHdT5W4NKx+L39BcgsdZj+XPkanH Wd7w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=shingroup.cn dmarc=pass fromdomain=shingroup.cn); spf=pass (google.com: domain of linux-kernel+bounces-125960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125960-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=shingroup.cn Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r25-20020a50c019000000b00568cd5a2975si3511009edb.155.2024.03.30.22.37.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 22:37:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=shingroup.cn dmarc=pass fromdomain=shingroup.cn); spf=pass (google.com: domain of linux-kernel+bounces-125960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125960-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=shingroup.cn 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 am.mirrors.kernel.org (Postfix) with ESMTPS id B2B201F217C9 for ; Sun, 31 Mar 2024 05:37:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 39A18749F; Sun, 31 Mar 2024 05:37:06 +0000 (UTC) Received: from bg1.exmail.qq.com (bg1.exmail.qq.com [114.132.65.219]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E6DB98C1F; Sun, 31 Mar 2024 05:37:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=114.132.65.219 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711863425; cv=none; b=VU5sqT4EZDNDIhhJDcEsRmUyK6xfLEfFs/2kDpHkMaqSndvQee+UlyPyQ9pAlCTr9tUHekrlOAk7/8M9QMn+Ozphl5D0Crk/T6wslqghXq6sMHjNK1LGGJw0FEv37pYGqPXJUMlI2uxvsCPVliyJAlvq+eE2k8E6gnodxx7wMN0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711863425; c=relaxed/simple; bh=hpjQo0KhGps9/VGEa1fBWiX7PTL1ct+EPAiqsmg8ihw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=hcedxsIgUnex9W5qPm6h4B/RVb3VxToczR7yicqDvE04hFwnPDaShPwcd+Ap0ehUo5OvEBExAfFUa3CLmV5Duc+um0+KAyFF12SzvgSkjRfwVbj5m3f3/ph7rGN1Efe8WS1eBCTb1Ana7TRsY8URmqHoWvrCFrglxe8L6pfV0ik= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=shingroup.cn; spf=pass smtp.mailfrom=shingroup.cn; arc=none smtp.client-ip=114.132.65.219 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=shingroup.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=shingroup.cn X-QQ-mid: bizesmtp82t1711863322twj5416u X-QQ-Originating-IP: 0rkeoEkh2HalCCEoJiJGaDTGlkyTZd6PhYBWh2BWtmk= Received: from localhost ( [112.0.147.175]) by bizesmtp.qq.com (ESMTP) with id ; Sun, 31 Mar 2024 13:35:20 +0800 (CST) X-QQ-SSF: 01400000000000704000000A0000000 X-QQ-FEAT: znfcQSa1hKbRHAcLRCv1mDsVAG5bHbuYuRsE+M8xuRHH6h2E+rlsyWbE1dXtv UQZFNYuvIRN7KJrZoV1geRqrKHmHP4N5lK23noYgSby8/HP6Uh+yb0lP0JrpeYiYuGmJDDo bQIsdMn0ZZLIdPi7rOkxDKv/Lon9JsOwUgzfj4hZgCMnrV/viuHyuqhnra9S7sz5rIyd2GA YqKJbGSTX0jZxt7WDMzxgMXgKg/TFUGjUdZqIE8ObYckJvG7rSuCw7zD2WXtT4Re1JR+1dG 2B4c9DKNZJ4mzNCzpbR978qR6wHulvH1ysDRAD6aD5b1sT8kAtQgke+IrvxML26dgr6IU3q upE7QoPxntRWx9ZYSOipUsBFfxz7gRbhUDvDRYi7cH7UTiQDaY= X-QQ-GoodBg: 2 X-BIZMAIL-ID: 1667159541051008534 From: Dawei Li To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, ioana.ciornei@nxp.com, wintera@linux.ibm.com, twinkler@linux.ibm.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, Dawei Li Subject: [PATCH net-next v2 0/2] Avoid explicit cpumask var allocation on stack Date: Sun, 31 Mar 2024 13:34:39 +0800 Message-Id: <20240331053441.1276826-1-dawei.li@shingroup.cn> X-Mailer: git-send-email 2.27.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:shingroup.cn:qybglogicsvrgz:qybglogicsvrgz5a-1 Hi, This is v2 of previous series[1] about cpumask var on stack for net subsystem. Change since v1: - For iucv_setmask_up() which returns void to caller, just make cpumask var static which is protected by global lock iucv_register_mutex. [Eric] [1] v1: https://lore.kernel.org/lkml/20240329105610.922675-1-dawei.li@shingroup.cn/ Dawei Li (2): net/iucv: Avoid explicit cpumask var allocation on stack net/dpaa2: Avoid explicit cpumask var allocation on stack .../net/ethernet/freescale/dpaa2/dpaa2-eth.c | 14 ++++++---- net/iucv/iucv.c | 26 +++++++++++++------ 2 files changed, 27 insertions(+), 13 deletions(-) Thanks, Dawei -- 2.27.0