platform/core/system/resourced.git
10 years agoAdd Memory control (OOM handler) 07/12507/2
Taeyoung Kim [Mon, 18 Nov 2013 01:02:40 +0000 (10:02 +0900)]
Add Memory control (OOM handler)

- Memory cgroup is used to check OOM status and to kill processes to secure memory
  = Memory cgroup notices to resourced when remaining memory is on low pressure state
    and medium pressure state. When low pressure, resourced send signal to apps
    to use malloc-trim. And when medium pressure, resourced kills processes.
  = The victims sre decided by oom_score_adj value.
  = OOM killer is disabled
  = ex) For 1GB memory, the memory is on low pressure state when the remaining memory is under 200MB.
        And the memory is on medium pressure state when the remaining memory is under 160MB.

Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
Change-Id: I21d84a2c61680a43b032bad21e77816da85c4ad2

10 years agoInitial commit for Resourced 27/12427/3
Taeyoung Kim [Fri, 15 Nov 2013 04:56:28 +0000 (13:56 +0900)]
Initial commit for Resourced

Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
Change-Id: I9c06df974efabf248bc78e0292f33eb0cd193fc1

10 years agoInitial empty repository master submit/tizen/20190131.142734
Sehong Na [Thu, 22 Aug 2013 05:18:30 +0000 (22:18 -0700)]
Initial empty repository