public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Pagesize is different between IA32 and IA64
@ 2001-11-12  8:15 Hideki Yamamoto
  2001-11-12 15:28 ` n0ano
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Hideki Yamamoto @ 2001-11-12  8:15 UTC (permalink / raw)
  To: linux-ia64

 Hello all.

 If this problem has already known, I am sorry.

 I am investigating the problem that calloc returns no
 cleared area.
 It was made on IA32 system and executes on IA64.
 I think calloc expects to clear the memories sbrk
 returned. But When the program made on IA32 is
 executing on IA64 system, sbrk sometimes returns no
 cleared area. 
 Because the Kernel on IA64 alignes the memories 16K
 bytes. However, when the progmam made on IA32 is
 executing on IA64, the function __getpagesize returns
 4Kbytes. At this case, if the memories that calloc
 requests to return sbrk(-xxx) is smaller than
 16Kbytes, the kernel do not unmap this memory.
 (I think that the time that the memories clears 0 by
 the kernel is when the kernel maps memories by the signal) 

 How do you think?

--
Regards, 
Hideki Yamamoto   (V).v.(V) # Empowered by Innovation



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2001-11-22  6:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-12  8:15 [Linux-ia64] Pagesize is different between IA32 and IA64 Hideki Yamamoto
2001-11-12 15:28 ` n0ano
2001-11-12 23:58 ` David Mosberger
2001-11-13  4:58 ` 
2001-11-13 15:15 ` n0ano
2001-11-14  6:16 ` Dugger's
2001-11-14  6:43 ` Dugger's
2001-11-14  6:53 ` Hideki Yamamoto
2001-11-14  7:00 ` Hideki Yamamoto
2001-11-15 15:33 ` n0ano
2001-11-16  6:17 ` miyoshi
2001-11-16 15:09 ` n0ano
2001-11-22  6:48 ` miyoshi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox