diff options
author | Michal Hocko <[email protected]> | 2013-07-31 13:53:48 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-07-31 14:41:03 -0700 |
commit | 22f2020f84c6da2dd0acb2dce12e39e59ff7c8be (patch) | |
tree | 34188bc4df41de78fbbc4c45c8b913ea8f7f7761 /net/unix/sysctl_net_unix.c | |
parent | 62e32ac3505a0cab1c5ef8ea2c0eab3b26ed855f (diff) |
vmpressure: change vmpressure::sr_lock to spinlock
There is nothing that can sleep inside critical sections protected by
this lock and those sections are really small so there doesn't make much
sense to use mutex for them. Change the log to a spinlock
Signed-off-by: Michal Hocko <[email protected]>
Reported-by: Tejun Heo <[email protected]>
Cc: Anton Vorontsov <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Cc: Li Zefan <[email protected]>
Reviewed-by: Tejun Heo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions