Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.75 KB

README.md

File metadata and controls

30 lines (20 loc) · 1.75 KB

kfifo

kfifo, a generic userspace FIFO implementation, port from Linux kernel

https://blog.csdn.net/liigo/article/details/100993236

20220224: added ringbuf_t (ring buffer), a simple copy of kfifo removing usage of typeof, which is not available in ANSI C and some ancient C compilers (I'm looking at you, CodeWarrior 5.1).


original source

The original source files come from Linux kernel tree (v5.3):

The latest git logs:

Age Commit message (Expand) Author Files Lines
2019-08-30 Partially revert "kfifo: fix kfifo_alloc() and kfifo_init()" Linus Torvalds 1 -1/+2
2019-05-24 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 Thomas Gleixner 1 -15/+1
2018-06-12 treewide: kmalloc() -> kmalloc_array() Kees Cook 1 -1/+1
2018-03-27 kfifo: fix inaccurate comment Martin Kelly 1 -1/+1
2014-08-08 kfifo: use BUG_ON Himangi Saraogi 1 -4/+2
2013-11-15 kfifo: kfifo_copy_{to,from}_user: fix copied bytes calculation Lars-Peter Clausen 1 -2/+2
2013-02-27 kfifo: fix kfifo_alloc() and kfifo_init() Stefani Seibold 1 -4/+2
2013-02-27 kfifo: move kfifo.c from kernel/ to lib/ Stefani Seibold 1 -0/+609