Re: [PATCH 1/2] Introduce copy_user_handle_tail routine

From: Vitaly Mayatskikh
Date: Mon Jul 07 2008 - 13:06:20 EST


Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> writes:

> See? We don't actually care about vma boundaries or anything like that. We
> just care about the only boundary that matters for faults: the page
> boundary.

I was thinking about find_vma() for memset, but, yes, it should never
fail in kernel space (unless bug) and find_vma() is unnecessary.
--
wbr, Vitaly
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/