suspend-on-idle: Trigger mempool vacuuming
authorJyri Sarha <jyri.sarha@nokia.com>
Fri, 8 Apr 2011 14:18:13 +0000 (17:18 +0300)
committerColin Guthrie <colin@mageia.org>
Sun, 15 May 2011 13:59:35 +0000 (14:59 +0100)
commitff79b3147cd9ecee353b0948e28b180088a49382
tree3b8c0c56e25bda2295b99ce0573b873759650192
parent47b7ca830e132ee585f9df6efb4aef82f2713d09
suspend-on-idle: Trigger mempool vacuuming

In a setup with one or more filter sinks or sources there is always at
least one stream existing. In such a situation normal mempool
vacuuming never happens. This patch causes suspend-on-idle module to
vacuum memory when ever it notices that all sinks and sources are
suspended. The behavior can be enabled with a module parameter.
src/modules/module-suspend-on-idle.c