DragonFly submit List (threaded) for 2007-01
DragonFly BSD
DragonFly submit List (threaded) for 2007-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: patch to randomize mmap offsets


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 15 Jan 2007 18:56:29 -0800 (PST)

:well, that's quite different.  randomizing mmap offsets gives a real random distribution over the whole userland address space.  allocating more and then offsetting within this allocation still gives a deterministic order of allocated memory locations, just the padding between those varies.
:
:cheers
:  simon

    Randomizing mmap offsets that much will fragment user virtual memory
    and cause the program to run out of space if it uses mmap() heavily.
    I really dislike the concept.

						-Matt



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