Skip to contentSkip to conversation

HighMem test

DISCUSSION Sanjay AG 2 participants 2 messages Jun 21, 2002 Memory management

lore
Share & tools
lore

Sanjay AG

author
#0 lore raw

Hi,
I am trying to test a ethernet driver that supports 64-bit addressing. I was hoping that I would see buffers which are mapped beyond the 4G physical addr (i.e > 32-bit) if I have HIGHMEM enabled and use apps that make use of "sendfile" for Zero-copy (like in pure-ftpd) on a IA-32 machine. However my pci_map_page for the buffer seems to have the upper-32 bits all 0's. Is there something I am missing w/regard to HighMem operation? or is there a better test app that I can use?

BTW my test machine setup has 5GB of RAM running a 2.4.16 HIGHMEM enabled kernel.

Would appreciate any responses or pointers...
-Sanjay

Signature · 11 lines
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Save up to $160 by signing up for NetZero Platinum Internet service.
http://www.netzero.net/?refcd=N2P0602NEP8

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/
#1 lore raw

That was fixed in 2.4.19-rc1.

-ben

Quoted 19 lines · Sanjay AG

Hi,
I am trying to test a ethernet driver that supports 64-bit addressing. I was hoping that I would see buffers which are mapped beyond the 4G physical addr (i.e > 32-bit) if I have HIGHMEM enabled and use apps that make use of "sendfile" for Zero-copy (like in pure-ftpd) on a IA-32 machine. However my pci_map_page for the buffer seems to have the upper-32 bits all 0's. Is there something I am missing w/regard to HighMem operation? or is there a better test app that I can use?

BTW my test machine setup has 5GB of RAM running a 2.4.16 HIGHMEM enabled kernel.

Would appreciate any responses or pointers...
-Sanjay

Signature · 11 lines
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Save up to $160 by signing up for NetZero Platinum Internet service.
http://www.netzero.net/?refcd=N2P0602NEP8

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/
Signature · 5 lines
"You will be reincarnated as a toad; and you will be much happier."
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/