User: Password:
|
|
Subscribe / Log in / New account

Skiplists II: API and benchmarks

Skiplists II: API and benchmarks

Posted Jun 13, 2013 6:26 UTC (Thu) by jtc (guest, #6246)
Parent article: Skiplists II: API and benchmarks

"A skiplist can be declared and initialized to an empty state with lines like:

#include <linux/skiplist.h>

struct sl_list list;
sl_init_list(*list, GFP_ATOMIC);
"

Isn't that last line supposed to be:
sl_init_list(&list, GFP_ATOMIC);
?


(Log in to post comments)

Skiplists II: API and benchmarks

Posted Jun 14, 2013 18:00 UTC (Fri) by Shewmaker (subscriber, #1126) [Link]

Yes, thanks for the correction.

Skiplists II: API and benchmarks

Posted Jun 14, 2013 18:11 UTC (Fri) by jake (editor, #205) [Link]

> thanks for the correction

fixed in the text now too ...

jake


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds