Prev: Your Mail Box Quota Has Exceeded The Set Limit
Next: rmap: fix page_address_in_vma() to walk through anon_vma_chain
From: Christoph Lameter on 22 Apr 2010 11:20
On Thu, 22 Apr 2010, Minchan Kim wrote:
> For further optimization, we can hold vma->adjust_lock if vma_address
> returns -EFAULT. But I hope we redesigns it without new locking.
> But I don't have good idea, now. :(
You could make it atomic through the use of RCU.
Create a new vma entry with the changed parameters and then atomically
switch to the new vma.
Problem is that you have some list_heads in there.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/