On 2014-02-19 03:49, Jan Stancek wrote:
> init_slice_boundary() was meant to find 2 neighbour slices,
> which are both free. It's not needed to have 2 completely
> free slices as the test needs only couple huge pages around
> slice boundary.
> 
> As part of search in 32bit version it tried to mmap at 0, which
> may trigger selinux avc:  denied  { mmap_zero }.
> 
> This patch simplifies search function, so that it tries mmap 2 huge 
> pages
> (from each side) around slice boundary. If successful this slice
> boundary is used for the rest of test.
> 
> Signed-off-by: Jan Stancek <jstan...@redhat.com>

Applied, thanks.
Eric

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to