lowmem: Add MEM_LEVEL_LOW in lowmem_register_mem_level_controller() 31/291331/2
authorUnsung Lee <unsung.lee@samsung.com>
Thu, 13 Apr 2023 11:27:06 +0000 (20:27 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Mon, 17 Apr 2023 02:19:24 +0000 (11:19 +0900)
commit6979ba92b66b34e058800f11bae575502ac3e527
tree58ecacf2d9cf1e21a69344c686f29e9ffcfad553
parent069c77a2e5bb0a85616fb1d95382ff8ad62dfd80
lowmem: Add MEM_LEVEL_LOW in lowmem_register_mem_level_controller()

MEM_LEVEL_LOW is missing in lowmem_register_mem_level_controller(),
so currently controller of MEM_LEVEL_LOW is always NULL.
It causes SIGABRT when memory level is MEM_LEVEL_LOW.
To fix the problem, add MEM_LEVEL_LOW in lowmem_register_mem_level_controller()

Change-Id: I2bec09b0944f9f0b33c8fa5487b7204a6fc1a305
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
src/resource-limiter/memory/lowmem.c