From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEaP1-0007zH-Jn for qemu-devel@nongnu.org; Mon, 13 Jul 2015 05:52:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZEaOw-0001o4-Lm for qemu-devel@nongnu.org; Mon, 13 Jul 2015 05:51:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEaOw-0001ny-G9 for qemu-devel@nongnu.org; Mon, 13 Jul 2015 05:51:54 -0400 Date: Mon, 13 Jul 2015 15:21:44 +0530 From: Amit Shah Message-ID: <20150713095144.GF10280@grmbl.mre> References: <1436780050-25001-1-git-send-email-liang.z.li@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1436780050-25001-1-git-send-email-liang.z.li@intel.com> Subject: Re: [Qemu-devel] [PATCH] migration: reduce the count of strlen call List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Liang Li Cc: qemu-devel@nongnu.org, dgilbert@redhat.com, quintela@redhat.com On (Mon) 13 Jul 2015 [17:34:10], Liang Li wrote: > 'strlen' is called three times in 'save_page_header', it's > inefficient. > > Signed-off-by: Liang Li Reviewed-by: Amit Shah Amit