Re: [PATCH] SELinux: Reduce max avtab size to avoid page allocation failures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>
> Signed-off-by:  Stephen D. Smalley <sds@xxxxxxxxxxxxx>

Acked-by: Eric Paris <eparis@xxxxxxxxxx>

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@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux