Re: list.h , list_head and C++

2007-02-27 Thread J.A. Magallón
On Tue, 27 Feb 2007 08:34:13 -0600, Robert Hancock <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > On Feb 26, 2:26 pm, Robert Hancock <[EMAIL PROTECTED]> wrote: > >> [EMAIL PROTECTED] wrote: > >>> My C++ program needs an intrusive list, possibly with RCU > >>> capabilities.The data

Re: list.h , list_head and C++

2007-02-27 Thread Avi Kivity
Robert Hancock wrote: [EMAIL PROTECTED] wrote: On Feb 26, 2:26 pm, Robert Hancock <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: My C++ program needs an intrusive list, possibly with RCU capabilities.The data structurelist_head, defined in /usr/include/ linux/list.h , fits perfectly

Re: list.h , list_head and C++

2007-02-27 Thread Robert Hancock
[EMAIL PROTECTED] wrote: On Feb 26, 2:26 pm, Robert Hancock <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: My C++ program needs an intrusive list, possibly with RCU capabilities.The data structurelist_head, defined in /usr/include/ linux/list.h , fits perfectly these needs. You really

Re: list.h , list_head and C++

2007-02-27 Thread Robert Hancock
[EMAIL PROTECTED] wrote: On Feb 26, 2:26 pm, Robert Hancock [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: My C++ program needs an intrusive list, possibly with RCU capabilities.The data structurelist_head, defined in /usr/include/ linux/list.h , fits perfectly these needs. You really

Re: list.h , list_head and C++

2007-02-27 Thread J.A. Magallón
On Tue, 27 Feb 2007 08:34:13 -0600, Robert Hancock [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: On Feb 26, 2:26 pm, Robert Hancock [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: My C++ program needs an intrusive list, possibly with RCU capabilities.The data structurelist_head,

Re: list.h , list_head and C++

2007-02-27 Thread Avi Kivity
Robert Hancock wrote: [EMAIL PROTECTED] wrote: On Feb 26, 2:26 pm, Robert Hancock [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: My C++ program needs an intrusive list, possibly with RCU capabilities.The data structurelist_head, defined in /usr/include/ linux/list.h , fits perfectly these

Re: list.h , list_head and C++

2007-02-26 Thread Robert Hancock
[EMAIL PROTECTED] wrote: My C++ program needs an intrusive list, possibly with RCU capabilities.The data structure list_head, defined in /usr/include/ linux/list.h , fits perfectly these needs. You really shouldn't use kernel data structures in userspace. The locking and other primitives they

Re: list.h , list_head and C++

2007-02-26 Thread Robert Hancock
[EMAIL PROTECTED] wrote: My C++ program needs an intrusive list, possibly with RCU capabilities.The data structure list_head, defined in /usr/include/ linux/list.h , fits perfectly these needs. You really shouldn't use kernel data structures in userspace. The locking and other primitives they