From: Pekka Enberg <[EMAIL PROTECTED]>
As pointed out by Nick Piggin, modifying vma->vm_flags without
->mmap_sem can corrupt the flags. This changes revoke_mapping() to use
down_write_trylock() to acquire ->mmap_sem and then rescan vmas of the
parent mm.
Also make sure we restart scanning in re
From: Pekka Enberg <[EMAIL PROTECTED]>
On 3/16/07, Andrew Morton <[EMAIL PROTECTED]> wrote:
> This all looks very strange. If the calling process expires its timeslice,
> the entire system call fails?
This changes revoke_mapping() to restart after cond_resched() to fix an
obvious goof made by me
2 matches
Mail list logo