Answer by Tsyvarev for linux syscall using spinlock returning value to userspace
It is prohibited to return from syscall with spinlock holded. And, as usual with C code, none instruction is executed after return statement.Common practice is to save value obtained under lock into...
View Articlelinux syscall using spinlock returning value to userspace
I'm, currently struggling with the correct implementation of a kernel-spinlock in combination with a return statement which should return a value to userspace. I implemented a kernel syscall...
View Article
More Pages to Explore .....