From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta21.hihonor.com (mta21.hihonor.com [81.70.160.142]) (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 720FB2F6904 for ; Thu, 18 Dec 2025 02:16:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=81.70.160.142 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766024192; cv=none; b=ACpBgFnfSmaK+eGm0zy6BVnQ9DCF2peCk7PjQ2+GA/GSpH9r42ju6X+ivB8nQLvQXiZp5+7BNJ26SIs3LbYdnLvd8bcEzNFTROOtBVyuJJKZFXpYMslhkN40mEN2J77/IjmIuv6Rz+2Uht0oyEl4ERtFTNonZoITv6PM0D0i/N8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766024192; c=relaxed/simple; bh=0XGZMuYs3aswHuhaS+lGGdQGKZHlvktqBNsXj0stAfA=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=b/5zB0432vRfY9eBqyW+RS9N95PpRR0BJV4WydZmGLyl4UXZwxuJvwLytTWMh/cbDEZThNqYOej2dyu5rMNe8B2g1lII0L0gYZ51O9HZVs0SO8Ziu66ZLBeywyVS7aMUtxuRtLfNSdGOyhcsGuNbzS5NiSix9PkyVNU4GHUeYIY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=honor.com; spf=pass smtp.mailfrom=honor.com; arc=none smtp.client-ip=81.70.160.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=honor.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=honor.com Received: from w003.hihonor.com (unknown [10.68.17.88]) by mta21.hihonor.com (SkyGuard) with ESMTPS id 4dWv0T0yGbzYnWDP; Thu, 18 Dec 2025 09:56:25 +0800 (CST) Received: from w025.hihonor.com (10.68.28.69) by w003.hihonor.com (10.68.17.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.27; Thu, 18 Dec 2025 09:59:01 +0800 Received: from localhost.localdomain (10.144.17.252) by w025.hihonor.com (10.68.28.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.27; Thu, 18 Dec 2025 09:59:01 +0800 From: yuan linyu To: Alexander Potapenko , Marco Elver , Dmitry Vyukov , Andrew Morton , Huacai Chen , WANG Xuerui , , , CC: , yuan linyu Subject: [PATCH 0/3] kfence: allow change objects number Date: Thu, 18 Dec 2025 09:58:46 +0800 Message-ID: <20251218015849.1414609-1-yuanlinyu@honor.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: w012.hihonor.com (10.68.27.189) To w025.hihonor.com (10.68.28.69) patch01 use common KFENCE_POOL_SIZE for LoongArch patch02 always create kfence debugfs dir/file patch03 allow change objects number yuan linyu (3): LoongArch: kfence: avoid use CONFIG_KFENCE_NUM_OBJECTS kfence: allow create debugfs dir/file unconditionally kfence: allow change number of object by early parameter arch/loongarch/include/asm/pgtable.h | 3 +- include/linux/kfence.h | 5 +- mm/kfence/core.c | 125 +++++++++++++++++++-------- mm/kfence/kfence.h | 4 +- mm/kfence/kfence_test.c | 2 +- 5 files changed, 98 insertions(+), 41 deletions(-) -- 2.25.1