History log of /netbsd-src/sys/kern/subr_interrupt.c (Results 1 – 5 of 5)
Revision Date Author Comments
# cbf5c65a 10-Dec-2021 andvar <andvar@NetBSD.org>

s/occured/occurred/ in comments, log messages and man pages.


# 96bd66bc 28-Jan-2018 christos <christos@NetBSD.org>

- don't return ENOMEM for errors not related to memory
- don't overload return values (-error/+size)
- don't allocate kernel memory from user supplied length.


# c14455fe 13-Jan-2018 reinoud <reinoud@NetBSD.org>

Compilation of a kernel outside the build.sh framework exposed the
uninitialised usage of `error' in interrupt_avert_intr(). In theory it can
reach the `out' label without `error' initialized. No ide

Compilation of a kernel outside the build.sh framework exposed the
uninitialised usage of `error' in interrupt_avert_intr(). In theory it can
reach the `out' label without `error' initialized. No idea if that really ever
happens in practice.

show more ...


# fd34ea77 01-Jun-2017 chs <chs@NetBSD.org>

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()

al

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.

show more ...


# a604df28 17-Aug-2015 knakahara <knakahara@NetBSD.org>

Add kernel code to support intrctl(8).