diff options
author | green <green@FreeBSD.org> | 2004-10-12 04:47:16 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2004-10-12 04:47:16 +0000 |
commit | a3341cc87b4ddeb12c6e1ed42b1340bb0e430f15 (patch) | |
tree | c650ee70cb890b2e72a30b943494daaf3d55df09 /sys/kern/kern_xxx.c | |
parent | c125751bac1ccd273f7990f5732fef219daab464 (diff) | |
download | FreeBSD-src-a3341cc87b4ddeb12c6e1ed42b1340bb0e430f15.zip FreeBSD-src-a3341cc87b4ddeb12c6e1ed42b1340bb0e430f15.tar.gz |
Account for failure in vm_pager_allocate() or vm_pager_get_pages() in
md(8). The former is generally not going to fail, but the latter can
fail when the underlying swap device returns an error.
There are still plenty of other places where vm_pager_get_pages() failing
will lead directly to crashes, so it's a good idea to put your swap on
RAID if you care enough to put any of your disks on RAID....
Diffstat (limited to 'sys/kern/kern_xxx.c')
0 files changed, 0 insertions, 0 deletions