Quantcast
Channel: linux syscall using spinlock returning value to userspace - Stack Overflow
Browsing all 2 articles
Browse latest View live

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 Article



linux 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
Browsing all 2 articles
Browse latest View live




Latest Images