commit | d4c53518fe0911d8df9e6a658b2ec34fde7449ce | [log] [tgz] |
---|---|---|
author | Rick Yiu <rickyiu@google.com> | Sun Nov 21 15:57:36 2021 +0800 |
committer | Rick Yiu <rickyiu@google.com> | Fri Dec 10 11:46:26 2021 +0800 |
tree | d93de330f94301e5cb066c1ae6258fa6d9f8426c | |
parent | 4993168f9c6db7539e820fa5761c74373e27330b [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