Thread (1 message) 1 message, 1 author, 2013-08-05

Re: [patch 1/2] [PATCH] mm: Save soft-dirty bits on swapped pages

From: Cyrill Gorcunov <hidden>
Date: 2013-08-05 05:43:40
Also in: lkml

On Mon, Aug 05, 2013 at 10:58:35AM +0800, Wanpeng Li wrote:
quoted
pte_to_swp_entry is passed orig_pte by vaule, not a pointer
so although pte_to_swp_entry clear out _PTE_SWP_SOFT_DIRTY, it does it in local-copy.
So orig_pte is never changed.
Ouch! Thanks for pointing out. ;-)

Reviewed-by: Wanpeng Li <redacted>
Yeah, it's a bit tricky. Thanks.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help