public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Ho Shui Choy Stanley  PS03B  NCS <scho@ncs.com.sg>
To: "'Jonathan Larmour'" <jlarmour@redhat.com>
Cc: "Ecos-Discuss (E-mail)" <ecos-discuss@sources.redhat.com>
Subject: RE: [ECOS] Separate the heap from bss section
Date: Sun, 13 May 2001 18:23:00 -0000	[thread overview]
Message-ID: <19C34CD863B1D4118E2800508BAF663A0112F632@STONE> (raw)

I have found out that when the heap section is defined in the same memory
region with bss section, then only it will use the specify heap. When the
bss section and the heap is defined in different memory region, the heap
count will be 0. Why is this so? Is it a known bug?

Stanley

-----Original Message-----
From: Jonathan Larmour [ mailto:jlarmour@redhat.com ]
Sent: Friday, May 11, 2001 13:50
To: Ho Shui Choy Stanley PS03B NCS
Cc: Ecos-Discuss (E-mail)
Subject: Re: [ECOS] Separate the heap from bss section


Ho Shui Choy Stanley PS03B NCS wrote:
> 
> I have done that but it is still not used. I have specify that the heap
size
> be 128KB and the fall back memory pool size is 64KB. When I use the
> mallinfo, it reported that the size was only 64KB.
> 
> below is from the generated from the build in pkgconf/heaps.hxx
> 
[snip]
> #define CYGMEM_HEAP_COUNT 0
[snip]
> Should the heap count be 1 instead of 0?

Yes, but changing it by hand won't do the right thing. Try deleting the
heaps.cxx file in the services/memalloc/common/current build directory. The
problem you are seeing may be associated with this FIXME in the CDL:

       # FIXME this should have a dependency on mlt_headers, but CDL
doesn't
        # permit custom build rules depending on phony targets
 

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

             reply	other threads:[~2001-05-13 18:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-13 18:23 Ho Shui Choy Stanley PS03B NCS [this message]
2001-05-13 19:33 ` Jonathan Larmour
2001-05-13 19:57 ` Lewin A.R.W. Edwards
  -- strict thread matches above, loose matches on Subject: below --
2001-05-13 20:41 Ho Shui Choy Stanley PS03B NCS
2001-05-15  6:03 ` Jonathan Larmour
2001-05-13 19:54 Ho Shui Choy Stanley PS03B NCS
2001-05-13 20:25 ` Jonathan Larmour
2001-05-10 22:44 Ho Shui Choy Stanley PS03B NCS
2001-05-10 22:49 ` Jonathan Larmour
2001-05-10 19:28 Ho Shui Choy Stanley PS03B NCS
2001-05-10 21:57 ` Jonathan Larmour

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=19C34CD863B1D4118E2800508BAF663A0112F632@STONE \
    --to=scho@ncs.com.sg \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=jlarmour@redhat.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).