2dd126f08e
swapent, or as seen in userland, is dbtob(1), which turns to be 512 for all arch for now. In struct swapdev, there is another field for block size. This value is private to uvm_swap.c and is only used for swap I/O on regular files. It is equal to the underlying device block size and it is not necessarily 512. |
||
---|---|---|
.. | ||
aout | ||
aoutm68k | ||
common | ||
freebsd | ||
hpux | ||
ibcs2 | ||
irix | ||
linux | ||
m68k4k | ||
mach | ||
netbsd32 | ||
osf1 | ||
ossaudio | ||
pecoff | ||
sunos | ||
sunos32 | ||
svr4 | ||
svr4_32 | ||
ultrix | ||
vax1k | ||
Makefile |