login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
20
Re: [PATCH 0/4] enhanced reimplemention of the kfifo API
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Greg KH
Subject:
Re: [PATCH 0/4] enhanced reimplemention of the kfifo API
Date: Tuesday, April 20, 2010 - 1:16 pm
On Tue, Apr 20, 2010 at 10:06:36PM +0200,
stefani@seibold.net
wrote:
quoted text
> From: Stefani Seibold <stefani@seibold.net> > > This is a complete reimplementation of the new kfifo API, which is now > really generic, type save and type definable. > > The API is still stable, no code which use the current kfifo API must > be modified! > > Here are the results of the text section usage: > > Example 1: > kfifo_put/_get kfifo_in/out current kfifo > dynamic allocated 0x000002a8 0x00000291 0x00000299 > in place 0x00000291 0x0000026e 0x00000273 > > kfifo.c new old > text section size 0x00000be5 0x000008b2 > > As you can see, kfifo_put/kfifo_get creates a little bit more code than > kfifo_in/kfifo_out, but it is much faster (the code is inline). > > The code is complete hand crafted and optimized. The text section size is as > small as possible. You get all the fifo handling in only 3 kb. This includes > type safe fix size records, dynamic records and DMA handling. > > This should be the final version. All requested features are implemented. > > Note: Most features of this API doesn't have any users. All functions which > are not used in the next 9 months will be removed. So, please adapt your > drivers and other sources as soon as possible to the new API and post it. > > This are the features which are currently not used in the kernel: > > kfifo_to_user() > kfifo_from_user() > kfifo_dma_....() macros > kfifo_esize() > kfifo_recsize() > kfifo_put() > kfifo_get() > the fixed size record elements, exclude "unsigned char" fifo's and > the variable size records fifo's
If you have features that have no users, why add them? Do you think that some drivers need/want these features? thanks, greg k-h --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/4] enhanced reimplemention of the kfifo API
, stefani
, (Tue Apr 20, 1:06 pm)
[PATCH 1/4] fix kfifo miss use of nozami.c
, stefani
, (Tue Apr 20, 1:06 pm)
[PATCH 2/4] add the new generic kfifo API
, stefani
, (Tue Apr 20, 1:06 pm)
[PATCH 4/4] add example files to the kernel sample directory
, stefani
, (Tue Apr 20, 1:06 pm)
Re: [PATCH 0/4] enhanced reimplemention of the kfifo API
, Greg KH
, (Tue Apr 20, 1:16 pm)
Re: [PATCH 0/4] enhanced reimplemention of the kfifo API
, Stefani Seibold
, (Tue Apr 20, 1:35 pm)
Re: [PATCH 0/4] enhanced reimplemention of the kfifo API
, Ira W. Snyder
, (Tue Apr 20, 1:42 pm)
Re: [PATCH 0/4] enhanced reimplemention of the kfifo API
, Greg KH
, (Tue Apr 20, 3:13 pm)
Re: [PATCH 0/4] enhanced reimplemention of the kfifo API
, Greg KH
, (Tue Apr 20, 3:14 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Francis Moreau
Re: Disk geometry from /sys
Rafael J. Wysocki
[Bug #11407] suspend: unable to handle kernel paging request
Christoph Lameter
Re: [bug] SLUB + mm/slab.c boot crash in -rc9
Jeremy Fitzhardinge
Re: [2.6.25] compat VDSO option not disabling
Rafael J. Wysocki
[Bug #11551] Semi-repeatable hard lockup on 2.6.27-rc6
netbsd-tech-kern
:
Manuel Bouyer
Re: freebsd 5.99.41 as XEN3_DOMU
Thomas E. Spanjaard
Re: Bad side effect of "newdirpref"
matthew green
re: Refactoring MI devices in GENERIC and friends
Allen Briggs
caddr_t removal Q
Matthias Buelow
Re: funlink() for fun!
git
:
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Tait
Re: [PATCH] Replace hard-coded path with one from <paths.h>
Frans Pop
'git gc --aggressive' effectively unusable
Stephan Beyer
Re: git sequencer prototype
Lynn Lin
Re: clearcase migration to git
openbsd-misc
:
Robert
disklabel - cylinder rounding
nixlists
Re: Which laptops do the developers use?
admin
Drive a 2009 car from R799p/m
L. V. Lammert
OT, .. but has anyone seen a crontab editor
Darrin Chandler
Re: That whole "Linux stealing our code" thing
linux-activists
:
Tushar D Chandra
ARCNET info wanted ...
Honoo Suzuki n-2423
Q:Disk doubler for linux?
H.J. Lu
Re: Problems w/ SLS and Ultrastor
Thomas Dunbar
Re: olvwm
Daniel Brahneborg
Re: Linux Screen Capture
Colocation donated by:
Syndicate