[lkml]   [2019]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] mm: vmscan: memcg: Add global shrink priority
Hi Hui,

teawater writes:
>In the memory-constrained and complex multitasking environment such as an Android system may require more complex performance priority.
>For example, the tasks of app in the font, they need high priority because low priority will affect the user experience at once.
>The tasks of app in background should have lower priority than the first one. And sometime, each app should have different priority. Because some apps are frequently used. They should have high priority than other background apps.
>The daemons should have lower priority than background apps. Because most of them will not affect the user experience.

In general I don't think it's meaningful to speculate about whether it would
help or not without data and evidence gathering. It would really depend on how
the system is composed overall. Is this a real problem you're seeing, or just
something hypothetical?

If there is a real case to discuss, we can certainly discuss it. That said, at
the very least I think the API needs to be easier to reason about rather than
just exposing mm internals, and there needs to be a demonstration that it
solves a real problem and existing controls are insufficient :-)



 \ /
  Last update: 2019-12-29 15:03    [W:0.068 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site