From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id D93B7D80254 for ; Tue, 26 Sep 2023 11:39:40 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=73q4uL880gMpz4W5kONIp1gKrMpsyODHS39YRZ01KI4=; c=relaxed/simple; d=groups.io; h=From:To:Subject:Date:Message-Id:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe; s=20140610; t=1695728379; v=1; b=rKbMMPfsRwF2m8HgTMNbTguYuQx/r7xh9FmSR6sCK14HQvXJJyEozPq4ypxixnOe1rEKKaWY iFi8W0NicoekWQefoI7r9WFxETt/BtJN2OK1Wpt6DUCmHAhJTJZflniOGGKOyn4LFtNTpgz863D SPZciI8Pm4bEKUtv8x2/75qI= X-Received: by 127.0.0.2 with SMTP id TikEYY7687511x6k3l916whA; Tue, 26 Sep 2023 04:39:39 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web11.16623.1695728378396479540 for ; Tue, 26 Sep 2023 04:39:38 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10843"; a="366603645" X-IronPort-AV: E=Sophos;i="6.03,177,1694761200"; d="scan'208";a="366603645" X-Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Sep 2023 04:39:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10843"; a="995802092" X-IronPort-AV: E=Sophos;i="6.03,177,1694761200"; d="scan'208";a="995802092" X-Received: from sh1gapp1009.ccr.corp.intel.com ([10.239.189.219]) by fmsmga006.fm.intel.com with ESMTP; 26 Sep 2023 04:39:36 -0700 From: "Wu, Jiaxin" To: devel@edk2.groups.io Subject: [edk2-devel] [PATCH v1 0/2] Optimize semaphore sync between BSP and AP Date: Tue, 26 Sep 2023 19:39:32 +0800 Message-Id: <20230926113934.8548-1-jiaxin.wu@intel.com> Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,jiaxin.wu@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: JvolfbiYuXaHVL1VuKWxXaxwx7686176AA= X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=rKbMMPfs; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none) The series patches are to optimize semaphore sync between BSP and AP: Patch 1: Define 3 functions (WaitForBsp & ReleaseBsp & ReleaseOneAp) specific for BSP & AP sync, which will make the flow easy to understand. Patch 2: Reduce one round BSP and AP sync for exit so as to improve SMM performance Jiaxin Wu (2): UefiCpuPkg/PiSmmCpuDxeSmm: Optimize semaphore sync between BSP and AP UefiCpuPkg/PiSmmCpuDxeSmm: Reduce the times of BSP and AP sync for exit UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c | 112 ++++++++++++++++++++++++---------- 1 file changed, 80 insertions(+), 32 deletions(-) -- 2.16.2.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109066): https://edk2.groups.io/g/devel/message/109066 Mute This Topic: https://groups.io/mt/101593527/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-