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

Re: [Condor-users] Standard Universe restriction

On Mon, Mar 14, 2005 at 12:15:29PM -0500, Gabriel Mateescu wrote:
> Hello,
> Among the limitations specified at
>   www.cs.wisc.edu/condor/manual/v6.7/2_4Road_map_Running.html#1082
> for the standard universe, there is one related to mmap:
> 7. Memory mapped files are not allowed. This includes
>    system calls such as mmap() and munmap().
> However, recent versions of malloc() use mmap().
> What is the impact of malloc() using mmap() on
> running programs that use malloc() in the standard
> universe?

We special-case mmap() to allow for this - mmap() calls in the std
universe return failure, unless they're mapping anonymous memory 
(like malloc does), in which case we allocate memory for it, and don't
technically call mmap()