When si_mem_available() calculates 'available', it takes SWAP
into account. But if CONFIG_SWAP is N or SWAP is off(some embedded system
would like to do that), there is no need to consider it.
Signed-off-by: Yang Yang
---
mm/page_alloc.c | 8 +++-
1 file changed, 7 insertions(+),
se hang.
This patch introduces kyber_depth_updated(), so that kyber can update
async depth when queue depth changes.
Signed-off-by: Yang Yang
---
v2:
- Change the commit message
- Change from sbitmap::depth to 2^sbitmap::shift
---
block/kyber-iosched.c | 29 +
1 file changed,
On 2021/2/5 17:13, Yang Yang wrote:
Hang occurs when user changes the scheduler queue depth, by writing to
the 'nr_requests' sysfs file of that device.
The details of the environment that we found the problem are as follows:
an eMMC block device
total driver tags: 16
tack limit = 0xed0ea1b0)
Backtrace:
[] (futex_wake+0x0/0x11c) from []
[] (do_futex+0x0/0x870) from []
[] (SyS_futex+0x0/0x16c) from []
Code: e1a07000 e5903000 e153 e243000c (e5934000)
Signed-off-by: Yang Yang
---
kernel/futex.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
di
blk_exit_queue will free elevator_data, while blk_mq_run_work_fn
will access it. Move cancel of hctx->run_work to the front of
blk_exit_queue to avoid use-after-free.
Fixes: 1b97871b501f ("blk-mq: move cancel of hctx->run_work into
blk_mq_hw_sysfs_release")
Signed-off-by: Yang
Signed-off-by: Yang Yang
---
block/kyber-iosched.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/block/kyber-iosched.c b/block/kyber-iosched.c
index a38c5ab103d1..af73afe7a05c 100644
--- a/block/kyber-iosched.c
+++ b/block/kyber-iosched.c
@@ -611,6 +611,9 @@ static void
_set_active(dev)
scsi host0: runtime PM trying to activate child device host0 but parent
(880.ufshc) is not active
Fixes: 57d104c153d3 ("ufs: add UFS power management support")
Signed-off-by: Yang Yang
---
drivers/scsi/ufs/ufshcd.c | 15 +--
1 file changed, 9 i
) missed the chance to resume the
queue, so blk_queue_enter() may wait here forever.
The solution is to wake up the mq_freeze_wq after runtime suspend
completed, make blk_pm_request_resume() reexamine the q->rpm_status flag.
Signed-off-by: Yang Yang
---
block/blk-pm.c | 2 ++
1 file changed,
the tag “Fixes” to the commit message?
Thank you for your suggestions.
--
Yang Yang
Commit-ID: 25f71d1c3e98ef0e52371746220d66458eac75bc
Gitweb: http://git.kernel.org/tip/25f71d1c3e98ef0e52371746220d66458eac75bc
Author: Yang Yang
AuthorDate: Fri, 30 Dec 2016 16:17:55 +0800
Committer: Thomas Gleixner
CommitDate: Mon, 13 Feb 2017 16:12:22 +0100
futex: Move futex_init
10 matches
Mail list logo