[RFC 0/2] extended kfifo API V0.2

2009-08-04 Thread Stefani Seibold
This is a the second proposal of an extended and cleaned up generic kernel FIFO implementation. Changes since V0.1: add kfifo_init() kfifo_put() and kfifo_get() restored to the original behavior (but without locking) introduce new kfifo_put_rec() and kfifo_put_rec() for FIFO record

[RFC 1/2] extended kfifo API V0.2

2009-08-04 Thread Stefani Seibold
/* * A generic kernel FIFO implementation. * * Copyright (C) 2009 Stefani Seibold/Munich/Germany stef...@seibold.net * Copyright (C) 2004 Stelian Pop stel...@popies.net * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public

[RFC 2/2] extended kfifo API V0.2

2009-08-04 Thread Stefani Seibold
/* * A generic kernel FIFO implementation. * * Copyright (C) 2009 Stefani Seibold/Munich/Germany stef...@seibold.net * Copyright (C) 2004 Stelian Pop stel...@popies.net * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public