Re: [PATCH 1/3] parisc: Disable huge pages on Mako machines

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

 



On 2015-12-06 3:43 PM, Helge Deller wrote:
Mako-based machines (PA8800 and PA8900 CPUs) don't allow aliasing on
non-equaivalent addresses.
Where do the non equivalent addresses come from? When non equivalent mappings are used in the kernel, we try pretty hard to ensure that the user mappings are flushed prior to using the kernel mapping and then we flush the kernel mapping. There's also the copy_user_page_asm and clear_user_page_asm routines that do copies and clear operations using equivalent addresses. I have some notes on the flushing needed using these routines.

One source of non equivalent addresses is the boundary between text and data in user applications. At one time, we had data immediately after the text and non equivalent addresses. Now, the start of data is rounded up so it starts on a 4K page boundary. This may need adjustment for huge pages, but that implies a rebuild of user space.

I tend to think flush_tlb_all() doesn't work because the aliasing rules are being broken.
Disabling it causes a significant increase in time to flush the tlb.

Dave

--
John David Anglin  dave.anglin@xxxxxxxx

--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux