Re: [PATCH v3] ipc,shm: disable shmmax and shmall by default

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

 



On 04/18/2014 05:36 PM, Michael Kerrisk (man-pages) wrote:
On Fri, Apr 18, 2014 at 11:26 AM, Manfred Spraul
<manfred@xxxxxxxxxxxxxxxx> wrote:
Obviously my patch has the opposite problem: 64-bit wrap-arounds.
I know you alluded to a case in another thread, but I couldn't quite
work out from the mail you referred to whether this was really the
problem. (And I assume those folks were forced to fix their set-up
scripts anyway.) So, it's not clear to me whether this is a real
problem. (And your patch does not worsen things from the current
situation, right?)
a) When I wrote the comment it was just an idea.
But now I think wrap-around could be an issue, e.g. find_vma_intersection(,addr,addr+ULONG_MAX) always returns false, even if there are vmas inbetween.

b) If we make ULONG_MAX the default, then it should work.

--
    Manfred

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]