On 07/15/2020 04:25 PM, Andrey Ryabinin wrote:
If mem_cgroup_iter_load() goes to retry after failed read_seqretry():
retry:
seq = read_seqbegin(&iter->last_visited_lock);
if (iter->last_dead_count == *sequence) {
position = READ_ONCE(iter->last_visited);
If mem_cgroup_iter_load() goes to retry after failed read_seqretry():
retry:
seq = read_seqbegin(&iter->last_visited_lock);
if (iter->last_dead_count == *sequence) {
position = READ_ONCE(iter->last_visited);
if (read_seqretry(&iter->last_visited_loc