commit | e808841d72816c68da3d6d9f451aba71bf4188bc | [log] [tgz] |
---|---|---|
author | Rick Yiu <rickyiu@google.com> | Sun Nov 21 15:57:36 2021 +0800 |
committer | Rick Yiu <rickyiu@google.com> | Sun Dec 12 13:22:07 2021 +0800 |
tree | 7e8103cabcf03d33109c7991302fe8601651bbc0 | |
parent | ae42d601d09fa32b5c33758432cbd306b60f58ee [diff] |
libprocessgroup: Use WriteStringToFd for WriteFileAction Using WriteStringToFile will hold kernfs_mutex which is a big lock, so use WriteStringToFd instead. Besides, also support fd cache for it. Bug: 206970384 Test: build pass Change-Id: Id79f9e1095f52079393c58edb9a4d526f4cc6b5e Merged-In: Id79f9e1095f52079393c58edb9a4d526f4cc6b5e