Dmitrijs Ledkovs has proposed merging lp:~xnox/upstart/fix-1235649 into lp:upstart.
Requested reviews: Upstart Reviewers (upstart-reviewers) Related bugs: Bug #1235649 in upstart (Ubuntu): "uevent spam causes session upstart to consume massive amounts of memory on Ubuntu Touch" https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1235649 For more details, see: https://code.launchpad.net/~xnox/upstart/fix-1235649/+merge/189860 workaround #1 blacklist SPAM event in upstart-udev-bridge, thus not emitting system event nor re-emitting it to session-init. this still leaves systemd-udev to consume 5% CPU constantly when the screen is on. Will work on a systemd-udev patch. -- https://code.launchpad.net/~xnox/upstart/fix-1235649/+merge/189860 Your team Upstart Reviewers is requested to review the proposed merge of lp:~xnox/upstart/fix-1235649 into lp:upstart.
=== modified file 'extra/upstart-udev-bridge.c' --- extra/upstart-udev-bridge.c 2011-12-15 16:14:06 +0000 +++ extra/upstart-udev-bridge.c 2013-10-08 14:14:17 +0000 @@ -228,6 +228,14 @@ if (! action) goto out; + /* Ignore spam http://pad.lv/1235649 */ + if ( + (action) && (kernel) && (subsystem) && + (strcmp(action, "change") == 0) && + (strcmp(kernel, "omapfb") == 0) && + (strcmp(subsystem, "platform") == 0)) + goto out; + if (! strcmp (action, "add")) { name = NIH_MUST (nih_sprintf (NULL, "%s-device-added", subsystem));
-- upstart-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel
