linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] vmevent: Some fixes + a new event type
@ 2012-04-08 23:36 Anton Vorontsov
  2012-04-08 23:38 ` [PATCH 1/3] vmevent: Should not grab mutex in the atomic context Anton Vorontsov
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Anton Vorontsov @ 2012-04-08 23:36 UTC (permalink / raw)
  To: Pekka Enberg
  Cc: Leonid Moiseichuk, John Stultz, linux-mm, linux-kernel,
	linaro-kernel

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@gmail.com

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-04-09 12:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-08 23:36 [PATCH 0/3] vmevent: Some fixes + a new event type Anton Vorontsov
2012-04-08 23:38 ` [PATCH 1/3] vmevent: Should not grab mutex in the atomic context Anton Vorontsov
2012-04-09  8:40   ` Pekka Enberg
2012-04-09 12:29     ` Anton Vorontsov
2012-04-09 12:37       ` Pekka Enberg
2012-04-08 23:38 ` [PATCH 2/3] vmevent-test: No need for SDL library Anton Vorontsov
2012-04-09  8:20   ` Pekka Enberg
2012-04-08 23:38 ` [PATCH 3/3] vmevent: Implement cross event type Anton Vorontsov
2012-04-09  8:30   ` Pekka Enberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).