Skip to content

kfifo fixes/improvements

Andi Kleen lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 46 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6kfifo: Use void * pointers for user buffersinclude/linux/kfifo.h kernel/kfifo.c+9 -91 reply
2/6kfifo: Make kfifo_in atomickernel/kfifo.c+4 -51 reply
3/6kfifo: Sanitize *_user error handlinginclude/linux/kfifo.h kernel/kfifo.c+53 -314 replies
4/6kfifo: add kfifo_out_peekinclude/linux/kfifo.h kernel/kfifo.c+24 -07 replies
5/6kfifo: Add kfifo_initializedinclude/linux/kfifo.h+10 -01 reply
6/6kfifo: Document everywhere that size has to be power of twoinclude/linux/kfifo.h kernel/kfifo.c+3 -34 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH] [0/6] kfifo fixes/improvements

While porting some of my code to kfifo I found some issues, which are addressed in the following patch series.

Some of the problems were serious, particularly the non atomic kfifo_in() problem. That's probably 2.6.33 material at least.

-Andi