[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 * Copyright (C) 2004 Stelian Pop * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free

[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 * Copyright (C) 2004 Stelian Pop * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free

[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 handling

Re: [RFC 0/2] new kfifo API

2009-08-04 Thread Stefani Seibold
Am Montag, den 03.08.2009, 20:23 +0200 schrieb Arnd Bergmann: > On Monday 03 August 2009, Stefani Seibold wrote: > > Am Montag, den 03.08.2009, 16:42 +0200 schrieb Arnd Bergmann: > > > My guess is that more importantly > > > > > > - few people so far needed

Re: [RFC 0/2] new kfifo API

2009-08-03 Thread Stefani Seibold
Am Montag, den 03.08.2009, 16:42 +0200 schrieb Arnd Bergmann: > On Monday 03 August 2009, Stefani Seibold wrote: > > This is a proposal of a new generic kernel FIFO implementation. > > > > The current kernel fifo API is not very widely used, because it has to many > >