Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp991910lqh; Fri, 29 Mar 2024 04:00:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUPc56i31jOm3GBoaPgdy32fQdNrZh4821yLp1sNqPXW+MBNlkrco7Sivy6N00R8AaV8l1BH6bvZ14UjZiW9mufzMdPUvGspNOXawE+dw== X-Google-Smtp-Source: AGHT+IHcQiaLwU6L1mX1rxVN09yZfHvcwx2Mozv3/zZNpvHORnwRCuoRvW4HnZvTLVt8MRU0Qdm6 X-Received: by 2002:a2e:a489:0:b0:2d4:707d:8b3c with SMTP id h9-20020a2ea489000000b002d4707d8b3cmr1576358lji.18.1711710053898; Fri, 29 Mar 2024 04:00:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711710053; cv=pass; d=google.com; s=arc-20160816; b=cZ3DvLhtlZZ4MIeeIDO5r4Gw6gvYB4W/KnHh50PCLoz0J8ePq7Srd1nTzuLL1xfgw6 yt8h0K29B7/yeMTtn2W031uDJu6e1wzmFnRBIDo9H1VxeUgSnuTdWqrE8Uy5qS0GE0pj xesWMqojCvAHj6l21OnkPp1wXZFMT6ofddCDGUrV5EUXx3MUtZ/VIXFBHl0tbu4js2cM 0KS+77cEs8DTIaghKzQcMCat5ZQNvp8xXg8Q9rAkoCEaJ4oRDHSjLy390i7cMM2s4AlB hTbMnOjcgk5hZePZ57XLt/0YP/y1vipPSFk0aWyDjQwOGA7p3hv+THd5zs4sNNy2pKMu YRlw== 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=rhiqNoEHiADIkmMBsyovK0cMy9BAzD/gQ3FjBYvs0ZM=; fh=irteAdVjNsYarGMoOHC6o+JCsVsBZJSlNmQiWjZU1jc=; b=U/jN8TC/ofGYm8Yg9GfPrDq22XzWPJb8X/HhtvtbV8ojsYOGQdHPfit8kVvigEycFQ ZUoFswH94mhtnPKU3f9rUIflbQhlpuPTITkRqJoQht11ZyrNVSYVLq4FNjd2SaElLAll qVS8JmgPxXPmLKFHJKwI9UE7PkNVLEAKtMqIgOCQmu6f7UKBrwOtZlmmXL1iYAKMZXHn m0hzxxgAeKcqNQiYSb69qW2eaKLsBjkF4VmE3MODWUGDFGzE4nGFeY76kfMd4M/+Fj5n HNoNx6T2+aHI5XfTwzyraX8qZha5AiX8tj72do74Ij6fCh9oh8sB7hp3og2Dov+u5HAz PBkA==; 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-124423-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124423-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 y6-20020a170906448600b00a4657cc568asi1662255ejo.505.2024.03.29.04.00.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 04:00:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124423-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-124423-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124423-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 9B0321F241B6 for ; Fri, 29 Mar 2024 11:00:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B69456A356; Fri, 29 Mar 2024 10:59:38 +0000 (UTC) Received: from smtpbg150.qq.com (smtpbg150.qq.com [18.132.163.193]) (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 76A9E6A013; Fri, 29 Mar 2024 10:59:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=18.132.163.193 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711709978; cv=none; b=eT7k3WtkxwOHXy5LL2zd5od1U9Jq+h6EMsfy6LgJrhB7pC4AaqcU5kBm+ByixiGTcYMrcpJwMBwGsgZ4TjiYvhs8T4XRWHWqs2uZnh81nW2x+6lYDioNSVpXhQmP59PfKjHkXnX4QlKL+9E6ko8vmS5zFtZhxxn1DblVgKqiRzE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711709978; c=relaxed/simple; bh=k+v0qzwa/G31seXck9YqysYUEETaqx3WTiw/bXysXXc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=TrgMwWQKVfAPgUGfXuEmVvmgFRw7RTgs63GohRIvCF7fkT9kNFgg3TRHbjSZoznl9V1EC5qUOnErbT/r4izY3ulg3jilSiZxP1/mQDKQLohY2Bm5jyU9y57/uVUTG+Ck2koz7BV8tK5q975WIQTQ5A0euN/Q6ZB++BOYIwTlvTg= 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=18.132.163.193 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: bizesmtp90t1711709833trhodnwy X-QQ-Originating-IP: ip4zIv0IgokV1PIQx8JCNN0m4s34KKdMABqAoCfUXCE= Received: from localhost ( [112.0.147.175]) by bizesmtp.qq.com (ESMTP) with id ; Fri, 29 Mar 2024 18:57:12 +0800 (CST) X-QQ-SSF: 01400000000000704000000A0000000 X-QQ-FEAT: 3M0okmaRx3iFSdA6FuP1qfcOUFMFiuSHQF3s31WACj0xlrvJ1/LDtxfHmhYkH RU8ot5MGMvKKsDxe4nphnUcPBEbBybaeU9+BT4+n1TOk6Wy9wI83oh+cATtEaNUMIMh/D0p 47m8l1f8URDsOjl4dwtkM3iBOjwZgvZbp3dEIRNGtESCkkDK85s+OBzodj4Y99avaGtokn2 11TLQWPvgRzTVgWByAGuAvzEz2G1LwehWJf7f3uVrSSe+ki00Bj6KEVdrgXUaRj3AylLdIP wqJmfDq2518PcBgkEcO86oWen8Uk/asmx38QIlTvNyxc5Qe0N96/aRePTEXMtfolAoDa3Ye sD7YrCN7sHLHF3lJFXEfhVvlFV5ZQb02dO05nMdb0YVahYorDUM3RXX7cuKcA== X-QQ-GoodBg: 2 X-BIZMAIL-ID: 1969986897555587113 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 0/2] Avoid explicit cpumask var allocation on stack Date: Fri, 29 Mar 2024 18:56:08 +0800 Message-Id: <20240329105610.922675-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's a tiny series which replace explicit cpumask var allocation on stack with *cpumask_var API to achieve neutrality on config and avoid possible stack overfow. 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 | 37 +++++++++++++------ 2 files changed, 35 insertions(+), 16 deletions(-) Thanks, Dawei -- 2.27.0