diff options
author | cperciva <cperciva@FreeBSD.org> | 2004-02-29 15:58:54 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2004-02-29 15:58:54 +0000 |
commit | 3b41514956d916c1b29ff3b86d1389d4b79f6527 (patch) | |
tree | e05cac394804bf6571b7fe01087793f3a4017a35 /lib/libc/stdlib/lldiv.c | |
parent | 3a11da683d6c2d8bc2382dc90d55d37327ac38eb (diff) | |
download | FreeBSD-src-3b41514956d916c1b29ff3b86d1389d4b79f6527.zip FreeBSD-src-3b41514956d916c1b29ff3b86d1389d4b79f6527.tar.gz |
Use DEV_BSIZE byte sectors instead of PAGE_SIZE byte sectors for
swap-backed memory disks. This reduces filesystem allocation overhead
and makes swap-backed memory disks compatible with broken code (dd,
for example) which expects to see 512 byte sectors. The size of a
swap-backed memory disk must still be a multiple of the page size.
When performing page-aligned operations, this change has zero
performance impact.
Reviewed by: phk
Approved by: rwatson (mentor)
Diffstat (limited to 'lib/libc/stdlib/lldiv.c')
0 files changed, 0 insertions, 0 deletions