memory issue on ppc

2 messages, 2 authors, 2007-06-06 · open the first message on its own page

memory issue on ppc

From: Sekhar Pedamallu <hidden>
Date: 2007-06-06 09:14:11

Hi Guyz!

 

        I m working on  powerpc and new to linux . wrote a small program
where I allocate memory for 100, 1000 ,10000 bytes and memset them to zero .
when I allocate to more than 8108 bytes and memset to zero it fails . but
when I memset to any other ASCII value it passes . can u help me out as I m
stuck with it for a long time . is there any problem with the library ?

 

 

Thanks & Regards ,

Sekhar Pedamallu

 


http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin@patni.com and delete this mail. 
_____________________________________________________________________

Re: memory issue on ppc

From: Detlev Zundel <hidden>
Date: 2007-06-06 14:31:45

Hello Sekhar,
        I m working on  powerpc and new to linux . wrote a small program where
I allocate memory for 100, 1000 ,10000 bytes and memset them to zero . when I
allocate to more than 8108 bytes and memset to zero it fails . but when I
memset to any other ASCII value it passes . can u help me out as I m stuck with
it for a long time . is there any problem with the library ?
My crystal ball is out of order right now so I would need some more
details to answer.

Please post the code and tell us on what platform and with which
kernel version, gcc version, etc. you are working.

Cheers
  Detlev

-- 
   "Our enemies  are innovative  and resourceful, and so are we.  They
never stop thinking about new ways to harm our country and our people,
and neither do we."
       -- George W. Bush during a defense bill ceremony on 5. Aug 2004
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu@denx.de
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help