public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: nomura@hpc.bs1.fc.nec.co.jp
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] Re: Pagesize is different between IA32 and IA64
Date: Mon, 12 Nov 2001 08:59:48 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590698805467@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590698805466@msgid-missing>

As a supplement to his report,

it seems that sys_brk() in mm/mmap.c uses PAGE_ALIGN and brk syscall in
ia32 emulation uses the sys_brk as it is.
Does this result in the situation that ia32 brk() behaves as if the page
size is 16KB, though in reality 4KB?

From: "Hideki Yamamoto" <hideki@hpc.bs1.fc.nec.co.jp>
Subject: [Linux-ia64] Re: Pagesize is different between IA32 and IA64
Date: Mon, 12 Nov 2001 17:29:53 +0900

>  I think the solution of this problem is which
>  following them
>   - __getpagesize function should returns the real pagesize
>   - It needs to prepare the another function that
>     returns real pagesize for malloc instead.
> 
>  I have confirmed this problem, the Kernel version is
>  2.4.7 and the libc version is 2.2.4.
> 
>  This is a sample program.

Best regards.
--
NOMURA, Jun'ichi <j-nomura@ce.jp.nec.com, nomura@hpc.bs1.fc.nec.co.jp>
HPC Operating System Group, 1st Computers Software Division,
Computers Software Operations Unit, NEC Solutions.


      reply	other threads:[~2001-11-12  8:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-12  8:29 [Linux-ia64] Re: Pagesize is different between IA32 and IA64 Hideki Yamamoto
2001-11-12  8:59 ` nomura [this message]

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=marc-linux-ia64-105590698805467@msgid-missing \
    --to=nomura@hpc.bs1.fc.nec.co.jp \
    --cc=linux-ia64@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox