[PATCH] msync: check pte dirty earlier