[PATCH 0/3] vmevent: Some fixes + a new event type
Anton Vorontsov
anton.vorontsov at linaro.org
Sun Apr 8 23:36:05 UTC 2012
Hi all,
This small patch set fixes a bug in the vmevent core, plus makes the
vmevent-test buildable w/o unneded SDL library.
Plus, we add a new 'cross' event type: the event will trigger whenever
a value crosses a user-specified threshold. It works two-way, i.e. when
a value crosses the threshold from a lesser values side to a greater
values side, and vice versa.
We use the event type in an userspace low-memory killer: we get a
notification when memory becomes low, so we start freeing memory by
killing unneeded processes, and we get notification when memory hits
the threshold from another side, so we know that we freed enough of
memory.
The patches are against
git://github.com/penberg/linux.git vmevent/core
Thanks!
--
Anton Vorontsov
Email: cbouatmailru at gmail.com
More information about the linaro-kernel
mailing list