1
0
Files
linux/mm
Huang Ying 0ef017d117 mm, swap: improve readability via make spin_lock/unlock balanced
This is just a cleanup patch, no functionality change.

In cluster_list_add_tail(), spin_lock_nested() is used to lock the
cluster, while unlock_cluster() is used to unlock the cluster.  To
improve the code readability, use spin_unlock() directly to unlock the
cluster.

Link: http://lkml.kernel.org/r/20170317064635.12792-2-ying.huang@intel.com
Signed-off-by: "Huang, Ying" <ying.huang@intel.com>
Acked-by: Tim Chen <tim.c.chen@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-05-03 15:52:10 -07:00
..
2017-02-27 18:43:47 -08:00
2017-05-03 15:52:10 -07:00
2017-05-03 15:52:10 -07:00
2017-05-03 15:52:10 -07:00
2017-05-03 15:52:10 -07:00
2017-05-03 15:52:10 -07:00
2017-05-03 15:52:10 -07:00
2016-11-02 10:24:03 -06:00
2016-03-17 15:09:34 -07:00
2017-05-03 15:52:10 -07:00
2017-02-27 18:43:46 -08:00
2017-05-03 15:52:10 -07:00
2017-04-13 18:24:21 -07:00