diff options
author | Alan Cox <alc@FreeBSD.org> | 2011-10-30 05:06:14 +0000 |
---|---|---|
committer | Alan Cox <alc@FreeBSD.org> | 2011-10-30 05:06:14 +0000 |
commit | 5c1f2cc4c2288defcf734f982c9dcbe94938eae4 (patch) | |
tree | c68c62addf3e0c34caba615d9beb3884e1aa3b90 /contrib/gcc/rtl.c | |
parent | 2bb64536627ea2882950cd3fbbc077f8c6bf6bb5 (diff) | |
download | src-5c1f2cc4c2288defcf734f982c9dcbe94938eae4.tar.gz src-5c1f2cc4c2288defcf734f982c9dcbe94938eae4.zip |
Eliminate vm_phys_bootstrap_alloc(). It was a failed attempt at
eliminating duplicated code in the various pmap implementations.
Micro-optimize vm_phys_free_pages().
Introduce vm_phys_free_contig(). It is fast routine for freeing an
arbitrary number of physically contiguous pages. In particular, it
doesn't require the number of pages to be a power of two.
Use "u_long" instead of "unsigned long".
Bruce Evans (bde@) has convinced me that the "boundary" parameters
to kmem_alloc_contig(), vm_phys_alloc_contig(), and
vm_reserv_reclaim_contig() should be of type "vm_paddr_t" and not
"u_long". Make this change.
Notes
Notes:
svn path=/head/; revision=226928
Diffstat (limited to 'contrib/gcc/rtl.c')
0 files changed, 0 insertions, 0 deletions