summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/lldiv.c
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2004-02-29 15:58:54 +0000
committercperciva <cperciva@FreeBSD.org>2004-02-29 15:58:54 +0000
commit3b41514956d916c1b29ff3b86d1389d4b79f6527 (patch)
treee05cac394804bf6571b7fe01087793f3a4017a35 /lib/libc/stdlib/lldiv.c
parent3a11da683d6c2d8bc2382dc90d55d37327ac38eb (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud