diff options
author | Alex Van Brunt <avanbrunt@nvidia.com> | 2014-05-16 12:37:06 -0700 |
---|---|---|
committer | Mandar Padmawar <mpadmawar@nvidia.com> | 2014-05-23 01:57:53 -0700 |
commit | 1937ef6f9ce114ad8a9cac6a06e3dce8a1affae2 (patch) | |
tree | 32e8ca16ec87c1b5148ca53bd55e233a18c19ab6 /kernel/exit.c | |
parent | 82f35296c448f4701e4cfce7b37114a9915ea2a2 (diff) |
mutex: save power with better cpu_relax
Use cpu_relaxed_read and cpu_read_relax to allow more architectures to be able
to "relax" instead of busy spinning.
Bug 1440421
Change-Id: I48e36d7b3c953fe43ebb23ea814de7738c91e394
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>
Reviewed-on: http://git-master/r/412712
Reviewed-by: Sumit Singh <sumsingh@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'kernel/exit.c')
0 files changed, 0 insertions, 0 deletions