llist: Clarify comments about when locking is needed
authorJoel Fernandes <joelaf@google.com>
Tue, 13 Dec 2016 02:01:45 +0000 (18:01 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 23 Jan 2017 19:37:13 +0000 (11:37 -0800)
commitd78973c32a210b0057b51880f7119bf2b61d5a65
tree6d0ec5a935e3a282adc4c5e9bab5e2ff24dc5926
parent9831ce3bb4f8b8f18f6e9719b64ba4e727d70fb3
llist: Clarify comments about when locking is needed

llist.h comments are confusing about when locking is needed versus when it
isn't. Clarify these comments by being more descriptive about why locking is
needed for llist_del_first.

Cc: Ingo Molnar <mingo@kernel.org>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Paul McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Huang Ying <ying.huang@intel.com>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Joel Fernandes <joelaf@google.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
include/linux/llist.h