xfs
[Top] [All Lists]

Re: patch to give kmalloc a chance (RFC)

To: Steve Lord <lord@xxxxxxx>
Subject: Re: patch to give kmalloc a chance (RFC)
From: Rik van Riel <riel@xxxxxxxxxxxxxxxx>
Date: Fri, 27 Sep 2002 19:06:57 -0300 (BRT)
Cc: Ravi Wijayaratne <ravi_wija@xxxxxxxxx>, <linux-xfs@xxxxxxxxxxx>, Eric Sandeen <sandeen@xxxxxxx>
In-reply-to: <1033163688.10533.79.camel@jen.americas.sgi.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On 27 Sep 2002, Steve Lord wrote:

> I am picturing Rik with shivers going down his spine right now ;-)

Yup ... ;)

> The better way to deal with this is either to have a small pool
> of these structures we can fall back on, or even to fail the I/O.
> The latter will shutdown the filesystem though.

Look at the stuff in mm/mempool.c

It might be just what you need.

Rik
-- 
Bravely reimplemented by the knights who say "NIH".

http://www.surriel.com/         http://distro.conectiva.com/

Spamtraps of the month:  september@xxxxxxxxxxx trac@xxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>