Re: mm snapshot broken-out-2007-03-18-02-44.tar.gz uploaded

Pekka J Enberg
2007-03-19T16:39:16Z

On Mon, 19 Mar 2007, Michal Piotrowski wrote:
> > Yes, revoke-special-mmap-handling.patch is bad.
>
> + if (unlikely(vma->vm_flags & VM_REVOKED))
> + return -ENODEV;
>
> Why -ENODEV?

That's what we want when trying to remap a revoked mapping (the vma is
there, but you need to unmap it before reusing the region).

Pekka