All of lore.kernel.org
 help / color / mirror / Atom feed
From: Minchan Kim <minchan@kernel.org>
To: Rui Salvaterra <rsalvaterra@gmail.com>,
	Andrew Morton <akpm@linux-foundation.org>
Cc: ngupta@vflare.org, sergey.senozhatsky.work@gmail.com,
	linux-block@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v7] zram: break the strict dependency from lzo
Date: Tue, 8 Dec 2020 09:28:49 -0800	[thread overview]
Message-ID: <X8+30biXWgNRlKRM@google.com> (raw)
In-Reply-To: <X8+3X2piRUi/jIa/@google.com>

On Tue, Dec 08, 2020 at 09:26:55AM -0800, Minchan Kim wrote:
> On Mon, Dec 07, 2020 at 12:12:45PM +0000, Rui Salvaterra wrote:
> > From the beginning, the zram block device always enabled CRYPTO_LZO, since
> > lzo-rle is hardcoded as the fallback compression algorithm. As a consequence, on
> > systems where another compression algorithm is chosen (e.g. CRYPTO_ZSTD), the
> > lzo kernel module becomes unused, while still having to be built/loaded.
> > 
> > This patch removes the hardcoded lzo-rle dependency and allows the user to
> > select the default compression algorithm for zram at build time. The previous
> > behaviour is kept, as the default algorithm is still lzo-rle.
> > 
> > Suggested-by: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
> > Suggested-by: Minchan Kim <minchan@kernel.org>
> > Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
> Acked-by: Minchan Kim <minchan@kernel.org>

Ccing Andrew

      reply	other threads:[~2020-12-08 17:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-07 12:12 [PATCH v7] zram: break the strict dependency from lzo Rui Salvaterra
2020-12-08 17:26 ` Minchan Kim
2020-12-08 17:28   ` Minchan Kim [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=X8+30biXWgNRlKRM@google.com \
    --to=minchan@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ngupta@vflare.org \
    --cc=rsalvaterra@gmail.com \
    --cc=sergey.senozhatsky.work@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.