From: Mark Rustad <mrustad@mac.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.16 hugetlbfs problem
Date: Wed, 22 Mar 2006 17:32:57 -0600 [thread overview]
Message-ID: <EE85F1AA-A258-4D4F-A46F-34253AEE280E@mac.com> (raw)
In-Reply-To: <20060322.141300.62168729.davem@davemloft.net>
On Mar 22, 2006, at 4:13 PM, David S. Miller wrote:
> From: Mark Rustad <mrustad@mac.com>
> Date: Wed, 22 Mar 2006 16:10:33 -0600
>
>> I seem to be having trouble using hugetlbfs with kernel 2.6.16. I
>> have a small test program that worked with 2.6.16-rc5, but fails with
>> 2.6.16-rc6 or the release. The program is below. Given a path to a
>> file on a hugetlbfs, it opens/creates the file, mmaps it and tries to
>> access the first word. On 2.6.16-rc5, it works. On 2.6.16, it hangs
>> page-faulting until it is killed.
>
> On what platform? Things like hugetlb and address space layout
> (you're requesting a specific mmap() address I noticed) are very
> platform specific.
This is on a Xeon, without PAE with the 1GB no-highmem memory map, in
all three cases. This is a 32-bit kernel running on a Nacona CPU. I
also had an unmap call over the range to be mmap-ed, but the failure/
success cases were the same, so I removed it to reduce the test
program further.
--
Mark Rustad, MRustad@mac.com
next prev parent reply other threads:[~2006-03-22 23:32 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-22 22:10 2.6.16 hugetlbfs problem Mark Rustad
2006-03-22 22:13 ` David S. Miller
2006-03-22 23:32 ` Mark Rustad [this message]
2006-03-23 5:43 ` Chen, Kenneth W
2006-03-23 15:36 ` Mark Rustad
2006-03-23 19:13 ` Mark Rustad
2006-03-24 17:52 ` 2.6.16 hugetlbfs problem - DEBUG_PAGEALLOC Mark Rustad
2006-03-25 1:24 ` Chen, Kenneth W
2006-03-25 1:47 ` David S. Miller
2006-03-25 2:53 ` Andrew Morton
2006-03-25 7:29 ` Chen, Kenneth W
2006-03-25 8:15 ` Andrew Morton
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=EE85F1AA-A258-4D4F-A46F-34253AEE280E@mac.com \
--to=mrustad@mac.com \
--cc=linux-kernel@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