When allocating higher order pages, currently only the head page is set
with page owner info, leaving the tail pages with previous or stale info.
This patch sets the info for tail pages too and sets the time of free in
page owner info of all pages during free. This patch also adds an extra
info to page extension flags to help check if page is in buddy or not.
Change-Id: I96d13485af698d586a4dd7b1092a379a645c8fcb
Signed-off-by: Sudarshan Rajagopalan <sudaraja@codeaurora.org>
[cgoldswo@codeaurora.org: Fix merge conflicts, add GKI #ifdef guards]
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
When Android has a userspace low memory killer, we want to configure
certain parts of the reclaim paths in the kernel.
HAVE_USERSPACE_LOW_MEMORY_KILLER can be used to perform this configuration,
and was removed when reverting a patch that defined it. Re-add it.
Change-Id: Ic069c92a9d7928f0402705df8375d5384e9f743c
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
This reverts commit de77105488.
The effectiveness of should_ulmk_retry() is being re-assessed - for the
time being, we'll let the OOM killer run, when an allocation in alloc_pages
fails.
Change-Id: Ife3af938fc356ce46f8d9c538aaf6bd5d0c404f8
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
Align memshare driver to be generic kernel image compliant by
modifying the driver to dynamically loadable.
Change-Id: I92bab11f8ff4279b94bd4bce6d17640a3715c26c
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
Now we can have a tag associated with the path. Add this information
to the interconnect_summary file, as the current information in debugfs
is incomplete.
Change-Id: If4629841e3899ea6176d86f5151340f4bacc1002
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Git-commit: 2c5127a7fa0369801e623e8c6e58193f86d31d73
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
change qseecom_process_listener_from_smcinvoke parameters to work
with smcinvoke and upstream scm driver.
Change-Id: Ib5c12f731a4b8f3fba44b3bf8818da023080d708
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
__qcom_scm_invoke_smc() receives buffer to pass data received
in ret[2] but fails to copy data. Fixing the issue by copying
data into buffer.
Change-Id: Ia448f6c9ef680e8c1e98c6bf62f6f125d0dabddc
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
The walt_stats member (walt_sched_stats structure) defined in cfs_rq
is only needed when CFS_BANDWIDTH feature is enabled. So add this
member under CFS_BANDWIDTH feature in cfs_rq structure.
Change-Id: I9ddfb00da3377a66a18522eaecdb8b0f76517e8e
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Use rq_clock to send timestamp to util update handler
if WALT is not enabled in the system.
Change-Id: I1e367c506a2fc286a4dfbac9d1f6cdd897d31f2d
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
Tasklets are supposed to finish their work quickly and
should not block the current running process, but it is not
guaranteed that. Currently softirq_entry/exit can be used to
know total tasklets execution time, but not helpful to track
individual tasklet's execution time. With that we can't find
any culprit tasklet function, which is taking more time.
Add tasklet_entry/exit trace point support to track
individual tasklet execution.
Change-Id: I3496d15f64d020916774e673ccb4a8116ea2f2c9
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
[satyap@codeaurora.org: remove hi trace points and update commit text]
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Remove CONFIG_IIO from lahaina-QGKI fragment as it is now present
in gki_defconfig and not needed here any longer.
Change-Id: I2d231c77c836489840e73326ce60455d58a2c93a
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
Enable msm_performance driver as a part of Lahaina porting.
Change-Id: Ib73af3655061a823f64ea0c9f863aa405c67e85e
Signed-off-by: Kishore Sri venkata Ganesh Bolisetty <bsrivenk@codeaurora.org>
Move the interconnect framework internal structs into a separate file,
so that it can be included and used by ftrace code. This will allow us
to expose some more useful information in the traces.
Change-Id: I97720025fcff087e19ddf6eb1f092fd42b5b78b2
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Git-commit: dd018a9cf9108f9c7d924f6fe09aed745e78a67e
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Georgi Djakov <gdjako@codeaurora.org>
Add support for targeting alternate bcm-voters which
live under different RSC devices.
Change-Id: Ia1ad8a4c6c6b8531f0dae67cc7b22e2faa55c418
Signed-off-by: David Dai <daidavid1@codeaurora.org>
Signed-off-by: Georgi Djakov <gdjako@codeaurora.org>