Thread (55 messages) 55 messages, 11 authors, 2021-05-24

Re: [PATCH v5 9/9] powerpc/mm: Enable move pmd/pud

From: Andrew Morton <akpm@linux-foundation.org>
Date: 2021-05-11 22:19:54
Also in: linux-mm

On Thu, 22 Apr 2021 11:13:23 +0530 "Aneesh Kumar K.V" [off-list ref] wrote:
mremap HAVE_MOVE_PMD/PUD optimization time comparison for 1GB region:
1GB mremap - Source PTE-aligned, Destination PTE-aligned
  mremap time:      1127034ns
1GB mremap - Source PMD-aligned, Destination PMD-aligned
  mremap time:       508817ns
1GB mremap - Source PUD-aligned, Destination PUD-aligned
  mremap time:        23046ns
Well that's nice.

How significant is this in practice?  How common is it for applications
to successfully align the region?  Do real-world applications actually
benefit from this?

Are there userspace libraries (malloc() etc) which should be reworked
to fully exploit this?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help