All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Paris <eparis@redhat.com>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: James Morris <jmorris@namei.org>,
	Russell Coker <russell@coker.com.au>,
	selinux@tycho.nsa.gov
Subject: Re: [PATCH] SELinux:  Reduce max avtab size to avoid page allocation failures
Date: Mon, 15 Mar 2010 15:23:23 -0400	[thread overview]
Message-ID: <1268681003.3768.15.camel@localhost> (raw)
In-Reply-To: <1268664131.15512.54.camel@moss-pluto.epoch.ncsc.mil>

On Mon, 2010-03-15 at 10:42 -0400, Stephen Smalley wrote:
> Reduce MAX_AVTAB_HASH_BITS so that the avtab allocation is an order 2
> allocation rather than an order 4 allocation on x86_64.  This
> addresses reports of page allocation failures:
> http://marc.info/?l=selinux&m=126757230625867&w=2
> https://bugzilla.redhat.com/show_bug.cgi?id=570433
> 
> Reported-by:  Russell Coker <russell@coker.com.au>
> Signed-off-by:  Stephen D. Smalley <sds@tycho.nsa.gov>

Acked-by: Eric Paris <eparis@redhat.com>

although if I get a coulpe of minutes I might look at using
lib/flex_array.c for this....

-Eric


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

  reply	other threads:[~2010-03-15 19:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-15 14:42 [PATCH] SELinux: Reduce max avtab size to avoid page allocation failures Stephen Smalley
2010-03-15 19:23 ` Eric Paris [this message]
2010-03-15 21:31 ` James Morris
2010-03-16 13:45   ` Stephen Smalley
2010-03-16 21:47     ` James Morris

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=1268681003.3768.15.camel@localhost \
    --to=eparis@redhat.com \
    --cc=jmorris@namei.org \
    --cc=russell@coker.com.au \
    --cc=sds@tycho.nsa.gov \
    --cc=selinux@tycho.nsa.gov \
    /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.