[yast-commit] [yast/yast-network] 605e74: Save inst-sys memory by ending the agent process a...

Branch: refs/heads/unmount_ag_udev Home: https://github.com/yast/yast-network Commit: 605e7435f007423aac4324787e804d7b664e18b9 https://github.com/yast/yast-network/commit/605e7435f007423aac4324787e804d7b... Author: Martin Vidner <mvidner@suse.com> Date: 2020-06-19 (Fri, 19 Jun 2020) Changed paths: M src/lib/y2network/udev_rule.rb Log Message: ----------- Save inst-sys memory by ending the agent process after use (bsc#1172139) [memsample](https://github.com/yast/yast-installation/pull/864) has revealed that `ag_udev_persistent` not only makes NIC names persistent, it also persists as a useless process until the end of the installation, taking up 31MiB (!) of RSS. Fortunately the agent needs no internal state between its 2 calls at install time, so we can simply⁺ terminate it via UnmountAgent after each use. The cost is the slowdown of starting up the process again. ⁺ (In practice it works like slicing up a zombie in half: now you have TWO deadly zombies. Fixed in https://github.com/yast/yast-core/pull/147) Commit: ed6a4a9aef11b32698969c02f2106799157d0011 https://github.com/yast/yast-network/commit/ed6a4a9aef11b32698969c02f2106799... Author: Martin Vidner <mvidner@suse.com> Date: 2020-06-19 (Fri, 19 Jun 2020) Changed paths: M package/yast2-network.changes M package/yast2-network.spec Log Message: ----------- version + changelog Compare: https://github.com/yast/yast-network/compare/2ab10658a603...ed6a4a9aef11
participants (1)
-
Martin Vidner