netdev
[Top] [All Lists]

Re: [PATCH 0/8] Use SLAB_PANIC when creating critical slab cache

To: Chris Wright <chrisw@xxxxxxxx>
Subject: Re: [PATCH 0/8] Use SLAB_PANIC when creating critical slab cache
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Sun, 14 Nov 2004 23:11:01 +0000
Cc: davem@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20041114121837.X2357@build.pdx.osdl.net>
References: <20041114121837.X2357@build.pdx.osdl.net>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Sun, Nov 14, 2004 at 12:18:37PM -0800, Chris Wright wrote:
> The following trivial patches update networking code to use the SLAB_PANIC
> flag when creating a critical slab cache instead of doing localized calls
> to panic().  This brings networking inline with other core kernel code.
> 
>  core/flow.c       |    5 +----
>  core/skbuff.c     |    4 +---
>  decnet/dn_route.c |    9 +++------
>  ipv4/inetpeer.c   |    5 +----
>  ipv4/ipmr.c       |    5 +----
>  ipv6/ip6_fib.c    |    4 +---
>  ipv6/route.c      |    9 +++------
>  xfrm/xfrm_input.c |    4 +---

decnet, ipv6 and xfrm can be modular, so using SLAB_PANIC there is bogus.

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