aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/include/_stdint.h
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2012-06-23 22:54:25 +0000
committerAlan Cox <alc@FreeBSD.org>2012-06-23 22:54:25 +0000
commitf745b1635901f37c921bc27de9aa80a6edc4d5fb (patch)
treecdf0a5772062dde3b34e97f959e9c36e5c86c790 /sys/powerpc/include/_stdint.h
parent4defc81b0e5a4523def65df7822c20343cfbf39d (diff)
downloadsrc-f745b1635901f37c921bc27de9aa80a6edc4d5fb.tar.gz
src-f745b1635901f37c921bc27de9aa80a6edc4d5fb.zip
Introduce reserve_pv_entry() and use it in pmap_pv_demote_pde(). In order
to add PV list locking to pmap_pv_demote_pde(), it is necessary to change the way that pmap_pv_demote_pde() allocates PV entries. Specifically, once pmap_pv_demote_pde() begins modifying the PV lists, it can't allocate any new PV chunks, because that could require the PV list lock to be dropped. So, all necessary PV chunks must be allocated in advance. To my surprise, this new approach is a few percent faster than the old one.
Notes
Notes: svn path=/head/; revision=237513
Diffstat (limited to 'sys/powerpc/include/_stdint.h')
0 files changed, 0 insertions, 0 deletions