From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 7CAD41F0991 for ; Mon, 27 Jul 2026 17:06:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785171971; cv=none; b=IWMW369oEtwsIP3YjX/ibSHKybKeR+45X2IowOLVuUtfsknXj0oi4OSn6CUSjhhK1CbAn1V9qKVMr8WOSaV7h5odDnXBq1JT9fgIWGMGLrYuN13WOmLEIPjHgxzkqgvZFPQoGc5OyuzroX03K0pld2arWKkLwM+D42pDRgO06fM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785171971; c=relaxed/simple; bh=GNcobozQzQyzg+hcwX1ZDOe6oFM6CUZRdK7PrnXsZqk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=gM5HFdALJHGg9JRy4k8ahkB6W0gpuWtXb9t2t+n/dRzuYpn6e6K4p4Xv37B5narqbVx0AVXAMhYzngYx5YMcq6MLF16EISV4rO/3jfDQBkjMPOEYx9QlNuONdalKk+iC9AKIQjGAywprlnrn4A+sE68BNUkPkeAQ82WvN36kBwo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=DwaW8kzk; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="DwaW8kzk" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1785171969; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NKL24PhADa9GtuDCOccijgP9TvV/abeJZYcT3vmRMBY=; b=DwaW8kzkDh9Rurqde2v1OUdkBgFIKiy0cZZj+8I/8qcoGtiZCGSmFSVxzUcR9aDqYps82f hbVXIr/wdZyu6NeKo0X/jCp7paz4wKoKCq1E72y17TpeeglaqrKC18XiCBHsB1ympe21Uk wot3OvVVAmujrUKJLUnVzZJBvbJDO18= Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-477-tCpY0iFxM76oIsSYAWGMHw-1; Mon, 27 Jul 2026 13:06:07 -0400 X-MC-Unique: tCpY0iFxM76oIsSYAWGMHw-1 X-Mimecast-MFC-AGG-ID: tCpY0iFxM76oIsSYAWGMHw_1785171967 Received: by mail-qk1-f198.google.com with SMTP id af79cd13be357-92ec3146553so560315185a.1 for ; Mon, 27 Jul 2026 10:06:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785171967; x=1785776767; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=NKL24PhADa9GtuDCOccijgP9TvV/abeJZYcT3vmRMBY=; b=Ts2+yOCiYM/CaanAaYoF3ZFA/cdCpYXyggc+fLWJW4qU5fxLHm0z+zVkFEGrbOdlcJ rhCfVtBr0PqR5wVpUnCWNu/Tdo6WcJao+VfoeD50cBY6oe6S0YTPKrmZBbI1/kX/3Qof uUxHVdqTsnupxd7gMrrnrR3y3Lv/gIjcmZNR4P8Y404kNrQ0mw27Kjkegs5CIUQjHH/6 WAr/a9wJBAQSHn8wrw1PMyUIo4gI0fP0asKdYtDdNeOAuTI+p/0RZ5iYvb57jf44zkWp 9hMBiuCAHyTJTAO9QvnMJNdHTU1RZusbzvW0xyNZxR4P7hgveqkPe7aX6DcmCuU9P2I5 BRiQ== X-Gm-Message-State: AOJu0YxFVqWi0K23PdUtGA55169zjG8a/6ORUmrQQyG2fRF6oeceqxdI VC7Tublme/PDBmwaChfIKD2FuWzmWhvI/S9OiM6l6Y83Soep60cncULzMQpbhkD83WPOTH6Bz/N SKfd6hfhp0XimLxPS9/3juIQL43m2Z3TF82yDU2Tpn9fA248faONcIRe1r73o485AeQ== X-Gm-Gg: AR+sD10soeEvRjlaAszvphJaDWV0ijN1Btv4P15FfO32A2IlhjT3LzrCfOpsURKcYFz /0DMEX69MuGjPY95OwXOyt/wEs4kuenMKpBcwEAwYGZO7TdYAiOjOUud/oYnE8tBYvehJyjvAz+ PMI4Dpzr18SAXS1locL1ed0s35KDwwKb1mlrW4Yt+/R93OB5JkVdTlENIdDWrsyWl/VEy7rJiGG /7Gq+0LFcsifUGJ82nA6XwnNCUKxGMZZ4WLRRpcClb/ltiyi7nymMlFuIoUjqcqkB6FjPkkHvqI z4BwbSRb9tEIPcZeII9T4e2JUbj+RW8pq5c6Ipvx7N31ZPEINWLiOhuxnD8LcK3BmsohY89qJLY k X-Received: by 2002:a05:620a:640e:b0:92b:6805:918a with SMTP id af79cd13be357-932fe3c05cemr5220685a.66.1785171967355; Mon, 27 Jul 2026 10:06:07 -0700 (PDT) X-Received: by 2002:a05:620a:640e:b0:92b:6805:918a with SMTP id af79cd13be357-932fe3c05cemr5213285a.66.1785171966822; Mon, 27 Jul 2026 10:06:06 -0700 (PDT) Received: from [192.168.2.110] ([70.49.81.60]) by smtp.gmail.com with ESMTPSA id af79cd13be357-932de63239bsm653238685a.30.2026.07.27.10.06.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Jul 2026 10:06:06 -0700 (PDT) Message-ID: Date: Mon, 27 Jul 2026 13:06:03 -0400 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 08/14] s390: move has_transparent_hugepage() out of THP guard To: Alexander Gordeev Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, david@kernel.org, baolin.wang@linux.alibaba.com, ziy@nvidia.com, lance.yang@linux.dev, corbet@lwn.net, tsbogend@alpha.franken.de, maddy@linux.ibm.com, mpe@ellerman.id.au, gerald.schaefer@linux.ibm.com, hca@linux.ibm.com, gor@linux.ibm.com, x86@kernel.org, tglx@kernel.org, mingo@redhat.com, bp@alien8.de, ira.weiny@intel.com, hughd@google.com, dave.hansen@linux.intel.com, djbw@kernel.org, vishal.l.verma@intel.com, dave.jiang@intel.com, akpm@linux-foundation.org, yintirui@huawei.com, ljs@kernel.org, dev.jain@arm.com References: <3ab69c6a9210d2764f714a093eff731dcb55ed14.1784856856.git.luizcap@redhat.com> Content-Language: en-US, en-CA From: Luiz Capitulino In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2026-07-27 11:41, Alexander Gordeev wrote: > On Thu, Jul 23, 2026 at 09:34:12PM -0400, Luiz Capitulino wrote: >> has_transparent_hugepage() definition is guarded by >> CONFIG_TRANSPARENT_HUGEPAGE, but there's a need to use it when > ^^^^^^^^^^^^^^ > What need? The commit message needs to be self-sufficient or > at least explain why that it is a pre-requisite. This series is adding a new API, based on has_transparent_hugepage(), to check if a CPU supports PMD-sized pages. The new API is orthogonal to THP and must work when CONFIG_TRANSPARENT_HUGEPAGE=n. > >> CONFIG_TRANSPARENT_HUGEPAGE=n. Move the definition out of the THP guard. >> >> Signed-off-by: Luiz Capitulino >> --- >> arch/s390/include/asm/pgtable.h | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > Thanks! >