summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/flist.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary #includesMaarten Bosmans2011-06-221-1/+0
|
* ratelimit: fix log levels of log suppression messagesLennart Poettering2011-01-311-1/+1
| | | | | | | | | When logging a suppression message do so on the same log level as the suppressed messages. Cherry picked by Colin Guthrie from ec5a7857127a1b3b9c5517c4a70a9b2c8aab35ca with a couple of additional changes due to extra limiting in master that was not present in stable-queue.
* core: Change sematics of pa_flist_new_with_name() (v1.1)Jyri Sarha2011-01-151-1/+3
| | | | | Name string is copied and added to flist structure. The original is responsibility of the caller. The name is only used for debug printing.
* core: Add name to flist struct for more informative log messagesJyri Sarha2010-11-281-2/+8
| | | | PA_STATIC_FLIST_DECLARE macro sets the flist name automatically.
* core: Lower "flist is full" log message level to debug and ratelimit itJyri Sarha2010-11-281-1/+2
|
* core: New LIFO style flist implementation v2.2Jyri Sarha2010-11-161-153/+64
| | | | | | | | | | | | The old free list implementation used objects in FIFO style. This is bad because it tries keep all the objects ever used alive and in memory. This minimizes the changes that an allocated object is already in cache. When there is shortage of physical memory this may also increase change that newly allocated object is swapped out. LIFO (e.g. stack) style free list should help these issues. Like the old one the new implementation is also lock free. This version (v2.1) of the patch has a potential weakness fixed. The previous version (2.0) did segfault when popping from empty flist, this does not.
* llvm-clang-analyzer: drop a few unnecessary assignments and other trivial fixesLennart Poettering2009-09-081-4/+18
|
* rework the flist implementation to halve memory consumption by merging the ↵Lennart Poettering2008-06-271-55/+40
| | | | state field and the pointer in the flist cells
* get rid of svn $ keywordsLennart Poettering2008-06-181-2/+0
|
* merge 'lennart' branch back into trunk.Lennart Poettering2007-10-281-28/+34
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1971 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add copyright notices to all relevant files. (based on svn log)Pierre Ossman2007-02-131-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1426 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Huge trailing whitespace cleanup. Let's keep the tree pure from here on,Pierre Ossman2007-01-041-11/+11
| | | | | | | mmmkay? git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1418 fefdeb5f-60dc-0310-8127-8f9354f1896f
* implement a simple lock-free free listLennart Poettering2006-09-091-0/+226
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1382 fefdeb5f-60dc-0310-8127-8f9354f1896f