From: minchan@kernel.org (Minchan Kim)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC 0/3] arm: support get_user_pages_fast
Date: Thu, 6 Sep 2018 19:22:09 +0900 [thread overview]
Message-ID: <20180906102212.218294-1-minchan@kernel.org> (raw)
Recently, I got a report get_user_pages_fast helps app's launching time
due to reducing uninterruptible sleep time because it could reduce
mmap_sem lock contentions when app is launching.
To support gupf in ARM-non-LPAE, first patch reorders memory type table
to use 5th bit of the page table. It seems we don't use the bit in ARMv6+
but it needs double check from maintainers.
Second patch introduces L_PTE_SPECIAL for arm so that last patch can
support get_user_pags_fast.
I would greatly appreciate if guys review that I screw up something,
especially, architecture stuffs.
Thanks.
Minchan Kim (3):
arm: mm: reordering memory type table
arm: mm: introduce L_PTE_SPECIAL
arm: mm: support get_user_pages_fast
arch/arm/Kconfig | 2 +-
arch/arm/include/asm/pgtable-2level.h | 16 +-
arch/arm/include/asm/pgtable-3level.h | 6 -
arch/arm/include/asm/pgtable.h | 13 ++
arch/arm/mm/Makefile | 6 +
arch/arm/mm/gup.c | 221 ++++++++++++++++++++++++++
arch/arm/mm/proc-macros.S | 16 +-
7 files changed, 261 insertions(+), 19 deletions(-)
create mode 100644 arch/arm/mm/gup.c
--
2.19.0.rc1.350.ge57e33dbd1-goog
WARNING: multiple messages have this Message-ID (diff)
From: Minchan Kim <minchan@kernel.org>
To: Andrew Morton <akpm@linux-foundation.org>, linux@armlinux.org.uk
Cc: steve.capper@linaro.org, will.deacon@arm.com,
catalin.marinas@arm.com, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, kernel-team@android.com,
android-treble-mediatek-ext@partner.android.com,
Minchan Kim <minchan@kernel.org>
Subject: [RFC 0/3] arm: support get_user_pages_fast
Date: Thu, 6 Sep 2018 19:22:09 +0900 [thread overview]
Message-ID: <20180906102212.218294-1-minchan@kernel.org> (raw)
Recently, I got a report get_user_pages_fast helps app's launching time
due to reducing uninterruptible sleep time because it could reduce
mmap_sem lock contentions when app is launching.
To support gupf in ARM-non-LPAE, first patch reorders memory type table
to use 5th bit of the page table. It seems we don't use the bit in ARMv6+
but it needs double check from maintainers.
Second patch introduces L_PTE_SPECIAL for arm so that last patch can
support get_user_pags_fast.
I would greatly appreciate if guys review that I screw up something,
especially, architecture stuffs.
Thanks.
Minchan Kim (3):
arm: mm: reordering memory type table
arm: mm: introduce L_PTE_SPECIAL
arm: mm: support get_user_pages_fast
arch/arm/Kconfig | 2 +-
arch/arm/include/asm/pgtable-2level.h | 16 +-
arch/arm/include/asm/pgtable-3level.h | 6 -
arch/arm/include/asm/pgtable.h | 13 ++
arch/arm/mm/Makefile | 6 +
arch/arm/mm/gup.c | 221 ++++++++++++++++++++++++++
arch/arm/mm/proc-macros.S | 16 +-
7 files changed, 261 insertions(+), 19 deletions(-)
create mode 100644 arch/arm/mm/gup.c
--
2.19.0.rc1.350.ge57e33dbd1-goog
next reply other threads:[~2018-09-06 10:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-06 10:22 Minchan Kim [this message]
2018-09-06 10:22 ` [RFC 0/3] arm: support get_user_pages_fast Minchan Kim
2018-09-06 10:22 ` [RFC 1/3] arm: mm: reordering memory type table Minchan Kim
2018-09-06 10:22 ` Minchan Kim
2018-09-10 16:50 ` Catalin Marinas
2018-09-10 16:50 ` Catalin Marinas
2018-09-14 6:26 ` Minchan Kim
2018-09-14 6:26 ` Minchan Kim
2018-09-06 10:22 ` [RFC 2/3] arm: mm: introduce L_PTE_SPECIAL Minchan Kim
2018-09-06 10:22 ` Minchan Kim
2018-09-06 10:22 ` [RFC 3/3] arm: mm: support get_user_pages_fast Minchan Kim
2018-09-06 10:22 ` Minchan Kim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180906102212.218294-1-minchan@kernel.org \
--to=minchan@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.