From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752978AbcEZBIZ (ORCPT ); Wed, 25 May 2016 21:08:25 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:34083 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752950AbcEZBIX (ORCPT ); Wed, 25 May 2016 21:08:23 -0400 Date: Thu, 26 May 2016 10:08:12 +0900 From: Sergey Senozhatsky To: Minchan Kim Cc: Sergey Senozhatsky , Andrew Morton , Joonsoo Kim , linux-kernel@vger.kernel.org, Sergey Senozhatsky Subject: Re: [PATCH 0/7] zram: switch to crypto api Message-ID: <20160526010812.GC532@swordfish> References: <20160525143006.1207-1-sergey.senozhatsky@gmail.com> <20160526005232.GD9661@bbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160526005232.GD9661@bbox> User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (05/26/16 09:52), Minchan Kim wrote: > On Wed, May 25, 2016 at 11:29:59PM +0900, Sergey Senozhatsky wrote: > > Hello, > > > > This has started as a 'add zlib support' work, but after some > > thinking I saw no blockers for a bigger change -- a switch to > > crypto API. > > > > We don't have an idle zstreams list anymore and our write path > > now works absolutely differently, preventing preemption during > > compression. This removes possibilities of read paths preempting > > writes at wrong places and opens the door for a move from custom > > LZO/LZ4 compression backends implementation to a more generic one, > > using crypto compress API. > > > > This patch set also eliminates the need of a new context-less > > crypto API interface, which was quite hard to sell, so we can > > move along faster. > > Super fast Sergey. hahaha :) > At a first glance, patchset looks nice. > I will review as soon as possible. > > Thanks a lot! thanks! -ss