Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/m68k/m68k



Module Name:    src
Committed By:   thorpej
Date:           Sat Nov 29 22:46:08 UTC 2025

Modified Files:
        src/sys/arch/m68k/m68k: pmap_68k.c

Log Message:
- pte_set() and pte_mask() are only used for HP MMU VAC shenanigans; only
  make them available if MMU_CONFIG_HP_CLASS is true.  Also, don't bother
  with the inline asm; it's not really needed at all.
- Don't use atomic_add_ulong() for pmap_stat_update(), as it is implemented
  in terms of CAS, which must be avoided on __HAVE_M68K_BROKEN_RMC systems.
  It's only used inside pmap critical sections, so just garden-variety C
  arithmetic is fine.
- pmap_reference() / pmap_destroy() get similar treatment -- avoid
  atomic_inc and atomic_dec.  In this case, wrap the arithmentic inside
  PMAP_CRIT_ENTER() / PMAP_CRIT_EXIT().


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/m68k/m68k/pmap_68k.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index