All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir.fraser@eu.citrix.com>
To: Jan Beulich <JBeulich@novell.com>, Dave McCracken <dcm@mccr.org>
Cc: Xen Developers List <xen-devel@lists.xensource.com>
Subject: Re: Baffled by multipage_allocation_permitted()
Date: Tue, 16 Jun 2009 10:41:46 +0100	[thread overview]
Message-ID: <C65D276A.7EE3%keir.fraser@eu.citrix.com> (raw)
In-Reply-To: <4A377FD20200007800005E3E@vpn.id2.novell.com>

On 16/06/2009 10:19, "Jan Beulich" <JBeulich@novell.com> wrote:

>> We can just get rid of it I think. There are arguably worse other things we
>> already allow, like any guest can allocate low memory by specifying a small
>> value of XENMEMF_address_bits().
> 
> Wouldn't it be better to tighten things rather than relaxing them?

It'll need policy to be expressed and pushed down from the toolstack
somehow. Noone's really thought about it too much. In this case I think I
will keep the checking macro actually, and simply disallow allocations
greater than order-9 (2MB superpage) unless the domain has direct hardware
access capability.

 -- Keir

  reply	other threads:[~2009-06-16  9:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-15 21:44 Baffled by multipage_allocation_permitted() Dave McCracken
2009-06-15 21:57 ` Keir Fraser
2009-06-16  9:19   ` Jan Beulich
2009-06-16  9:41     ` Keir Fraser [this message]
2009-06-16 13:10       ` Dave McCracken
2009-06-16 13:21         ` Keir Fraser
2009-06-16 13:23         ` Jan Beulich

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=C65D276A.7EE3%keir.fraser@eu.citrix.com \
    --to=keir.fraser@eu.citrix.com \
    --cc=JBeulich@novell.com \
    --cc=dcm@mccr.org \
    --cc=xen-devel@lists.xensource.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.