Re: [PATCH] Document kfree and vfree NULL usage (resend)
From: Manfred Spraul (manfred_at_colorfullife.com)
Date: 12/05/04
- Previous message: Mike Castle: "2.4.28 config prompts for EXPERIMENTAL features when shouldn't"
- In reply to: Kernel Stuff: "Re: [PATCH] Document kfree and vfree NULL usage (resend)"
- Next in thread: Kernel Stuff: "Re: [PATCH] Document kfree and vfree NULL usage (resend)"
- Reply: Kernel Stuff: "Re: [PATCH] Document kfree and vfree NULL usage (resend)"
- Reply: Pekka Enberg: "Re: [PATCH] Document kfree and vfree NULL usage (resend)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 05 Dec 2004 17:59:28 +0100 To: Kernel Stuff <kernel-stuff@comcast.net>
Kernel Stuff wrote:
>> * May not be called in interrupt context
>>
>>
>Does this need to change to
> * Must not be called in interrupt context
>?
>Is there a case where it is guaranteed that kfree will not sleep?
>
kfree never sleeps. The comment you mention is part of the vfree
documentation.
And you are right: for vfree, it's "must not be called". I'll send a
separate patch. Or Andrew could just change it directly.
--
Manfred
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Mike Castle: "2.4.28 config prompts for EXPERIMENTAL features when shouldn't"
- In reply to: Kernel Stuff: "Re: [PATCH] Document kfree and vfree NULL usage (resend)"
- Next in thread: Kernel Stuff: "Re: [PATCH] Document kfree and vfree NULL usage (resend)"
- Reply: Kernel Stuff: "Re: [PATCH] Document kfree and vfree NULL usage (resend)"
- Reply: Pekka Enberg: "Re: [PATCH] Document kfree and vfree NULL usage (resend)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|