netdev
[Top] [All Lists]

Re: [Fwd: [Bug 3003] New: might_sleep warning when setting up IPSec with

To: Nivedita Singhvi <niv@xxxxxxxxxx>
Subject: Re: [Fwd: [Bug 3003] New: might_sleep warning when setting up IPSec with IPCOMP]
From: Christophe Saout <christophe@xxxxxxxx>
Date: Fri, 02 Jul 2004 19:58:32 +0200
Cc: James Morris <jmorris@xxxxxxxxxxxxxxxx>, akpm@xxxxxxxx, netdev <netdev@xxxxxxxxxxx>
In-reply-to: <40E5A1B3.2020202@xxxxxxxxxx>
References: <40E5A1B3.2020202@xxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Am Fr, den 02.07.2004 um 10:56 Uhr -0700 schrieb Nivedita Singhvi:

> Looks like deflate_comp_init() is not calling
> __vmalloc in a kosher way.
>
> [...]
> Jul  2 18:39:04 websrv [<c0139fbc>] kmem_cache_alloc+0x5c/0x60
> Jul  2 18:39:04 websrv [<c0147bc0>] __get_vm_area+0x20/0xf0
> Jul  2 18:39:04 websrv [<c0147cb4>] get_vm_area+0x24/0x30
> Jul  2 18:39:04 websrv [<c0147f1c>] __vmalloc+0x3c/0x100
> [...]

__get_vm_area does a

area = kmalloc(sizeof(*area), GFP_KERNEL);

So it will produce a warning no matter what flags are passed to
__vmalloc.

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

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