search for: member_address_is_nonnul

Displaying 2 results from an estimated 2 matches for "member_address_is_nonnul".

2023 Jun 01
1
[PATCH 3/3] fork, vhost: Use CLONE_THREAD to fix freezer/ps regression
...tion before the clear_bit() which sits > > inside llist_for_each_entry_safe(): > > > > #define llist_for_each_entry_safe(pos, n, node, member) \ > > for (pos = llist_entry((node), typeof(*pos), member); \ > > member_address_is_nonnull(pos, member) && \ > > (n = llist_entry(pos->member.next, typeof(*n), member), true); \ > > pos = n) > > > > The clear_bit() is a store which is not speculated, so there's a > > control dependency, the...
2023 May 31
1
[PATCH 3/3] fork, vhost: Use CLONE_THREAD to fix freezer/ps regression
...code, there's a condition before the clear_bit() which sits > inside llist_for_each_entry_safe(): > > #define llist_for_each_entry_safe(pos, n, node, member) \ > for (pos = llist_entry((node), typeof(*pos), member); \ > member_address_is_nonnull(pos, member) && \ > (n = llist_entry(pos->member.next, typeof(*n), member), true); \ > pos = n) > > The clear_bit() is a store which is not speculated, so there's a > control dependency, the store can't be execu...