aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorJonghyeon Kim <tome01@ajou.ac.kr>2022-04-01 11:28:57 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2022-04-01 11:46:09 -0700
commit78049e94a171837e5a882814ca5bc4f14f265603 (patch)
tree7b9bb26d768031c5b8e94c0d0adb7f63c59df790 /tools/perf/scripts/python/bin/stackcollapse-report
parentmm/kmemleak: reset tag when compare object pointer (diff)
downloadlinux-78049e94a171837e5a882814ca5bc4f14f265603.tar.gz
linux-78049e94a171837e5a882814ca5bc4f14f265603.zip
mm/damon: prevent activated scheme from sleeping by deactivated schemes
In the DAMON, the minimum wait time of the schemes decides whether the kernel wakes up 'kdamon_fn()'. But since the minimum wait time is initialized to zero, there are corner cases against the original objective. For example, if we have several schemes for one target, and if the wait time of the first scheme is zero, the minimum wait time will set zero, which means 'kdamond_fn()' should wake up to apply this scheme. However, in the following scheme, wait time can be set to non-zero. Thus, the mininum wait time will be set to non-zero, which can cause sleeping this interval for 'kdamon_fn()' due to one deactivated last scheme. This commit prevents making DAMON monitoring inactive state due to other deactivated schemes. Link: https://lkml.kernel.org/r/20220330105302.32114-1-tome01@ajou.ac.kr Signed-off-by: Jonghyeon Kim <tome01@ajou.ac.kr> Reviewed-by: SeongJae Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
56bdbaf1134039e5fa5&follow=1'>pcnet-cs, axnet_cs: add new IDs, remove dup ID with less infoKomuro2-1/+2 2008-09-03ixgbe: initialize interrupt throttle rateAndy Gospodarek1-0/+6 2008-09-03net/usb/pegasus: avoid hundreds of diagnosticsDavid Brownell1-5/+6 2008-09-03powerpc: Fix for getting CPU number in power_save_ppc32_restore()Kumar Gala2-2/+3 2008-09-03powerpc: Fix build error with 64K pages and !hugetlbfsBenjamin Herrenschmidt1-4/+2 2008-09-03powerpc: Work around gcc's -fno-omit-frame-pointer bugTony Breeds4-7/+13 2008-09-03powerpc: Make sure _etext is after all kernel textStephen Rothwell1-3/+4 2008-09-03powerpc: Only make kernel text pages of linear mapping executablePaul Mackerras1-7/+11 2008-09-03powerpc: Fix uninitialised variable in VSX alignment codeMichael Neuling1-1/+1 2008-09-02tipc: Don't use structure names which easily globally conflict.David S. Miller19-117/+117 2008-09-02[x86] Fix TSC calibration issuesThomas Gleixner1-54/+181 2008-09-02ipsec: Fix deadlock in xfrm_state management.David S. Miller1-9/+23 2008-09-02drivers/char/random.c: fix a race which can lead to a bogus BUG()Andrew Morton1-9/+10 2008-09-02pm_qos_requirement might sleepJohn Kacur1-16/+9 2008-09-02rtc-cmos: wake again from S5Rafael J. Wysocki1-6/+32