From patchwork Tue Feb 13 11:13:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gang Li X-Patchwork-Id: 20301 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp464792dyb; Tue, 13 Feb 2024 03:14:29 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX8TdRjFvNmYD+f0k7ZLvhqrQlfRT1O+o+KsBhlqtuTyub45Qpyutw+JhJ4iorE0RnL5BKFVu1+tah8RAxOZo8GwQqExw== X-Google-Smtp-Source: AGHT+IHhyxP8GKzKK95M5u/vmcoh97/Vq3YuD1HcvHQfwNeQpPSBhds72hjhR5B3hzd9N95pNU86 X-Received: by 2002:a05:6402:128e:b0:561:2f3b:7221 with SMTP id w14-20020a056402128e00b005612f3b7221mr5855517edv.18.1707822869473; Tue, 13 Feb 2024 03:14:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707822869; cv=pass; d=google.com; s=arc-20160816; b=Fl2V+dqW0nZNoMkEPNcACc5gcYRBOc4H6ek6s7hIbkMEQ83kbXYA/r+hs4ETwfJfRc ZUWmHuv1xHqFGfUEBAXonp9G++9aQD4adM43gRIeiusU/CnsDuX/kBftysuAY+JXt966 H1wtRrTrHL6uoRJKVDdOt3rbqveCVge2s7VtH/KYS2oUkemtZPiHNKrbfUwbs4/uTVUe lRuh9zsBz2ULCDQ5YWBnq3eLeaNeiKsbuHJsjH5DwmlT2GRxL1riIhovs4F+XOZvXblH Qle7sXl/B/ec8dwGWoNBPSbEd65BVlvikOmwm7ayjihk69I7DIYJhP/RToKt5LaYVheP 2N2Q== ARC-Message-Signature: i=2; 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:message-id:date:subject:cc:to :from:dkim-signature; bh=AI3Ra2sQ8veiZ8Eia6tE4Ic8YKKMR3VVEKXPe2BHlbQ=; fh=3gaaXqBuxv2DJqxtXapDtMFMQm05upM8uouHfkbPpVI=; b=XzlSIZRQHsIEVc8OwMJq5ODVm3rzI01mp+ympsg9/EN6o0QVIAdFi9VYeoirW5IbAS J4YAPkRxGEjqy8fd2ktFcTkdtaje+yxn7DPZy2HfL6yNupPl3S6UgxtigNq1ZNbEdu3B b961vZlupYYoLKjUbzEn3pJ13aCJw3AmVVx/wVy9/3JxhYk2D1XMyw+db30HgIoaUcOw lLDQsiddtovS9L2Pxi2fwy8bYuS8qXMI7ZRnGWozph5YWgrh4zbNUWtR9VbYls8UPY4r 2UNX5wRuU1C657kcbfsdMKIO8Aw7nJ5XiT5o0PEY2/UXh0a1bAE6fZXdZpa6mKx2J0hF 5yTA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=sZSClFad; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-63403-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63403-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev X-Forwarded-Encrypted: i=2; AJvYcCVv63ZEVR4iAfOT7JklEOua2ctk8iD84qn9vj4wi5fiH8m6b75cPGPqP7LbAwV0VQOYItm+zvg2MbsCVtA3kg6bzEVHnw== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id v24-20020a509558000000b005617b2c4feasi3147295eda.128.2024.02.13.03.14.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 03:14:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63403-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=sZSClFad; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-63403-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63403-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 1A7F21F26F12 for ; Tue, 13 Feb 2024 11:14:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DE62D374C9; Tue, 13 Feb 2024 11:14:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="sZSClFad" Received: from out-176.mta0.migadu.com (out-176.mta0.migadu.com [91.218.175.176]) (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 0FA5932C8B for ; Tue, 13 Feb 2024 11:14:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707822844; cv=none; b=B2Edk9B87u2KIkcEamIfFjouPTBvThDNJrMxqTWWUsoRupUivZnQpCgZbU6Uc27cgIiJmCPmsR5K6ZEQzA9Gg0XWtjhpZ2c3Bgw9KluWSdH5CWeKulmFVjQptcBTzbG4UOZHEjyCjW9KZj9er9qeo7Q5oxoBUoaEnXAU4LBFeGs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707822844; c=relaxed/simple; bh=EG1EZw1Wj3VaqQqg8ln6Y174YJHRi0e6BlwHMvR9T8E=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=VKW71BQivWn4mlF3PndNlW4uy+Od+zlTyLTlzyUAqNd+l23BGEtQv9isMP41sGYJSdnYgLuVJFUO2ciq3tt37X6Etmvgm0mM4TmIWaxBmL8OwztvMRmvGEjmwuU8GboAO6cF7PZxYj9OVnApv6Ct1mw+VsXa1Pwi/0jn8aiGMn8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=sZSClFad; arc=none smtp.client-ip=91.218.175.176 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=1707822840; 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; bh=AI3Ra2sQ8veiZ8Eia6tE4Ic8YKKMR3VVEKXPe2BHlbQ=; b=sZSClFaduLax0DxszdkKqA/EFs81dCIDgkUqYn1K24eJu8/VWr7vSm6o41CzUBgqbT/7VH 2cLtrJW0XRrUzZcljmuODvsBo8k4/tU5Q21eLSTljqCDp05juTrxe+mWKIm6GEy5ai8/V/ nn1Wh3ipvTAlC85GbUu9eG/Ds0TvIJk= From: Gang Li To: Andrew Morton , Steffen Klassert , Daniel Jordan , Jane Chu , "Paul E . McKenney" , Muchun Song , Gang Li , Randy Dunlap , kernel test robot , Gang Li Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH v1 0/2] hugetlb: two small improvements of hugetlb init parallelization Date: Tue, 13 Feb 2024 19:13:45 +0800 Message-Id: <20240213111347.3189206-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 X-Migadu-Flow: FLOW_OUT X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790782072901805757 X-GMAIL-MSGID: 1790782072901805757 This series includes two improvements: fixing the PADATA Kconfig warning and a potential bug in gather_bootmem_prealloc_parallel. Please refer to the specific commit message for details. For Andrew: If you want me to include these two fixes into the previous series[1], I would be happy to send v6. Otherwise, you can directly apply these two patches. [1]. https://lore.kernel.org/lkml/20240126152411.1238072-1-gang.li@linux.dev/ Gang Li (2): padata: downgrade padata_do_multithreaded to serial execution for non-SMP hugetlb: process multiple lists in gather_bootmem_prealloc_parallel fs/Kconfig | 2 +- include/linux/padata.h | 13 +++++++++---- mm/hugetlb.c | 15 +++++++++++---- 3 files changed, 21 insertions(+), 9 deletions(-) Tested-by: Paul E. McKenney