Skip to content
Browse files

Fix support of cgroup

:Release Notes:
Change path to cgroup CPU subsytem to /sys/fs/cgroup/cpuset

:Detailed Notes:

:Testing Performed:
Compiled and tested locally.

:QA Notes:
This commit must be commited after https://gpro.palm.com/#/c/20177/

:Issues Addressed:
[GF-45111] ActivityManager doesn't work without cgroups

Open-webOS-DCO-1.0-Signed-off-by: Maksym Sditanov <maxim.sditanov@lge.com>

Change-Id: I5924072f719a82078207bde2ff66e17aaf9a5328
Reviewed-on: https://g2g.palm.com/3994
Reviewed-by: DCO Verification
Tested-by: Maksym Sditanov <maxim.sditanov@lge.com>
Reviewed-by: Igor Kuksyuk <igor.kuksiuk@lge.com>
Reviewed-by: Maksym Sditanov <maxim.sditanov@lge.com>
  • Loading branch information...
1 parent 1aa50bf commit 3aa89f31c7fc4b212b131d0ac053456b7849580d Maksym Sditanov committed Nov 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ServiceApp.cpp
View
2 src/ServiceApp.cpp
@@ -171,7 +171,7 @@ MojErr ActivityManagerApp::open()
m_resourceManager = boost::make_shared<MasterResourceManager>();
#ifndef WEBOS_TARGET_MACHINE_IMPL_SIMULATOR
m_controlGroupManager = boost::make_shared<ControlGroupManager>(
- "/dev/cgroups", m_resourceManager);
+ "/sys/fs/cgroup/cpuset", m_resourceManager);
m_resourceManager->SetManager("cpu", m_controlGroupManager);
m_busProxy = boost::make_shared<LunaBusProxy>(m_controlGroupManager,
&m_client);

0 comments on commit 3aa89f3

Please sign in to comment.
Something went wrong with that request. Please try again.