Integer wrapping problem in kfifo.c in Linux kernel
I am studying the implementation of kfifo.c in Linux kernel version 2.6. I don’t quite understand how the queue in
and out
pointers wrap around to handle the remainder.
Integer wrapping problem in kfifo.c in Linux kernel
I am studying the implementation of kfifo.c in Linux kernel version 2.6. I don’t quite understand how the queue in
and out
pointers wrap around to handle the remainder.