Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1410712

Re: [PATCH v2 4/8] zram: use crypto api to check alg availability

From Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 4/8] zram: use crypto api to check alg availability
Date 2016-06-01 03:10 +0200
Message-ID <rF2Pv-1CU-3@gated-at.bofh.it> (permalink)
References <rEQY1-2DM-3@gated-at.bofh.it> <rEQY2-2DM-11@gated-at.bofh.it> <rF1Tr-12q-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello Minchan,

On (06/01/16 09:03), Minchan Kim wrote:
[..]
> So, if we do 'cat /sys/block/zram0/comp_algorithm", every crypto modules
> in the backend array are loaded in memory and not unloaded until admin
> executes rmmod? Right?

yes, I think so.

[..]
> If user load out-of-tree crypto compression module, what's status of
> comp_algorithm?
> 
> #> insmod foo_crypto.ko
> #> echo foo > /sys/block/zram0/comp_algorithm
> #> cat /sys/block/zram0/comp_algorithm
> lzo lz4 [foo]
> ?

yes, "lzo lz4 [out-of-tree-module-name]".

	-ss

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 4/8] zram: use crypto api to check alg availability Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-05-31 14:30 +0200
  Re: [PATCH v2 4/8] zram: use crypto api to check alg availability Minchan Kim <minchan@kernel.org> - 2016-06-01 02:10 +0200
    Re: [PATCH v2 4/8] zram: use crypto api to check alg availability Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-06-01 03:10 +0200
      Re: [PATCH v2 4/8] zram: use crypto api to check alg availability Minchan Kim <minchan@kernel.org> - 2016-06-01 04:30 +0200
        Re: [PATCH v2 4/8] zram: use crypto api to check alg availability Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-06-01 05:20 +0200
          Re: [PATCH v2 4/8] zram: use crypto api to check alg availability Minchan Kim <minchan@kernel.org> - 2016-06-01 08:50 +0200
            Re: [PATCH v2 4/8] zram: use crypto api to check alg availability Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-06-01 09:50 +0200
              Re: [PATCH v2 4/8] zram: use crypto api to check alg availability "Austin S. Hemmelgarn" <ahferroin7@gmail.com> - 2016-06-01 17:10 +0200
              Re: [PATCH v2 4/8] zram: use crypto api to check alg availability Minchan Kim <minchan@kernel.org> - 2016-06-02 04:50 +0200

csiph-web