Re: Problems with kernel


From: Amon Ott <ao@rsbac.org>
Subject: Re: Problems with kernel
Date: Fri, 23 Mar 2001 10:05:34 +0100

Next Article (by Author): Re: Problems with kernel Amon Ott
Previous Article (by Author): CeBIT meeting? Amon Ott
Top of Thread: Problems with kernel inger@linux.ru.net
Next in Thread: Re: Problems with kernel Bencsath Boldizsar
Articles sorted by: [Date] [Author] [Subject]


On Don, 22 Mär 2001 Bencsath Boldizsar wrote:
> I'm not a big kernel coder, but if kmalloc is so unstable, is it possible
> to use only vmalloc calls during the init? I think it could create some
> waste but might be more stable. or not? 

I never read about kmalloc being unstable. Are you sure about that?

> Amon: on one computer everything is ok. with pre7 (raid,etc.,previously
> this was unstable). But I tried to use pre7 on a computer with 4 raid
> mirrored disk and about 3-4 other partitions (some with reiserfs), this
> hangs at the read_fd_list kmalloc call all the time.

There is only one single kmalloc for the filename. Please replace
kmalloc(RSBAC_MAXNAMELEN, GFP_KERNEL) by vmalloc(RSBAC_MAXNAMELEN) and the
kfree(name) by vfree(name) and then retry.

Amon.
-
To unsubscribe from the rsbac list, send a mail to
majordomo@rsbac.org with
unsubscribe rsbac
as single line in the body.

Next Article (by Author): Re: Problems with kernel Amon Ott
Previous Article (by Author): CeBIT meeting? Amon Ott
Top of Thread: Problems with kernel inger@linux.ru.net
Next in Thread: Re: Problems with kernel Bencsath Boldizsar
Articles sorted by: [Date] [Author] [Subject]


Go to Compuniverse LWGate Home Page.