lkml.org 
[lkml]   [2007]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: mm snapshot broken-out-2007-03-18-02-44.tar.gz uploaded
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-03-19 17:41    [W:0.051 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site