From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.100; helo=mga07.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D0EC4211E7449 for ; Thu, 21 Mar 2019 23:34:25 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Mar 2019 23:34:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,255,1549958400"; d="scan'208";a="136416098" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga007.fm.intel.com with ESMTP; 21 Mar 2019 23:34:24 -0700 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 21 Mar 2019 23:34:24 -0700 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 21 Mar 2019 23:34:23 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.74]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.223]) with mapi id 14.03.0415.000; Fri, 22 Mar 2019 14:34:21 +0800 From: "Gao, Liming" To: "Zhang, Shenglei" , "edk2-devel@lists.01.org" CC: "Kinney, Michael D" Thread-Topic: [edk2] [PATCH v2 0/3] Improve performance of boundary validation in MakeTable() Thread-Index: AQHU36/VEBZzoNxD/kuBqfEm7aSPgaYXMy1w Date: Fri, 22 Mar 2019 06:34:21 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E40907E@SHSMSX104.ccr.corp.intel.com> References: <20190321063149.13260-1-shenglei.zhang@intel.com> In-Reply-To: <20190321063149.13260-1-shenglei.zhang@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH v2 0/3] Improve performance of boundary validation in MakeTable() X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Mar 2019 06:34:26 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao >-----Original Message----- >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of >shenglei >Sent: Thursday, March 21, 2019 2:32 PM >To: edk2-devel@lists.01.org >Cc: Kinney, Michael D ; Gao, Liming > >Subject: [edk2] [PATCH v2 0/3] Improve performance of boundary validation >in MakeTable() > >The boundary validation checking in MakeTable() performs on >every loop iteration. This could be improved by checking >just once before the loop. >https://bugzilla.tianocore.org/show_bug.cgi?id=3D1329 > >v2:1.Change the the algorithm implementation of the judgement in all >patches. > 2.Remove previous 3/4 in v1. > >Cc: Bob Feng >Cc: Liming Gao >Cc: Yonghong Zhu >Cc: Michael D Kinney >Shenglei Zhang (3): > BaseTools/TianoCompress: Improve performance of boundary validation > BaseTools/C/Common: Improve performance of boundary validation > MdePkg/BaseUefiDecompressLib: Improve performance of boundary > validation > > BaseTools/Source/C/Common/Decompress.c | 7 ++++--- > BaseTools/Source/C/TianoCompress/TianoCompress.c | 7 ++++--- > .../Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c | 7 ++++--- > 3 files changed, 12 insertions(+), 9 deletions(-) > >-- >2.18.0.windows.1 > >_______________________________________________ >edk2-devel mailing list >edk2-devel@lists.01.org >https://lists.01.org/mailman/listinfo/edk2-devel