diff options
author | iedowse <iedowse@FreeBSD.org> | 2002-06-26 20:32:51 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2002-06-26 20:32:51 +0000 |
commit | e62ef89fc1df8d45376a9512206833cdc638641e (patch) | |
tree | aeaaa6de77668fab79f17e2b343adbadf9d306a2 /lib/libc/stdlib/hcreate.c | |
parent | c3868afc98f44fd1ff3f32ca2a92e673adb92ab9 (diff) | |
download | FreeBSD-src-e62ef89fc1df8d45376a9512206833cdc638641e.zip FreeBSD-src-e62ef89fc1df8d45376a9512206833cdc638641e.tar.gz |
Avoid using the 64-bit vm_pindex_t in a few places where 64-bit
types are not required, as the overhead is unnecessary:
o In the i386 pmap_protect(), `sindex' and `eindex' represent page
indices within the 32-bit virtual address space.
o In swp_pager_meta_build() and swp_pager_meta_ctl(), use a temporary
variable to store the low few bits of a vm_pindex_t that gets used
as an array index.
o vm_uiomove() uses `osize' and `idx' for page offsets within a
map entry.
o In vm_object_split(), `idx' is a page offset within a map entry.
Diffstat (limited to 'lib/libc/stdlib/hcreate.c')
0 files changed, 0 insertions, 0 deletions