Skip to content

Commit da16054

Browse files
Hugh Dickinsdavem330
authored andcommitted
[SPARC64] mm: update get_user_insn comment
Update comment on get_user_insn to the more general "pte lock", which may or may not be the page_table_lock. Note vmtruncate handled like kswapd. Signed-off-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent d5a858b commit da16054

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/sparc64/mm/fault.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ static void bad_kernel_pc(struct pt_regs *regs)
109109
* this. Additionally, to prevent kswapd from ripping ptes from
110110
* under us, raise interrupts around the time that we look at the
111111
* pte, kswapd will have to wait to get his smp ipi response from
112-
* us. This saves us having to get page_table_lock.
112+
* us. vmtruncate likewise. This saves us having to get pte lock.
113113
*/
114114
static unsigned int get_user_insn(unsigned long tpc)
115115
{

0 commit comments

Comments
 (0)