All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Philippe Gerum <rpm@xenomai.org>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [PATCH] ipipe-tracer-v5
Date: Thu, 29 Dec 2005 11:24:56 +0100	[thread overview]
Message-ID: <43B3B978.7020106@domain.hid> (raw)
In-Reply-To: <43B2AF57.10004@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 1573 bytes --]

Jan Kiszka wrote:
> ------------------------------------------------------------------------
> 
> --- linux-2.6.14.3/arch/i386/boot/compressed/misc.c.orig	2005-11-24 23:10:21.000000000 +0100
> +++ linux-2.6.14.3/arch/i386/boot/compressed/misc.c	2005-12-28 16:12:43.000000000 +0100
> @@ -15,6 +15,12 @@
>  #include <asm/io.h>
>  #include <asm/page.h>
>  
> +#ifdef CONFIG_IPIPE_TRACE
> +void __attribute__ ((no_instrument_function)) mcount(void)
> +{
> +}
> +#endif
> +
>  /*
>   * gzip declarations
>   */
> @@ -112,7 +118,7 @@
>  #define INPLACE_MOVE_ROUTINE  0x1000
>  #define LOW_BUFFER_START      0x2000
>  #define LOW_BUFFER_MAX       0x90000
> -#define HEAP_SIZE             0x3000
> +#define HEAP_SIZE             0x4000
>  static unsigned int low_buffer_end, low_buffer_size;
>  static int high_loaded =0;
>  static uch *high_buffer_start /* = (uch *)(((ulg)&end) + HEAP_SIZE)*/;
> @@ -125,6 +131,7 @@
>  static void * xquad_portio = NULL;
>  #endif
>  
> +#define ZLIB_INFLATE_NO_INFLATE_LOCK
>  #include "../../../../lib/inflate.c"
>  

With the recent advent of a broken-out latency trace patch for the
standard kernel, it became clear what the last patched line is for:
nothing in this case, it only makes sense as the full
reduce-zlib-stack-hack.patch available from

http://people.redhat.com/mingo/latency-tracing-patches/patches

One only need this add-on patch when running the tracing kernel with 4k
stacks.

Philippe, I think we should not merge this particular line change. In
contrast, the HEAP_SIZE change also appears in the tracer patch itself.

Jan

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]

  parent reply	other threads:[~2005-12-29 10:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-28 15:29 [Xenomai-core] [PATCH] ipipe-tracer-v5 Jan Kiszka
2005-12-28 16:15 ` [Xenomai-core] " Philippe Gerum
2005-12-29 10:24 ` Jan Kiszka [this message]
2005-12-29 10:57   ` [Xenomai-core] " Philippe Gerum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43B3B978.7020106@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=rpm@xenomai.org \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.