Re: [PATCH 4.14 198/205] perf/core: Dont WARN() for impossible ring-buffer sizes

Peter Zijlstra
2019-02-13T13:13:49Z

On Wed, Feb 13, 2019 at 01:03:39PM +0000, Rantala, Tommi T. (Nokia - FI/Espoo) wrote:
> Changing the patch like this fixes it...
>
> - if (order_base_2(size) >= MAX_ORDER)
> + if (order_base_2(size) > MAX_ORDER)

That's wrong too..