[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250403131546.74596048@gandalf.local.home>
Date: Thu, 3 Apr 2025 13:15:46 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Kees Cook <kees@...nel.org>, linux-kernel@...r.kernel.org,
linux-trace-kernel@...r.kernel.org, Masami Hiramatsu <mhiramat@...nel.org>,
Mark Rutland <mark.rutland@....com>, Mathieu Desnoyers
<mathieu.desnoyers@...icios.com>, Andrew Morton
<akpm@...ux-foundation.org>, Vincent Donnefort <vdonnefort@...gle.com>,
Vlastimil Babka <vbabka@...e.cz>, Mike Rapoport <rppt@...nel.org>, Tony
Luck <tony.luck@...el.com>, "Guilherme G. Piccoli" <gpiccoli@...lia.com>,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH v2 1/2] tracing: ring-buffer: Have the ring buffer code
do the vmap of physical memory
On Thu, 3 Apr 2025 09:51:51 -0700
Linus Torvalds <torvalds@...ux-foundation.org> 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
Powered by blists - more mailing lists