Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1611173rdb; Tue, 20 Feb 2024 01:13:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXgWbIVTwDGOksoXX9R7lKc4iUWQ8jRVbo1/xZ/sX0NHOPsx2i3aKRic4u0PwQQNNi3om1MdqE4TFeGmZD80WSx2mrfSmzobkSt5MD7VQ== X-Google-Smtp-Source: AGHT+IGn/Y3BNcrQN7D42SozwSv6p5pBvMqA1iFap3vAIZVDCD9IW4JBBKEjIWLyoIItE3xzLI6V X-Received: by 2002:a05:6808:10c1:b0:3c1:686d:972d with SMTP id s1-20020a05680810c100b003c1686d972dmr632831ois.5.1708420431689; Tue, 20 Feb 2024 01:13:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708420431; cv=pass; d=google.com; s=arc-20160816; b=NuFn1Z2cCzIBzXY0hEZfBYbITm2/e8C8a2s0TlIpi5SFbEkvDEXafF6JkGuYzrwZIu ZFulE22YkG67GF+LhFXbdsPs3lyg8BwKZz6YFkjaQtb4Td2a/tfkwIxKLIyWAI3l/g0v zIM8HoHeMQ0IFHm4gctgo98aELofICall8zQXw/f2FEcw74F5ROFZi2U0OW/54zmZMxc vH4KbwxsvAyRLz/sJBbIFW4GQtuiv5p+YrFsfndNcmMRgqpJbK1NmHTbwkdcVVYVR7xA LY9lOfFTNJNQd9ftLNtot6j1oZPu2brb3rO46F9gMYOOFQ+G6Cl/38WzQToO6INXOuEQ BqWw== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Hc7Vr/JbhTXco/qwjlqEf/95A62lzTta6Tgkz2Azb/w=; fh=pLJoBgmNyqObkuh28seqSKIcM0vRdHLanxakiUll5Wc=; b=SyoSsqmKJVDMC8dCLJsAq3fQbzXvT1EzmycY7Uh4VTSqIOUoo49RAkyvYn/AL76Zuk AEPZsfg5NbEcQzVXcES2YpCBb/W6RNsNbMFXIdheyTtTwcsa9D5w/2fMKT0iizPRUgzz SqZRVR7ssCjf0IjLPZ04NBwe1UAJrqZL4ciKJqux3pA/FUT2SmyGKQMBf1lfw61CWG+l IfV1cRLaGzpiIufaT6o0kg7reOOXUtuDY3dA2vx21e32W5SORLnDswUAwk3TZSDNmC2t oUOBO3N8cdL6Ar2SuWOqJkVAGthvihuGO5/6GA7DfIpn7YAXchrWxURmjq/znSP240gf Ozeg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZhTz2CCy; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-72665-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72665-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b20-20020a656694000000b005d74823c24fsi5843485pgw.440.2024.02.20.01.13.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 01:13:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72665-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=@intel.com header.s=Intel header.b=ZhTz2CCy; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-72665-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72665-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 07FE8284F6C for ; Tue, 20 Feb 2024 09:13:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8884C6168D; Tue, 20 Feb 2024 09:09:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ZhTz2CCy" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (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 D2CED612E7 for ; Tue, 20 Feb 2024 09:09:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708420190; cv=none; b=Ty03OZu5mPvMRu1Y4ngCj0lTb3h0dXkyzBG6M8qpTY5KqaPfwTIsQPK0FqH29Mdxb4B6Wvkhy4NK3XenMHyan3F9UZZV6oSHDtMsV4iPV07pvalswLkJZxgCCX0jOnwLFqJ7o3YNPq6miA24RC22ejNkm7cPmV4M3RfnqGcW7xU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708420190; c=relaxed/simple; bh=UZm4U+dAIR8HwmwBvV5EmxR9EJsRl0ZGSS0nEGfJIyk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=BGyCnYsMC0g/mRt8sX1Qlkf2WQMvsvCeHxmcU842Wu8ttFBIDdw3rjd7jLkKJqJYbRIcwaKrj/TcvXWXfFs2qDw2PZ9QixWXzPmx61SvrCNxiPONUoBpzXuq7dQNS6Q8k5G/FbcENT6u+QRkTAwQojS7xcwqwcH9nzUAJ0Io6t0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=ZhTz2CCy; arc=none smtp.client-ip=198.175.65.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1708420189; x=1739956189; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=UZm4U+dAIR8HwmwBvV5EmxR9EJsRl0ZGSS0nEGfJIyk=; b=ZhTz2CCynYn1wcYFYPF3TK1WmdqsRrWdcS6YqFANHMehlLMT5Wfr3x+f 35wjx0QyYx9fzxU7dEVYl1SrA9iWHpCVP5KAaORUSIDhVZQ1RCQiKsimF 9NIZnuHi9h9RblB8ybdUQ/6pbCP6U/LnnTtpvddykOj119oT/LC/4zs7s zdrS1QTiOYWn9GihHRYc/3dEjPYIVhX6eNJFPOhEA/xed7JHKksoqn8nY efwGpt7d3bOf8uLsm1FaJUi4VQdxCQ13CbrL8HQCpo6pFpvzXleqbbMqu ZuR6XOZoDwnKxf6XkHNQmEbgj4hdwtjQsQJUzGRCU9pnlkpZRxzayTrjz g==; X-IronPort-AV: E=McAfee;i="6600,9927,10989"; a="24972222" X-IronPort-AV: E=Sophos;i="6.06,172,1705392000"; d="scan'208";a="24972222" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2024 01:09:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,172,1705392000"; d="scan'208";a="9334937" Received: from linux-pnp-server-09.sh.intel.com ([10.239.176.190]) by fmviesa004.fm.intel.com with ESMTP; 20 Feb 2024 01:09:45 -0800 From: rulinhuang To: urezki@gmail.com Cc: akpm@linux-foundation.org, colin.king@intel.com, hch@infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, lstoakes@gmail.com, rulin.huang@intel.com, tim.c.chen@intel.com, zhiguo.zhou@intel.com, wangyang.guo@intel.com, tianyou.li@intel.com Subject: Re: [PATCH] mm/vmalloc: lock contention optimization under multi-threading Date: Tue, 20 Feb 2024 04:12:40 -0500 Message-ID: <20240220091240.3316840-1-rulin.huang@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Rezki, we have submitted patch v2 to avoid the partial initialization issue of vm's members and separated insert_vmap_area() from alloc_vmap_area() so that setup_vmalloc_vm() has no need to require lock protection. We have also verified the improvement of 6.3% at 160 vcpu on intel icelake platform with this patch. Thank you for your patience.