Up to [cvs.NetBSD.org] / src / sys / arch / x86 / pci
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: perseant-stdc-iso10646
Revision 1.79 / (download) - annotate - [select for diffs], Thu Jun 1 02:45:08 2017 UTC (6 years, 10 months ago) by chs
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202,
pgoyette-compat-base,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Branch point for: pgoyette-compat,
netbsd-8
Changes since 1.78: +2 -6
lines
Diff to previous 1.78 (colored)
remove checks for failure after memory allocation calls that cannot fail: kmem_alloc() with KM_SLEEP kmem_zalloc() with KM_SLEEP percpu_alloc() pserialize_create() psref_class_create() all of these paths include an assertion that the allocation has not failed, so callers should not assert that again.