On Nov 17, [EMAIL PROTECTED] wrote:

> > memory leak
> 
> Aha. Must be a missing kfree().
> Does this help?
> 
> --- namei.c~    Fri Nov 17 00:48:37 2000
> +++ namei.c     Fri Nov 17 21:59:49 2000
> @@ -197,6 +197,8 @@
>                         bh = NULL;
>                         break;
>                 }
> +               if (cpnt)
> +                       kfree(cpnt);
>         }
>         if (page)
>                 free_page((unsigned long) page);
> 
> Andries

this seems to make things much worse:  starting with ~90M free memory
"du" again started leaking (or maybe just using memory?) down to ~80M free
memory when the system suddently locked up completely, no console switch
was possible anymore (but Sysrq-B did reboot).



Harald
-- 
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
[EMAIL PROTECTED]                     ^^^^^       ^^^^^
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to