Re: [PATCH v2 1/2] tracing: ring-buffer: Have the ring buffer code do the vmap of physical memory
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2025-04-03 17:14:42
Also in:
linux-hardening, lkml
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2025-04-03 17:14:42
Also in:
linux-hardening, lkml
On Thu, 3 Apr 2025 09:51:51 -0700 Linus Torvalds [off-list ref] wrote:
I *suspect* the history is simply that 'vmap()' predates 'vmap_page_range()'.
Doing some git archeology, it appears vmap_page_range() was added last year, to replace some ioremap_page_range() use cases, by Alexei. In 2021, Christoph moved ioremap_page_range() to vmalloc.c replacing vmap_range(). Also in 2021, Nick changed the ioremap_*range to vmap_*_range(), basically making this full circle. The ioremap_page_range() was introduced in 2006. vmap() looks to have been there before you started git. The vmap() usage in pstore was introduced in 2012. -- Steve