summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Unsung Lee [Thu, 3 Aug 2023 09:26:29 +0000 (18:26 +0900)]
resourced-memory-lmk: Change policy to put focused app in the last
Change policy of get_kill_candidates_post_with_foreground function to put
focused app in the last of candidates list. This is because focused app
is the most important foreground app.
Change-Id: I43f55553a213215c059d1f56dd044b43efa4f790
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
Unsung Lee [Tue, 1 Aug 2023 12:14:44 +0000 (21:14 +0900)]
resourced-memory-lmk: Reorder foreground app
Reorder foreground app in psot_with_foreground. This is because some apps
should be excluded from the victim candidates.
Resourced currently puts these apps in the last of candidates list.
Change-Id: I95b38dd7a9a71f4da04e1d90ad1e3f336ec2d7a4
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
Unsung Lee [Fri, 30 Jun 2023 06:16:14 +0000 (15:16 +0900)]
resourced-memory-lmk: Add a skeleton of get_kill_candidates_post funcs
Add a skeleton of three get_kill_candidates_post funcs
(get_kill_candidates_post, get_kill_candidates_post_with_wss, and
get_kill_candidates_post_with_foreground) in resourced-memory-lmk
resourced supports three type of get_kill_candidates_post ops newly
- int get_kill_candidates_post(GArray *candidates)
to consider user custom governor policy
- int get_kill_candidates_post_with_wss(GArray *candidates)
to consider working set size of app
- int get_kill_candidates_post_with_foreground(GArray *candidates,
enum oom_level oom_level)
to consider window information of app
Change-Id: I9f774c6ff075f48319925c40c772c969ce838d03
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
Yunhee Seo [Thu, 27 Jul 2023 08:41:36 +0000 (17:41 +0900)]
resourced-memory-lmk: Change plugin abi version 7.5 -> 8.0
As tizen 7.5 is replaced with 8.0, abi version is changed to 8.0.
Change-Id: Ia181f87587d3f3b2ee31f4411bebcc2469678bf0
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
SangYoun Kwak [Thu, 8 Jun 2023 05:16:27 +0000 (14:16 +0900)]
Add 'backend' to package and .so name
It is required to add 'backend' keyword to this plugin backend package
and .so name to distinguish this backend package since there are other
packages whose start with 'system-plugin'.
Change-Id: I91e8c531fd07391ea4d8b0207d2bfce2dc772967
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
SangYoun Kwak [Wed, 26 Apr 2023 04:53:23 +0000 (13:53 +0900)]
Modify names from 'plugin' to 'system plugin'
Since the package name of this repository changed from plugin to system
plugin, every 'plugin' names should be modified to 'system plugin'.
* plugin_... -> system_plugin
* plugin-... -> system-plugin
* PLUGIN_... -> SYSTEM_PLUGIN_...
Includes of plugin-api and their path also changed:
* plugin/plugin-....h -> system/syscommon-plugin-....h
Change-Id: I79b434a8f5ead9fd3232b440f568755e298a0665
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
SangYoun Kwak [Fri, 14 Apr 2023 01:53:10 +0000 (10:53 +0900)]
resourced-memory-lmk: Modify package name in the comment
Since the package name was changed from plugin-backend-resourced-rpi to
system-plugin-resourced-generic, the package name in the copyright
comment modified.
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
SangYoun Kwak [Thu, 13 Apr 2023 01:25:35 +0000 (10:25 +0900)]
Rename .spec and package name
resourced-generic -> system-plugin-resourced-generic
Also modified the summary and the description of this package according
to the package name.
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
SangYoun Kwak [Tue, 11 Apr 2023 10:27:37 +0000 (19:27 +0900)]
Modify the .spec and CMakeLists.txt of resourced-memory-lmk module
Since the path and the name of .so file, .spec file and cmake file for
resourced-memory-lmk are modified.
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
SangYoun Kwak [Tue, 11 Apr 2023 09:40:16 +0000 (18:40 +0900)]
Rename the .spec/.manifest files
Since the repository name has been changed from
plugin-backend-resourced-rpi to resourced-generic, the .spec and
.manifest files should be renamed to their corresponding names.
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
SangYoun Kwak [Mon, 10 Apr 2023 09:17:04 +0000 (18:17 +0900)]
resourced-memory-lmk: Remove unnecessary logs
Some logs were showing meaningless informations:
* The ratio between candidates->len and task_info_app_array->len, which
are the same.
* The Number of processes which are added to the candidate, which is
same as the number of processes passed to the governor.
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
SangYoun Kwak [Fri, 17 Mar 2023 09:47:31 +0000 (18:47 +0900)]
Remove duplicated definition in CMakeLists.txt files
In CMakeLists.txt, ENABLE_DLOG was defined but it is pointless since
another src/resourced-memory-lmk/CMakeLists.txt defines ENABLE_DLOG as
its own name and in the packaging/plugin-backend-resourced-rpi.spec
file, there is no definition of ENABLE_DLOG for cmake.
Thus, the definition of ENABLE_DLOG in CMakeLists.txt was removed.
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
SangYoun Kwak [Mon, 13 Mar 2023 02:01:44 +0000 (11:01 +0900)]
Modified building scripts according to the plugin api
plugin-backend-resourced-rpi.spec
* BuildRequires for plugin-api-resourced since the package
plugin-api-resourced was separated from the package libsyscommon.
* Versioning was changed. (It will start from 0.1.0)
* Definitions for cmake was rearranged. (remove unused ones)
* Files to be included to the package were modified.
CMakeLists.txt
* Installation for the license file was removed since the license file
will be included through the %file section of the .spec file.
src/resourced-memory-lmk/CMakeLists.txt
* The package plugin-api-resourced was added.
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
SangYoun Kwak [Mon, 6 Mar 2023 08:29:38 +0000 (17:29 +0900)]
resourced-memory-lmk: Modify governor function
The governor function named "get_kill_candidates" was modified since its
usage of resourced was changed.
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
SangYoun Kwak [Wed, 15 Feb 2023 08:59:04 +0000 (17:59 +0900)]
resourced-memory-lmk: Add governor function
The "get_kill_candidates" function has been added to the
resourced-memory-lmk module.
This function has been separated from lowmem module of resourced.
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
SangYoun Kwak [Fri, 10 Feb 2023 07:52:29 +0000 (16:52 +0900)]
Modify module name, add dlog and add governor
Module name changed.
* low_memory_killer -> resourced-memory-lmk
* According to this, the name of library, source directory, source file
name, and symbols are modified.
Governor source code added.
Dlog feature is added.
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
SangYoun Kwak [Thu, 9 Feb 2023 11:03:09 +0000 (20:03 +0900)]
Modify and add files to make this repository buildable
Files like spec file, cmakelists, license file were added to make this
repository buildable and callable from plugin-resourced.
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
SangYoun Kwak [Tue, 7 Feb 2023 07:27:45 +0000 (16:27 +0900)]
First commit: Add skeleton files for resourced plugin backend
Skeleton codes for plugin backend.
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
Tizen Infrastructure [Thu, 20 Apr 2023 02:25:53 +0000 (02:25 +0000)]
Initial empty repository