Re: Revamping directory structure of acpica

2015-12-10 Thread Kamil Rytarowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 22.10.2015 03:04, Kamil Rytarowski wrote: > I request to synchronize our in-tree directory structure with > upstream acpica. > > At the moment we are moving files and directories around, it makes > harder to upstream our local patches or compare

Re: kernel memory allocation failures

2015-12-10 Thread Chuck Silvers
On Thu, Dec 10, 2015 at 11:00:11PM -0500, Christos Zoulas wrote: > On Dec 11, 11:37am, k-nakah...@iij.ad.jp (Kengo NAKAHARA) wrote: > -- Subject: Re: CVS commit: src/sys/net > > | Hi, > | > | > In article <20151210081103.E0FBBFB83%cvs.NetBSD.org@localhost>, > | > Kengo NAKAHARA wrote: > | >>-=-=

Re: kernel memory allocation failures

2015-12-10 Thread David Holland
On Thu, Dec 10, 2015 at 08:41:50PM -0800, Chuck Silvers wrote: > > | > So I propose to always check the return value of allocators with > > | > an 'if' and not a KASSERT. > > | > > | There are some codes like "foo = kmem_alloc(size, KM_SLEEP); > > | KASSERT(foo != NULL)". > > | Should the co