Hi Aneesh...
Hi,
Is __copy_from_user_inatomic and __copy_to_user_inatomic really atomic
?.
Looking from the name and the code, I think the operation is clearly non
atomic, especially if it copies larger than data bus (am I right?) size
e.g 32 bit for 32 bit CPU.
What is the implication of zeroing the tail ?
I don't get it, which tail were you referring to?
How does it results
in sleep.
Well, since nothing prevent swapping out user pages in between
user-kernel context switch, I think it could lead to a sleep.
regards,
Mulyadi
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ