[PATCH] mm: fix a race condition under SMC + COW