Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6530385rdb; Tue, 2 Jan 2024 05:14:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IG3bld0MvyGM5WCC/Qo/ov/t7jqEDApMQLKjN3olVKYExiUvQYa83fEJZ792IcSchDutxlh X-Received: by 2002:a17:902:c947:b0:1d4:3b8a:639a with SMTP id i7-20020a170902c94700b001d43b8a639amr6198915pla.124.1704201273715; Tue, 02 Jan 2024 05:14:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704201273; cv=none; d=google.com; s=arc-20160816; b=jcnBL8FyYYJPLWwt6LAB1CT33TSlSvcCxwyVrM2iq9H3AnIGgm15kp4JqpGO72brsn I+8BzR30K4x4dP6ppToWSA0S2E2m8rzPjXO/njjwtjTiNErImYN6hS8OnT9enxFNPYNA SN4C8q8tTPzQlxiZyjz9pDsb71JdoZVQ/feGyywMN0gO6x/cnYt3Z39+ZMTSiUGHxC7f tD4Qx9Ye2PutqrvtVQYJOTLwITLhxYypMLuyQwK01BwyLpDkbtFETfg8RlOj2d/d+5l7 RevQsLH/JGX3HCu7F5XmJKeDc9sX/1LngedrLygqpDGICLOeE9DxD4YMmn9AKewEQ0a3 YF7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=uwJWRA1Ti2ov5Iev54G7xXAXLlg2CRbAiefTt3ZwHf4=; fh=5n5b5+XOwLgGNDePhvfXysty56rnkWOs9jaHEODdVeE=; b=RdNP9fs036kU/oyMcFk5bbOR0MJ5ta+cBD8fL5RzH32PAgpILaiZeYQl3xMgCI0Mcv g/c25XiQWzUBQ6WhTRsNmdaMHyvOkjJqpOutZFvEf+xhmgnUPFq1jJTT/jeVzVpbrV7p eSImGj/1HyeXtJv6bisSVEt+3skRRX6Udno4svxaOqWV9FDdYelLW0S0gt6ybhwHowHZ DC+YhDPr8t0m561+YLNtyn700+/XSZ6dnW7S9n1RM9Llw/PM11yT9llcqZHFbm21p9Eb cl1NRL96++Z3OJHehv0AusNm91OYUJMcnvpRIz8cx8MxwYuZWoJVVZBLEWThkSqJ8mRF j3FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=LLGCqrdb; spf=pass (google.com: domain of linux-kernel+bounces-14386-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14386-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id t2-20020a170902b20200b001d4c2a9deedsi1637763plr.360.2024.01.02.05.14.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 05:14:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14386-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=LLGCqrdb; spf=pass (google.com: domain of linux-kernel+bounces-14386-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14386-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 70AB5283216 for ; Tue, 2 Jan 2024 13:14:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7ADD413AF4; Tue, 2 Jan 2024 13:13:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="LLGCqrdb" X-Original-To: linux-kernel@vger.kernel.org Received: from out-185.mta1.migadu.com (out-185.mta1.migadu.com [95.215.58.185]) (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 3137312E70 for ; Tue, 2 Jan 2024 13:13:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1704201216; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uwJWRA1Ti2ov5Iev54G7xXAXLlg2CRbAiefTt3ZwHf4=; b=LLGCqrdbm54bgGR02vZyuR1VdBL4mcjuR/BGT/9+I895KeZ7fyx+zd7BxXb0RBDzZmE25q AMVfKXgVW6wXKRG7kBGALWtRZYvIMnFzhrilIzjsqIv/oXeOP1qJqaKxBRlTDA+uY6LEko g3MUn0pBdC3pivvQ/woTMSibZfbEMZQ= From: Gang Li To: David Hildenbrand , David Rientjes , Mike Kravetz , Muchun Song , Andrew Morton , Tim Chen Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, ligang.bdlg@bytedance.com, Gang Li Subject: [PATCH v3 5/7] hugetlb: have CONFIG_HUGETLBFS select CONFIG_PADATA Date: Tue, 2 Jan 2024 21:12:47 +0800 Message-Id: <20240102131249.76622-6-gang.li@linux.dev> In-Reply-To: <20240102131249.76622-1-gang.li@linux.dev> References: <20240102131249.76622-1-gang.li@linux.dev> 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-Migadu-Flow: FLOW_OUT Now hugetlb uses padata_do_multithreaded for parallel initialization, so select CONFIG_PADATA. Signed-off-by: Gang Li --- fs/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/Kconfig b/fs/Kconfig index 89fdbefd1075f..a57d6e6c41e6f 100644 --- a/fs/Kconfig +++ b/fs/Kconfig @@ -262,6 +262,7 @@ menuconfig HUGETLBFS depends on X86 || SPARC64 || ARCH_SUPPORTS_HUGETLBFS || BROKEN depends on (SYSFS || SYSCTL) select MEMFD_CREATE + select PADATA help hugetlbfs is a filesystem backing for HugeTLB pages, based on ramfs. For architectures that support it, say Y here and read -- 2.20.1