Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp1218602lqb; Thu, 18 Apr 2024 03:52:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUmWY9mmL7513/TUmhBQFVLorw8NBsurqzJPPaMJ3liuoX+xjSBO8Hh30Gj1HgM926lYWOG7qCMXx5zLdu4Bm3Ql5BiJcaf2lfmT0NH4w== X-Google-Smtp-Source: AGHT+IGz+8+1dlWs0D9HFvlSBgv0OZx7qIkIIw4sSnKeU3Kzg1mCHKr6OzccnWpbghIob6ThaSud X-Received: by 2002:a17:90a:5308:b0:2a2:1900:493 with SMTP id x8-20020a17090a530800b002a219000493mr2014623pjh.40.1713437573451; Thu, 18 Apr 2024 03:52:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713437573; cv=pass; d=google.com; s=arc-20160816; b=L5Vw+5NizsQ30/KeHFgeuO8DIZs+yNUizrfheQ4k/vJ3/MNeSWqp23jkV68XfCWrHa M6ZN2DmJDTxMzjKlUZGKYsqHftJqW5a11r4/RC2ifvkt4aYIHmYpiN1DX97GmDgl9DgJ LjPc4EgT+fDF2NQpSfBbeLf8wWGbk6KRrqsdyUjjmDWOvcQZL2Rzf6ztxlsBWGBpNg0J AJrru3rXy9b9U+m1kHzF9CD/ZkIySmdDr+cB3jvIVwJVsuzfPPIS291cd7MV3R2/qZVj XMmnd0gcu4Dyeq7t6368YHmgWPrrdNbcZNXDF5jAOh5qbAtFMzXQpYUIbBdiHFcEUl1K eySA== 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=OUwezoWKjjhkHwXrHvx2EyhAtwMEiZPtf+YLG3VkI4E=; fh=wqGtaQRaft9D0zUHMyMQXhnocNBrwjPdMyctoUHVbL0=; b=pGLSfJMyT73cfk/tz5dcJsRKCtPqtDbG2ME7/XyicF96Hc6PfFM4zzt0KNEQBEqllL D33k+yaU/qudq+51inmsDelwZdGWNjPgcj0h8gfhtH5s3XFmpkScezQVZeVIz4ShYYHQ 4ZNTZsVD40FbOk8mpqBCPxGbvySZlkgzrO3onIdRDa5np6XZs46HsF8Yvpb3K4CJ95QL gUc+YsUNW8MNBaNimD9bq+uUSHw8TplFkcniDSB5vakopuPs+5bY8PQqtj95P9cjUhdv TQsPljq9rNQ5A9wgVx93zCdXmo1NxQeTteOtj8ONdeYmqm5GRw37WjKCNRshqrg7HK4m qNSA==; 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-149911-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149911-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=shingroup.cn Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id v7-20020a17090a458700b0029bb52196e3si1191774pjg.48.2024.04.18.03.52.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 03:52:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-149911-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; 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-149911-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149911-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id AD765B22523 for ; Thu, 18 Apr 2024 10:51:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5CFE315E1EF; Thu, 18 Apr 2024 10:50:36 +0000 (UTC) Received: from smtpbgeu1.qq.com (smtpbgeu1.qq.com [52.59.177.22]) (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 9878815D5D3; Thu, 18 Apr 2024 10:50:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=52.59.177.22 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713437435; cv=none; b=Ao6LfugeKlF4pPg9odvvBOQIC5HituDdmBWkGzkNlJ9zy4fo6UkN3SLeMPypM350yYypsktCJfOYAbSKSoTsmXsMadpqYfp5peAlmd5nPNcDQhfQx3WLbkeq8aooCb62qyYQHkW0hVYD4dELFqt2wzGUqpffFdqIaouVGWFH5O8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713437435; c=relaxed/simple; bh=FGPmtNVxMZjBo3vCKgEDev/KwARhmHgHALkJdN6ckUQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=nFV9XB5R4TKDRrHYZuUx0n31Okat2dmR1t9bdK+7HmEGMCbY/ImxebdzBN1mFNDgrwFrzo1kFFiaN1KgcaTcHFQDmNlF1gMCDYjnz0P9BC0cDuUx2A9n3n8Vl/3lbh+Qg+l5dIxHj73QU9TbViCLO8hb90hSithukEi6pEfHonA= 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=52.59.177.22 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: bizesmtp83t1713437400t0692sa9 X-QQ-Originating-IP: 7zWAIrAbQg+muCVcADIzCgLr34gUnFanMA3THMcPEuU= Received: from localhost ( [112.0.147.129]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 18 Apr 2024 18:49:59 +0800 (CST) X-QQ-SSF: 01400000000000903000000A0000000 X-QQ-FEAT: /5D9664O2EV9Uc6QyTB3AFwf1hFnZCsD/RBva1FsPM/uo8P6J/B5V2u7wz7uJ 9btRUrxD8YKo2PrZz7kXzbmIzm5iCObi4Rf6DxkiSHmJGAzUchnXzJiSIe/vH2bQ2av4Iw3 IMRjwyGLbjNNkrEVuA1YrBQk1z+D8RoqrgVAhrijppb0aeLvURiqUd8dQnYMlCXspc11S+8 kPTQt2u5w2ne71YGqzuwOnqSnIRaz3wbHD4LFpj3ALtbCtsjI63uHLHaojZvYyl0JS/fU3E l5U12lkpW0EIPO8GP64KsmsgGzsPUMY9zx2NnZJEW7KxHbpGBbPhbPCYJtg5L6yiEKGc4Fr TbnG7dm/GFUI2oyArgPUsyeHfVvvwhAobUKfHL5SAvuIxt9Q8kHM3XdKIYvmIXDe5MSP4PT X-QQ-GoodBg: 2 X-BIZMAIL-ID: 13167488483409716727 From: Dawei Li To: davem@davemloft.net, andreas@gaisler.com Cc: sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org, Dawei Li Subject: [PATCH 0/5] Remove onstack cpumask var usage Date: Thu, 18 Apr 2024 18:49:44 +0800 Message-Id: <20240418104949.3606645-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 series aims at removing on-stack cpumask var usage for sparc arch. Generally it's preferable to avoid placing cpumasks on the stack, as for large values of NR_CPUS these can consume significant amounts of stack space and make stack overflows more likely. Dawei Li (5): sparc/srmmu: Remove on-stack cpumask var sparc/irq: Remove on-stack cpumask var sparc/of: Remove on-stack cpumask var sparc/pci_msi: Remove on-stack cpumask var sparc: Remove on-stack cpumask var arch/sparc/kernel/irq_64.c | 10 +++----- arch/sparc/kernel/of_device_64.c | 5 +--- arch/sparc/kernel/pci_msi.c | 5 +--- arch/sparc/mm/init_64.c | 2 +- arch/sparc/mm/srmmu.c | 40 ++++++++++---------------------- 5 files changed, 18 insertions(+), 44 deletions(-) Thanks, Dawei -- 2.27.0