From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758240Ab3BWAjB (ORCPT ); Fri, 22 Feb 2013 19:39:01 -0500 Received: from beauty.rexursive.com ([150.101.121.179]:41010 "EHLO beauty.rexursive.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757139Ab3BWAjA (ORCPT ); Fri, 22 Feb 2013 19:39:00 -0500 X-Greylist: delayed 404 seconds by postgrey-1.27 at vger.kernel.org; Fri, 22 Feb 2013 19:39:00 EST User-Agent: K-9 Mail for Android In-Reply-To: <51272257.7050907@oberhumer.com> References: <51272257.7050907@oberhumer.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] PM: align buffers for LZO compression From: Bojan Smojver Date: Sat, 23 Feb 2013 11:32:08 +1100 To: "Markus F.X.J. Oberhumer" , Pavel Machek , "Rafael J. Wysocki" CC: LKML Message-ID: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org "Markus F.X.J. Oberhumer" wrote: >for performance reasons I'd strongly suggest that you explicitly align >all >buffers passed to the LZO compress and decompress functions. > >Below is a small (and completely untested!) patch, but I think you >get the idea. Do you know what kind of performance gains should be expected from this? -- Bojan