On 14 February 2012 21:09, Michael <macallan1...@gmail.com> wrote: > Hello, > > On Tue, 14 Feb 2012 14:25:18 +0000 > Nick Hudson <nick.hud...@gmx.co.uk> wrote: > >> On Tuesday 14 February 2012 13:11:34 Izumi Tsutsui wrote: >> > skrll@ wrote: >> > > Module Name: src >> > > Committed By: skrll >> > > Date: Tue Feb 14 13:04:52 UTC 2012 >> > > >> > > Modified Files: >> > > src/sys/arch/arm/iomd: vidcvideo.c >> > > >> > > Log Message: >> > > Pass RI_NO_AUTO to rasops_init so that rasops doesn't attempt to allocate >> > > memory as we're too early in kernel startup for this. >> > >> > I always think we should make RI_NO_AUTO default and >> > RI_AUTO should be optional, because too many MD drivers >> > have been trapped by this silent panic... >> >> Can't argue with that. > > Yeah. I wish there was a way to know wether we can kmem_alloc() or not.
Surely it must be possible to be able to query the kmem subsystem for whether its too soon for kmem_alloc()?