From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([209.132.183.28]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YjFfM-0007Lp-Dn for kexec@lists.infradead.org; Fri, 17 Apr 2015 23:27:21 +0000 Message-ID: <553196BF.4080703@redhat.com> Date: Sat, 18 Apr 2015 04:56:55 +0530 From: Pratyush Anand MIME-Version: 1.0 Subject: Re: [PATCH RFC 2/6] purgatory: No need to sha256 update if ptr->len is zero References: <1429289920.5479.8.camel@infradead.org> In-Reply-To: <1429289920.5479.8.camel@infradead.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Geoff Levand Cc: kexec@lists.infradead.org, kexec@lists.fedoraproject.org On Friday 17 April 2015 10:28 PM, Geoff Levand wrote: > On Thu, 2015-04-16 at 22:17 +0530, Pratyush Anand wrote: >> If ptr->len is zero we do not need to update sha256. > > Looks OK. Did you find this sped things up? No.. I am working for that.. Speed is good when sha256 is prepared in update_purgatory..just a sec.. while it is 2 min during verification.. one diff is that purgatory is using byte copy in memcpy while kexec had generic memcpy which has byte/word/page copy features. But, Most likely speed is low because dcache is disabled. So I am working to enable d-cache and identity mapped mmu table for crashdump regions in purgatory. ~Pratyush > > Acked-by: Geoff Levand > > > _______________________________________________ > kexec mailing list > kexec@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/kexec > _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec