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
linuxppc-dev
Reply to
Aneesh Kumar K.V, 2021-04-22
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?
Thread (55 messages) 55 messages, 11 authors, last reply 2021-05-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help