Hi,
Reading arch/x86/kernel/cpuid.c I saw that lock_kernel() is used
to protect offset variable. I think is better to use a lock in
struct file to do that and all operations that touch some
"struct file" take a local lock.
I think that the use of BLK could be reduced using a lock in
struct file.
My question is, Is that posiblle or I'm missing something?
regards,
diegows
--
--------------
Diego Woitasen
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ