All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zachary Amsden <zach@vmware.com>
To: Fawad Lateef <fawadlateef@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Highmemory Problem with RHEL3 .... 2.4.21-5.ELsmp
Date: Mon, 08 Aug 2005 00:42:57 -0700	[thread overview]
Message-ID: <42F70D01.2060908@vmware.com> (raw)
In-Reply-To: <1e62d13705080800329114fdd@mail.gmail.com>

Fawad Lateef wrote:

>	if ((unsigned long)(page - mem_map) > 0x80000) {
>		SetPageReserved(page);
>		set_bit(PG_highmem, &page->flags);
>		atomic_set(&page->count, 0xC4);
>  
>

That seems like a hackish thing to do.  Could you mistake other pages 
with the same count as pages you have reserved?

>After this in my module, i simply use kmap_atomic to map the page
>reserved by me and tried to use that ........ its working perfect in
>both 2.4.x series and also working in 2.6.x .....
>  
>

This suggests a problem with RHEL3.  If it works fine on a vanilla 2.4 
kernel, then by all means try to get support from your vendor.  If it 
works fine on the latest 2.4.X and 2.6.X linux-kernel is probably not 
the best place to look for help, although I can't blame you for trying.  
Maybe someone here already knows the answer, but unfortunately, it is 
not me.

Sorry if I missed context from your earlier posts.

Zach

  reply	other threads:[~2005-08-08  7:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-08  3:50 Highmemory Problem with RHEL3 .... 2.4.21-5.ELsmp Fawad Lateef
2005-08-08  4:34 ` Nish Aravamudan
2005-08-08  5:19 ` Zachary Amsden
2005-08-08  7:32   ` Fawad Lateef
2005-08-08  7:42     ` Zachary Amsden [this message]
2005-08-08  8:17 ` Arjan van de Ven
2005-08-08 17:24   ` Fawad Lateef
2005-08-08 17:44     ` Arjan van de Ven

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=42F70D01.2060908@vmware.com \
    --to=zach@vmware.com \
    --cc=fawadlateef@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.