Re: [PATCH 1/2] Introduce copy_user_handle_tail routine

From: Vitaly Mayatskikh
Date: Mon Jul 07 2008 - 08:13:12 EST


Vitaly Mayatskikh <v.mayatskih@xxxxxxxxx> writes:

>> one), by limiting the byte-for-byte one to be within a page, but that
>> would be a "future enhancement" thing.
>
> Btw, how much does it cost to CPU to do a fault? Can it be compared with
> average time of find_vma()?

Remark: this is for preventing fault in memset, not byte-to-byte copy.

--
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/