lkml.org 
[lkml]   [2005]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: [PATCH rc5-rt2 2/3] plist: add new implementation
From
Date
On Sun, 2005-12-18 at 14:31 -0800, Perez-Gonzalez, Inaky wrote:
> >From: Oleg Nesterov
> >
> >New implementation. It is smaller, and in my opinion cleaner.
> >User-space test: http://www.tv-sign.ru/oleg/plist.tgz
> >
> >Like hlist, it has different types for head and node: pl_head/pl_node.
> >
> >pl_head does not have ->prio field. This saves sizeof(int), and we
> >don't need to have it in plist_del's parameter list. This is also good
> >for typechecking.
> >
> >Like list_add(), plist_add() does not require initialization on
> pl_node,
> >except ->prio.
>
> /me suggests adding documentation to the header file succintly
> explaining how it is implemented and a quick usage guide (along
> with (C) info).

I second that.

Daniel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-12-19 17:46    [W:0.073 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site