Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177334
b: refs/heads/master
c: dd7f594
h: refs/heads/master
v: v3
  • Loading branch information
Steven Rostedt authored and Steven Rostedt committed Dec 11, 2009
1 parent d0cd43f commit dd3efc5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 184210154b9aa570099183f6c062ac4eb11190b7
refs/heads/master: dd7f59435782a02ceb6d16b9ce823dd3345d75ec
8 changes: 4 additions & 4 deletions trunk/kernel/trace/ring_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -1208,9 +1208,9 @@ rb_remove_pages(struct ring_buffer_per_cpu *cpu_buffer, unsigned nr_pages)
return;

rb_reset_cpu(cpu_buffer);
spin_unlock_irq(&cpu_buffer->reader_lock);

rb_check_pages(cpu_buffer);

spin_unlock_irq(&cpu_buffer->reader_lock);
}

static void
Expand All @@ -1233,9 +1233,9 @@ rb_insert_pages(struct ring_buffer_per_cpu *cpu_buffer,
list_add_tail(&bpage->list, cpu_buffer->pages);
}
rb_reset_cpu(cpu_buffer);
spin_unlock_irq(&cpu_buffer->reader_lock);

rb_check_pages(cpu_buffer);

spin_unlock_irq(&cpu_buffer->reader_lock);
}

/**
Expand Down

0 comments on commit dd3efc5

Please sign in to comment.