| To: | jmorris@xxxxxxxxxx |
|---|---|
| Subject: | Re: [PATCH] SLAB_PANIC cleanup |
| From: | YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx> |
| Date: | Tue, 17 Aug 2004 15:59:42 +0900 (JST) |
| Cc: | davem@xxxxxxxxxx, netdev@xxxxxxxxxxx, yoshfuji@xxxxxxxxxxxxxx |
| In-reply-to: | <Xine.LNX.4.44.0408170237020.7736-100000@xxxxxxxxxxxxxxxxxxxxxxxxxxx> |
| Organization: | USAGI Project |
| References: | <Xine.LNX.4.44.0408170237020.7736-100000@xxxxxxxxxxxxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
In article
<Xine.LNX.4.44.0408170237020.7736-100000@xxxxxxxxxxxxxxxxxxxxxxxxxxx> (at Tue,
17 Aug 2004 02:43:38 -0400 (EDT)), James Morris <jmorris@xxxxxxxxxx> says:
It generally seems okay. Just a few things for readability.
> diff -urN -X dontdiff linux-2.6.8.1-mm1.o/net/core/neighbour.c
> linux-2.6.8.1-mm1.w/net/core/neighbour.c
> --- linux-2.6.8.1-mm1.o/net/core/neighbour.c 2004-06-16 01:18:56.000000000
> -0400
> +++ linux-2.6.8.1-mm1.w/net/core/neighbour.c 2004-08-17 02:57:22.888296160
> -0400
> @@ -1165,12 +1165,9 @@
> if (!tbl->kmem_cachep)
> tbl->kmem_cachep = kmem_cache_create(tbl->id,
> tbl->entry_size,
> - 0, SLAB_HWCACHE_ALIGN,
> + 0, SLAB_HWCACHE_ALIGN|
> + SLAB_PANIC,
I rather prefer
tbl->entry_size, 0,
SLAB_HWCACHE_ALIGN|SLAB_PANIC,
> diff -urN -X dontdiff linux-2.6.8.1-mm1.o/net/ipv6/route.c
> linux-2.6.8.1-mm1.w/net/ipv6/route.c
> --- linux-2.6.8.1-mm1.o/net/ipv6/route.c 2004-08-14 10:25:45.000000000
> -0400
> +++ linux-2.6.8.1-mm1.w/net/ipv6/route.c 2004-08-17 02:44:31.302595016
> -0400
> @@ -2026,11 +2026,9 @@
>
> ip6_dst_ops.kmem_cachep = kmem_cache_create("ip6_dst_cache",
> sizeof(struct rt6_info),
> - 0, SLAB_HWCACHE_ALIGN,
> + 0, SLAB_HWCACHE_ALIGN|
> + SLAB_PANIC,
> NULL, NULL);
ditto.
--
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] SLAB_PANIC cleanup, James Morris |
|---|---|
| Next by Date: | Re: [PATCH] SLAB_PANIC cleanup, Christoph Hellwig |
| Previous by Thread: | [PATCH] SLAB_PANIC cleanup, James Morris |
| Next by Thread: | Re: [PATCH] SLAB_PANIC cleanup, Arnaldo Carvalho de Melo |
| Indexes: | [Date] [Thread] [Top] [All Lists] |