Subject: Re: wd.c patch to reduce kernel stack usage
To: None <thorpej@wasabisystems.com>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 06/28/2002 07:17:17
From: Jason R Thorpe <thorpej@wasabisystems.com>
Subject: Re: wd.c patch to reduce kernel stack usage
Date: Thu, 27 Jun 2002 13:22:03 -0700
> Use of alloca() is one possibility.  But that still comes from the stack,
> do you'd want to make the buffer smaller, as well, I guess.
> 
> Reducing kernel stack usage is good ... but having to allocate memory
> in an error handler doesn't seem like the best idea...

i don't think printing exact error isn't so important in this case.
just "io error" when malloc fails is acceptable, isn't it?

---
YAMAMOTO Takashi<yamt@mwd.biglobe.ne.jp>