Re: pre12 VM doubts and patch
Andrea Arcangeli (andrea@suse.de)
Thu, 20 Sep 2001 08:38:42 +0200
On Wed, Sep 19, 2001 at 11:31:45PM -0700, Linus Torvalds wrote:
> So I would suggest:
>
> if (exclusive_swap_page(page)) {
> if (vma->vm_flags & VM_WRITE)
> pte = pte_mkwrite(pte);
> pte = pte_mkdirty(pte);
> delete_from_swap_cache_nolock(page);
> }
>
> or similar.
indeed, agreed.
Andrea
-
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/