Re: 1 MB page size on Linux 2.4 for ARM9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks. Will Huge Tlb support is there in 2.4 series. I have found this document only for 2.6 series.

Regards,
Sunil
At 07:11 PM 2/25/2005, Erik Mouw wrote:

On Fri, Feb 25, 2005 at 05:19:15PM +0530, Sunil Khandelwal wrote:
> We have hardware accelerator for Video CODEC. The driver for this
> accelerator allows mapping of device memory(4MB).
>
> Our observation on other OS is that if 1MB page size is used in place of 4
> Kb page size(only for this device memory), we get better performance since
> there are less of tlb flushes.
>
> Is it possible for driver in Linux to allows mmap with page size of 1 MB
> for device memories so that we can get equivalent performance in Linux.

I haven't tried it, but maybe HugeTLB can help you. See
Documentation/vm/hugetlbpage.txt .


Erik


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux