Displaying 2 results from an estimated 2 matches for "new_first".
2013 Sep 23
0
[LLVMdev] Wrong types in inline assembly?
Hello,
I'm confused about a particular snippet of code related to inline
assembly. From the Linux kernel:
bool llist_add_batch(struct llist_node *new_first, struct llist_node
*new_last, struct llist_head *head){
struct llist_node *first;
do {
new_last->next = first = ACCESS_ONCE(head->first);
} while (cmpxchg(&head->first, first, new_first) != first);
return !first;
}
The generated code in the IR for the cmpxchg call is:
%struct.llist_...
2008 Dec 22
56
[git patches] Ocfs2 patches for merge window, batch 2/3
Hi,
This is the second batch of Ocfs2 patches intended for the merge window. The
1st batch were sent out previously:
http://lkml.org/lkml/2008/12/19/280
The bulk of this set is comprised of Jan Kara's patches to add quota support
to Ocfs2. Many of the quota patches are to generic code, which I carried to
make merging of the Ocfs2 support easier. All of the non-ocfs2 patches
should have