linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Dan Streetman <ddstreet@ieee.org>
To: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Seth Jennings <sjennings@variantweb.net>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux-MM <linux-mm@kvack.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Subject: Re: [RFC][PATCH] mm: make zbud znd zpool to depend on zswap
Date: Tue, 15 Sep 2015 02:06:26 -0400	[thread overview]
Message-ID: <CALZtONCSpXOB+8AZ4eVKfK8DeH0UX=ZuAK4zn8=UpVabP8pdNg@mail.gmail.com> (raw)
In-Reply-To: <1441888128-10897-1-git-send-email-sergey.senozhatsky@gmail.com>

On Thu, Sep 10, 2015 at 8:28 AM, Sergey Senozhatsky
<sergey.senozhatsky@gmail.com> wrote:
> There are no zbud and zpool users besides zswap so enabling
> (and building) CONFIG_ZPOOL and CONFIG_ZBUD make sense only
> when CONFIG_ZSWAP is enabled. In other words, make those
> options to depend on CONFIG_ZSWAP.

Let's wait on this until the patches to add zpool support to zram go
one way or the other.  If they don't make it in, I'm fine with this,
and even moving the zpool.h header into mm/ instead of include/linux/

>
> Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
> ---
>  mm/Kconfig | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/mm/Kconfig b/mm/Kconfig
> index 3455a8d..eb48422 100644
> --- a/mm/Kconfig
> +++ b/mm/Kconfig
> @@ -563,6 +563,7 @@ config ZSWAP
>
>  config ZPOOL
>         tristate "Common API for compressed memory storage"
> +       depends on ZSWAP
>         default n
>         help
>           Compressed memory storage API.  This allows using either zbud or
> @@ -570,6 +571,7 @@ config ZPOOL
>
>  config ZBUD
>         tristate "Low density storage for compressed pages"
> +       depends on ZSWAP
>         default n
>         help
>           A special purpose allocator for storing compressed pages.
> --
> 2.5.1
>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2015-09-15  6:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-10 12:28 Sergey Senozhatsky
2015-09-15  6:06 ` Dan Streetman [this message]
2015-09-15  6:10   ` Sergey Senozhatsky

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='CALZtONCSpXOB+8AZ4eVKfK8DeH0UX=ZuAK4zn8=UpVabP8pdNg@mail.gmail.com' \
    --to=ddstreet@ieee.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=sergey.senozhatsky.work@gmail.com \
    --cc=sergey.senozhatsky@gmail.com \
    --cc=sjennings@variantweb.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox