0a959e0bae
It was used only to store the bounds of each swap device. However, since swblk_t is a signed 32-bit int and daddr_t is a signed 64-bit int, swp_pager_isondev() may return an invalid result if swap devices are repeatedly added and removed and sw_end for a device ends up becoming a negative number. Note that the removed comment about maximum swap size still applies. Reviewed by: jeff, kib Tested by: pho MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D23666 |
||
---|---|---|
.. | ||
tests | ||
kvm_aarch64.h | ||
kvm_amd64.c | ||
kvm_amd64.h | ||
kvm_arm.c | ||
kvm_arm.h | ||
kvm_cptime.c | ||
kvm_getcptime.3 | ||
kvm_geterr.3 | ||
kvm_getloadavg.3 | ||
kvm_getloadavg.c | ||
kvm_getpcpu.3 | ||
kvm_getprocs.3 | ||
kvm_getswapinfo.3 | ||
kvm_getswapinfo.c | ||
kvm_i386.c | ||
kvm_i386.h | ||
kvm_kerndisp.3 | ||
kvm_minidump_aarch64.c | ||
kvm_minidump_amd64.c | ||
kvm_minidump_arm.c | ||
kvm_minidump_i386.c | ||
kvm_minidump_mips.c | ||
kvm_minidump_powerpc64_hpt.c | ||
kvm_minidump_powerpc64.c | ||
kvm_minidump_riscv.c | ||
kvm_mips.h | ||
kvm_native.3 | ||
kvm_nlist.3 | ||
kvm_open.3 | ||
kvm_pcpu.c | ||
kvm_powerpc64.c | ||
kvm_powerpc64.h | ||
kvm_powerpc.c | ||
kvm_private.c | ||
kvm_private.h | ||
kvm_proc.c | ||
kvm_read.3 | ||
kvm_riscv.h | ||
kvm_vnet.c | ||
kvm.3 | ||
kvm.c | ||
kvm.h | ||
Makefile | ||
Makefile.depend |