On Thu, 3 Apr 2025 09:51:51 -0700 Linus Torvalds <[email protected]> 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
