diff options
author | Alex Elder <[email protected]> | 2020-09-17 12:39:22 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-09-18 17:47:07 -0700 |
commit | dc6e6072d33f83527896f4d75a991a030b54a858 (patch) | |
tree | 7e08720252b4d8f076f39c906bb90df24db90c9f /net/unix/sysctl_net_unix.c | |
parent | 2b09841c7e57c34dc11741ffd3696e91b81bcd79 (diff) |
net: ipa: manage endpoints separate from clock
Currently, when (before) the last IPA clock reference is dropped,
all endpoints are suspended. And whenever the first IPA clock
reference is taken, all endpoints are resumed (or started).
In most cases there's no need to start endpoints when the clock
starts. So move the calls to ipa_endpoint_suspend() and
ipa_endpoint_resume() out of ipa_clock_put() and ipa_clock_get(),
respectiely. Instead, only suspend endpoints when handling a system
suspend, and only resume endpoints when handling a system resume.
Signed-off-by: Alex Elder <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions