The PSI monitoring feature of lowmem-monitor was disabled since this
feature is under development.
Change-Id: I0459020a64ace157b0d421a6fd1fb797b0fed263
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
static int lowmem_monitor_psi_initialize(void *data)
{
static int lowmem_monitor_psi_initialize(void *data)
{
+ /**
+ * FIXME: Disable PSI monitoring feature temporarily.
+ * Enable it when the PSI monitoring is ready to apply.
+ */
+ return RESOURCED_ERROR_NONE;
+
if (register_psi_events() != RESOURCED_ERROR_NONE) {
_E("Failed to register psi fds to epoll fd");
return RESOURCED_ERROR_FAIL;
if (register_psi_events() != RESOURCED_ERROR_NONE) {
_E("Failed to register psi fds to epoll fd");
return RESOURCED_ERROR_FAIL;
static int lowmem_monitor_psi_finalize(void *data)
{
static int lowmem_monitor_psi_finalize(void *data)
{
+ /**
+ * FIXME: Disable PSI monitoring feature temporarily.
+ * Enable it when the PSI monitoring is ready to apply.
+ */
+ return RESOURCED_ERROR_NONE;
+
destroy_psi_monitor_thread();
unregister_psi_events();
destroy_psi_monitor_thread();
unregister_psi_events();