Commit 27d128c1cff6 for kernel

commit 27d128c1cff64c3b8012cc56dd5a1391bb4f1821
Merge: f3e3dbcea15e 92d5a606721f
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Fri Apr 24 15:17:23 2026 -0700

    Merge tag 'trace-ring-buffer-v7.1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

    Pull ring-buffer fix from Steven Rostedt:

     - Fix accounting of persistent ring buffer rewind

       On boot up, the head page is moved back to the earliest point of the
       saved ring buffer. This is because the ring buffer being read by user
       space on a crash may not save the part it read. Rewinding the head
       page back to the earliest saved position helps keep those events from
       being lost.

       The number of events is also read during boot up and displayed in the
       stats file in the tracefs directory. It's also used for other
       accounting as well. On boot up, the "reader page" is accounted for
       but a rewind may put it back into the buffer and then the reader page
       may be accounted for again.

       Save off the original reader page and skip accounting it when
       scanning the pages in the ring buffer.

    * tag 'trace-ring-buffer-v7.1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
      ring-buffer: Do not double count the reader_page