lkml.org 
[lkml]   [2005]   [Dec]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] latency tracer, 2.6.15-rc7


On Fri, 30 Dec 2005, Ingo Molnar wrote:
>
> have you applied the zlib patches too? In particular this one should
> make a difference:
>
> http://redhat.com/~mingo/latency-tracing-patches/patches/reduce-zlib-stack-hack.patch
>
> If you didnt have this applied, could you apply it and retry with
> stack-footprint-debugging again?

Ingo, instead of having a static work area and using locking, why not just
move those fields into the "z_stream" structure, and thus make them be
per-stream? The z_stream structure should already be allocated with
kmalloc() or similar by the caller, so that also gets it off the stack
without the locking thing.

Hmm?

Linus
-
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/

\
 
 \ /
  Last update: 2009-11-18 23:46    [W:1.736 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site