Re: ACCESS_ONCE usage inside llist_add_batch function

2015-03-04 Thread Arun KS
Hi Akturk, On Sun, Mar 1, 2015 at 1:42 AM, Cihangir Akturk cakt...@gmail.com wrote: Reading the lib/llist.c file in the kernel sources, I came across the llist_add_bach function defined like this; bool llist_add_batch(struct llist_node *new_first, struct llist_node *new_last,

Re: ACCESS_ONCE usage inside llist_add_batch function

2015-03-03 Thread Cihangir Akturk
On Tue, Mar 03, 2015 at 12:08:41PM +0530, Chinmay V S wrote: On Tue, Mar 3, 2015 at 11:51 AM, John de la Garza j...@jjdev.com wrote: On Sat, Feb 28, 2015 at 10:12:23PM +0200, Cihangir Akturk wrote: Reading the lib/llist.c file in the kernel sources, I came across the llist_add_bach function

Re: ACCESS_ONCE usage inside llist_add_batch function

2015-03-02 Thread John de la Garza
On Sat, Feb 28, 2015 at 10:12:23PM +0200, Cihangir Akturk wrote: Reading the lib/llist.c file in the kernel sources, I came across the llist_add_bach function defined like this; bool llist_add_batch(struct llist_node *new_first, struct llist_node *new_last, struct

Re: ACCESS_ONCE usage inside llist_add_batch function

2015-03-02 Thread Chinmay V S
On Tue, Mar 3, 2015 at 11:51 AM, John de la Garza j...@jjdev.com wrote: On Sat, Feb 28, 2015 at 10:12:23PM +0200, Cihangir Akturk wrote: Reading the lib/llist.c file in the kernel sources, I came across the llist_add_bach function defined like this; bool llist_add_batch(struct llist_node

ACCESS_ONCE usage inside llist_add_batch function

2015-02-28 Thread Cihangir Akturk
Reading the lib/llist.c file in the kernel sources, I came across the llist_add_bach function defined like this; bool llist_add_batch(struct llist_node *new_first, struct llist_node *new_last, struct llist_head *head) { struct llist_node *first; do {