Skip to content

Commit

Permalink
[SPARC64] mm: update get_user_insn comment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hugh Dickins authored and David S. Miller committed Nov 8, 2005
1 parent d5a858b commit da16054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sparc64/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ static void bad_kernel_pc(struct pt_regs *regs)
* this. Additionally, to prevent kswapd from ripping ptes from
* under us, raise interrupts around the time that we look at the
* pte, kswapd will have to wait to get his smp ipi response from
* us. This saves us having to get page_table_lock.
* us. vmtruncate likewise. This saves us having to get pte lock.
*/
static unsigned int get_user_insn(unsigned long tpc)
{
Expand Down

0 comments on commit da16054

Please sign in to comment.