提交 1eafe075 编写于 作者: A Asif Rasheed 提交者: Paul E. McKenney

list.h: Update comment to explicitly note circular lists

The students in the Operating System Lecture Section at the
American University of Sharjah were confused by the header comment
in include/linux/list.h, which says "Simple doubly linked list
implementation".  This comment means "simple" as in "not complex",
but "simple" is often used in this context to mean "not circular".
This commit therefore avoids this ambiguity by explicitly calling out
"circular".
Signed-off-by: NAsif Rasheed <b00073877@aus.edu>
Signed-off-by: NPaul E. McKenney <paulmck@kernel.org>
上级 dfe56404
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
/* /*
* Simple doubly linked list implementation. * Circular doubly linked list implementation.
* *
* Some of the internal functions ("__xxx") are useful when * Some of the internal functions ("__xxx") are useful when
* manipulating whole lists rather than single entries, as * manipulating whole lists rather than single entries, as
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册