mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jan Beulich" <JBeulich@suse.com>
To: "Marek Marczykowski" <marmarek@invisiblethingslab.com>
Cc: "Kai-Heng Feng" <kai.heng.feng@canonical.com>,
	"Thymo van Beers" <thymovanbeers@gmail.com>,
	"Bjorn Helgaas" <bhelgaas@google.com>,
	"David Rientjes" <rientjes@google.com>,
	"Frederic Weisbecker" <frederic@kernel.org>,
	"Ingo Molnar" <mingo@kernel.org>, <tglx@linutronix.de>,
	<gregkh@linuxfoundation.org>,
	"xen-devel" <xen-devel@lists.xenproject.org>,
	"Jonathan Corbet" <corbet@lwn.net>,
	"Boris Ostrovsky" <boris.ostrovsky@oracle.com>,
	"Konrad Rzeszutek Wilk" <konrad.wilk@oracle.com>,
	"Juergen Gross" <jgross@suse.com>,
	"Jiri Kosina" <jkosina@suse.cz>, <linux-doc@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [Xen-devel] [PATCH v2] xen/balloon: add runtime control for scrubbing ballooned out pages
Date: Fri, 07 Sep 2018 09:58:21 -0600	[thread overview]
Message-ID: <5B92A01D02000078001E67CE@prv1-mh.provo.novell.com> (raw)
In-Reply-To: <20180907153117.17258-1-marmarek@invisiblethingslab.com>

>>> On 07.09.18 at 17:31, <marmarek@invisiblethingslab.com> wrote:
> --- a/drivers/xen/mem-reservation.c
> +++ b/drivers/xen/mem-reservation.c
> @@ -14,6 +14,14 @@
>  
>  #include <xen/interface/memory.h>
>  #include <xen/mem-reservation.h>
> +#include <linux/moduleparam.h>
> +
> +#ifdef CONFIG_XEN_SCRUB_PAGES_DEFAULT
> +bool __read_mostly xen_scrub_pages = true;
> +#else
> +bool __read_mostly xen_scrub_pages = false;
> +#endif

Use IS_ENABLED() here instead of the #ifdef?

Jan



  reply	other threads:[~2018-09-07 15:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-07 15:31 Marek Marczykowski-Górecki
2018-09-07 15:58 ` Jan Beulich [this message]
2018-09-07 16:49   ` [PATCH v3] " Marek Marczykowski-Górecki
2018-09-10 11:31     ` Juergen Gross
2018-09-11 19:37     ` Boris Ostrovsky

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=5B92A01D02000078001E67CE@prv1-mh.provo.novell.com \
    --to=jbeulich@suse.com \
    --cc=bhelgaas@google.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=corbet@lwn.net \
    --cc=frederic@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jgross@suse.com \
    --cc=jkosina@suse.cz \
    --cc=kai.heng.feng@canonical.com \
    --cc=konrad.wilk@oracle.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marmarek@invisiblethingslab.com \
    --cc=mingo@kernel.org \
    --cc=rientjes@google.com \
    --cc=tglx@linutronix.de \
    --cc=thymovanbeers@gmail.com \
    --cc=xen-devel@lists.xenproject.org \
    /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

all inboxes | Powered by JetHome®