lkml.org 
[lkml]   [2023]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectkmap() transformation: Question about copy_user_highpage
Hello,
I am attempting to work on replacing the kmap[_atomic]() calls by
kmap_local_page() function call. A detail on this change can be found here [0].

I would like to know if this function:
arch/loongarch/mm/init.c::copy_user_highpage()
is currently in use or is it a dead code?

If this code is not in use, can this be removed instead? However, if it is in
use, can you comment why kmap_atomic() was preferred over kmap()
function call?

[0] https://lore.kernel.org/all/20201029222652.302358281@linutronix.de/

Thank you,
Deepak.


\
 
 \ /
  Last update: 2023-10-06 20:48    [W:0.060 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site