Re: [GIT PULL] ring-buffer: Allow for rescheduling when removing pages

From: Greg Kroah-Hartman
Date: Wed Sep 19 2018 - 02:07:17 EST


On Tue, Sep 18, 2018 at 07:14:13PM -0400, Steven Rostedt wrote:
>
> Linus (aka Greg),
>
> Vaibhav Nagarnaik found that modifying the ring buffer size could cause
> a huge latency in the system because it does a while loop to free pages
> without releasing the CPU (on non preempt kernels). In a case where there
> are hundreds of thousands of pages to free it could actually cause a system
> stall. A properly place cond_resched() solves this issue.
>
>
> Please pull the latest trace-v4.19-rc4 tree, which can be found at:
>
>
> git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
> trace-v4.19-rc4

Ick, line wrapping makes it hard to cut/paste :(

Anyway, now pulled and pushed out.

greg k-h