add initial support for dbus. add module that observes the local running xservers and tries to find out which windows have focus and adding the pids to the actives list. fixed bug in macro that wrongly set the changed flags rendering the optimization useless. dropping cpu usage massivly. next target is the proc parser. currently using 80% of a full run run time. added scheduling rule for active window small bugfixes
implemented a new process cache, so new processes are only scheduled after n milliseconds. this reduces the load on ulatencyd on high exec rates, but there seems to be problems that parents die quicker then they should causing parents to be missing. so better not enable this until you wanna debug it ;-) implement memory containers for large sessions. now the memory pressure detection will not only isolate the largest single processes, but also the largest sessions. this protects agains very large process trees. fix a bug typo from cleanup causing fiters not to be run without precheck method. lots of bugfixes, removed verbose output,...
add api to add flags to the hole system rather then processes. this allows rules to set system stats like memory pressure that can be received everywhere. the api is like the normal flags api, but proc is NULL. there are calls to ulatency.add_flag, etc from lua. added api for mass pids update. rebuild the proc->node after all processes, so new updates don't fail if the parent pid is added after the child.
implement timeout of flags add lua api to calculate timeout flags add protector rule for detecting memory pressure it detects memory pressure when caches and free ram drops below a configureable percent of ram it selects the target of isolation based on the rss size and caps their limit of allowed physical ram with of the size of the detection reduced with some percent. swapping itself is not the only problem. if the filesystem caches drop to low, the system becomes irresponsible because every read to every file requires io traffic. it sucessfull protects agains the memleak test program and compiling pypy works great.