D17217: Implement free memory notifier

Oleg Solovyov noreply at phabricator.kde.org
Wed Dec 5 10:24:09 GMT 2018


McPain added a comment.


  In D17217#367842 <https://phabricator.kde.org/D17217#367842>, @davidedmundson wrote:
  
  > There's also an alternative that I'd like to suggest:
  >  According to https://www.kernel.org/doc/Documentation/cgroup-v1/memory.txt there's a system called "memory pressure" you can watch for events on a specific FD with various levels of out-of-memory-ness. A lot cheaper than polling, far more reliable, and following the system's OOM configuration. Getting that in at a frameworks level so it can be hooked up to notifications in this case, but also garbage collections in UI code could be pretty cool.
  
  
  Thanks. Any examples in KDE? I can't implement this from scratch right now.

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D17217

To: McPain, broulik, #vdg, ngraham
Cc: davidedmundson, graesslin, abetts, ngraham, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20181205/89e6bce4/attachment.html>


More information about the Plasma-devel mailing list