{"push_id":2138194464,"size":3,"distinct_size":0,"ref":"refs/heads/openj9","head":"a36d65e786750b0354c7f7abe538e896a7b9f373","before":"8729c25e34dc81609d960f32d61d45f1f137ffff","commits":[{"sha":"b36ee188daf103a3d01cd4da18bea1f0bffc69f6","author":{"name":"Ashutosh Mehra","email":"8e17fc7fbdf9c161cfc0aea10b53385338bec753@in.ibm.com"},"message":"Provide APIs for enabling cgroup subsystems\n\nInstead of providing APIs that enable cgroup limits for all\nsubsystems, a new set of APIs is added which allows to query\nwhich subsystems are available and enable subsystems individually.\nThis would allow runtimes to enable cgroup subsystems based on their\nrequirements.\nNote that there is another subtle change in the design of the\nport library APIs related to cgroup system.\nEnabling a cgroup subsystem in portlibrary (by calling\nomrsysinfo_cgroup_enable_subsystems) would make the port library APIs\nto use cgroup limits internally.\nAny port library API that directly returns cgroup limits,\neg omrsysinfo_cgroup_get_memlimit(), does not check whether the\ncorresponding subsystem (eg memory) is enabled or not.\nTherefore, when using omrsysinfo_cgroup_* APIs,\nthe caller doesn't need to explicitly enable the corresponding\nsubsystem in the port library.\n\nConsider the case of omrsysinfo_get_physical_memory() which returns\nphysical memory of the system.\nIf the system is running in a cgroup, and the cgroup's \"memory\"\nsubsystem is enabled, then omrsysinfo_get_physical_memory()\nwould internally call omrsysinfo_cgroup_get_memlimit(), and\nreturn memory limit imposed by the cgroup.\nHowever, if the user wants to just get the memory limit imposed by the\ncgroup, it can directly call omrsysinfo_cgroup_get_memlimit(),\nwithout enabling the \"memory\" subsystem.\n\nIssue: #1281\nSigned-off-by: Ashutosh Mehra <asmehra1@in.ibm.com>","distinct":false,"url":"https://api.github.com/repos/eclipse/openj9-omr/commits/b36ee188daf103a3d01cd4da18bea1f0bffc69f6"},{"sha":"d94ef6f5164a1dc1145e45d8b5c7a5d4ee9b392c","author":{"name":"Ashutosh Mehra","email":"8e17fc7fbdf9c161cfc0aea10b53385338bec753@in.ibm.com"},"message":"Refactor addCgroupEntry, readCgroupFile and fix couple of issues\n\nList of changes done:\n1. Updated addCgroupEntry() to avoid using PPG_cgroupSubsystemsAvailable\n- Updated readCgroupFile() to compute available subsystems\n- Add check for PPG_cgroupEntryList before calling readCgroupFile()\n- Added comment to explain reason for using global variable\nattachedPortLibraries\n- Macros of type J9_ARE_*_BITS_SET have been replaced by\nOMR_ARE_*_BITS_SET\n- Moved declaration of variable 'rc' such that it is declared only\nfor LINUX platform.\n\nSigned-off-by: Ashutosh Mehra <asmehra1@in.ibm.com>","distinct":false,"url":"https://api.github.com/repos/eclipse/openj9-omr/commits/d94ef6f5164a1dc1145e45d8b5c7a5d4ee9b392c"},{"sha":"a36d65e786750b0354c7f7abe538e896a7b9f373","author":{"name":"Charlie Gracie","email":"0e02fed2408d1fa282d2fba36068cde7cf71e330@gmail.com"},"message":"Merge pull request #1424 from ashu-mehra/cgroup_resource_system\n\nProvide APIs for enabling cgroup subsystems","distinct":false,"url":"https://api.github.com/repos/eclipse/openj9-omr/commits/a36d65e786750b0354c7f7abe538e896a7b9f373"}]}
{"actor":{"display_login":"genie-openj9"}}