-
Andrew Morton authored
From: Philippe Elie <phil.el@wanadoo.fr> In a ring buffer controlled by a read and write positions we can't use buffer_size but only buffer_size - 1 entry, the last free entry act as a guard to avoid write pos overrun. This bug was hidden because the writer, oprofile_add_sample(), request one more entry than really needed.
26c8fae2