diff options
author | Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> | 2017-12-22 15:44:41 +0700 |
---|---|---|
committer | Thuy Tran <thuy.tran.xh@rvc.renesas.com> | 2018-01-30 10:07:59 +0700 |
commit | 4f9d2b579a600b4fd32f2a92b83378d488a82bff (patch) | |
tree | a114fe45e03d82dc7c733def22d96397e77466ba /meta-rcar-gen3/recipes-core/images | |
parent | 4f50fe1d6f208f535d663325288e34fce4f0c358 (diff) |
rcar-gen3: dbus: WORKAROUND to fix memory leak issue
In Yocto v3.4.0, memory leak occurs when restarting Weston:
| root@salvator-x:~# cat /proc/meminfo | grep Cma
| CmaTotal: 671744 kB
| CmaFree: 629788 kB
| root@salvator-x:~#
| root@salvator-x:~# systemctl restart weston
| root@salvator-x:~#
| root@salvator-x:~# cat /proc/meminfo | grep Cma
| CmaTotal: 671744 kB
| CmaFree: 599404 kB
It will make Weston crash because out of memory if restarting many
times.
This patch is a WORKAROUND to avoid the issue, it restarts dbus depend
on Weston and memory will be released properly.
Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com>
Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com>
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
Diffstat (limited to 'meta-rcar-gen3/recipes-core/images')
0 files changed, 0 insertions, 0 deletions