No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Liam Mark 8ffd0015dd mm: cma: sleep between retries in cma_alloc
Port support from 3.10 for retrying cma allocations
to 3.18 to help resolve cma allocation failures.

It was observed that CMA pages are sometimes getting
pinned down by BG processes scheduled out in their exit
path. Since BG processes have lower priority they end up
getting less time slice by scheduler there by consuming
more time to free up CMA pages.

Also when a process is being forked copy_one_pte
may create copy-on-write mappings, when this is done
the page _count and page _mapcount are each
incremented sequentially. If the process is context
switched out after incrementing the _count but before
incrementing the _mapcount then the page will appear
temporarily pinned.

So instead of failing to allocate and directly
returning an error on the CMA allocation path we do 2
retries, with sleeps, to give the system an opportunity
to unpin any pinned pages.

Change-Id: I022a9341f8ee44f281c7cb34769695843e97d684
Signed-off-by: Susheel Khiani <skhiani@codeaurora.org>
Signed-off-by: Liam Mark <lmark@codeaurora.org>
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
[isaacm@codeaurora.org: resolve merge conflicts]
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2019-10-24 10:20:59 -07:00
arch Merge remote-tracking branch 'remotes/origin/tmp-3fde1dfb006c' into msm-lahaina 2019-10-23 14:22:32 -07:00
block blk-wbt: fix performance regression in wbt scale_up/scale_down 2019-10-06 09:26:41 -06:00
certs
crypto Merge branch 'next-lockdown' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security 2019-09-28 08:14:15 -07:00
Documentation Merge remote-tracking branch 'remotes/origin/tmp-3fde1dfb006c' into msm-lahaina 2019-10-23 14:22:32 -07:00
drivers drivers: qcom: Add SoC sleep stats driver 2019-10-24 01:40:05 -07:00
fs Linux 5.4-rc3 2019-10-17 05:28:13 -07:00
include Merge remote-tracking branch 'remotes/origin/tmp-3fde1dfb006c' into msm-lahaina 2019-10-23 14:22:32 -07:00
init Merge remote-tracking branch 'remotes/origin/tmp-3fde1dfb006c' into msm-lahaina 2019-10-23 14:22:32 -07:00
ipc Merge 5.4-rc1-prelrease into android-mainline 2019-10-02 17:58:47 +02:00
kernel Merge remote-tracking branch 'remotes/origin/tmp-3fde1dfb006c' into msm-lahaina 2019-10-23 14:22:32 -07:00
lib Merge remote-tracking branch 'remotes/origin/tmp-3fde1dfb006c' into msm-lahaina 2019-10-23 14:22:32 -07:00
LICENSES
mm mm: cma: sleep between retries in cma_alloc 2019-10-24 10:20:59 -07:00
net Merge remote-tracking branch 'remotes/origin/tmp-3fde1dfb006c' into msm-lahaina 2019-10-23 14:22:32 -07:00
patches ANDROID: quilt series: drop cuttlefish config changes 2019-10-22 14:47:59 +01:00
samples rpmsg updates for v5.4 2019-09-22 10:58:15 -07:00
scripts Merge remote-tracking branch 'remotes/origin/tmp-3fde1dfb006c' into msm-lahaina 2019-10-23 14:22:32 -07:00
security Linux 5.4-rc3 2019-10-17 05:28:13 -07:00
sound sound fixes for 5.4-rc1 2019-09-24 16:46:16 -07:00
techpack techpack: Kbuild: Fix to compile the techpack completely 2019-09-13 17:25:11 -07:00
tools Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-10-12 15:15:17 -07:00
usr kbuild: update compile-test header list for v5.4-rc2 2019-10-05 15:29:49 +09:00
virt KVM/arm fixes for 5.4, take #1 2019-10-03 12:08:50 +02:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore Merge remote-tracking branch 'remotes/origin/tmp-3fde1dfb006c' into msm-lahaina 2019-10-23 14:22:32 -07:00
.mailmap Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2019-09-18 12:34:53 -07:00
abi_gki_aarch64.xml Update ABI definition after libabigail upgrade 2019-09-22 10:51:50 +01:00
abi_gki_aarch64_3fde1dfb006c.xml ABI: aarch64: Update ABI snapshot based on v5.4-rc3 2019-10-23 19:57:45 -07:00
build.config.aarch64
build.config.allmodconfig ANDROID: Fix x86_64 allmodconfig build 2019-10-11 14:30:56 +00:00
build.config.allmodconfig.aarch64 ANDROID: create build.configs for allmodconfig 2019-09-04 15:49:40 +00:00
build.config.allmodconfig.x86_64 ANDROID: create build.configs for allmodconfig 2019-09-04 15:49:40 +00:00
build.config.common ANDROID: Move from clang r353983c to r365631c 2019-10-22 17:59:02 +00:00
build.config.gki
build.config.gki.aarch64
build.config.gki.x86_64
build.config.x86_64
COPYING
CREDITS MAINTAINERS: Remove Simon as Renesas SoC Co-Maintainer 2019-10-10 08:12:51 -07:00
Kbuild
Kconfig
MAINTAINERS USB fixes for 5.4-rc3 2019-10-12 15:37:12 -07:00
Makefile Merge remote-tracking branch 'remotes/origin/tmp-3fde1dfb006c' into msm-lahaina 2019-10-23 14:22:32 -07:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.