lkml.org 
[lkml]   [2005]   [Aug]   [8]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 08 Aug 2005 00:42:57 -0700
FromZachary Amsden <>
SubjectRe: Highmemory Problem with RHEL3 .... 2.4.21-5.ELsmp
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-08 09:45    [from the cache]
©2003-2008