Hi, Replacing memset(<addr>,0,PAGE_SIZE) with clear_page() in mm/memory.c.
Signed-off-by: Shani Moideen <[EMAIL PROTECTED]> ---- thanks. diff --git a/mm/memory.c b/mm/memory.c index e7066e7..2780d07 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -1505,7 +1505,7 @@ static inline void cow_user_page(struct page *dst, struct page *src, unsigned lo * zeroes. */ if (__copy_from_user_inatomic(kaddr, uaddr, PAGE_SIZE)) - memset(kaddr, 0, PAGE_SIZE); + clear_page(kaddr); kunmap_atomic(kaddr, KM_USER0); flush_dcache_page(dst); return; -- Shani - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/