Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 14583503 authored by Rick Yiu's avatar Rick Yiu Committed by Xin Li
Browse files

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
(cherry picked from commit e808841d)
(cherry picked from commit b8d7ac60)
Merged-In: Id79f9e1095f52079393c58edb9a4d526f4cc6b5e
Change-Id: Id79f9e1095f52079393c58edb9a4d526f4cc6b5e
parent ea98b60b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment