- Jan 14, 2021
-
-
Yingzhong.Zha authored
Change-Id: Ia7e53bbefff6fb45bbacbf8745bb67f1707e3bbe Signed-off-by:
Yingzhong.Zha <yzha@codeaurora.org>
-
- Dec 15, 2020
-
-
Pavankumar Kondeti authored
This change is for general scheduler improvement. Change-Id: I32507b063f3c35f5281ed4f477c5c78fa4a397a8 Signed-off-by:
Pavankumar Kondeti <pkondeti@codeaurora.org>
-
- Dec 01, 2020
-
-
Lingutla Chandrasekhar authored
Walt sched clusters are populated based on possible cpus in cluster, so get the sibling cpus from cpu_topology. Change-Id: I9336e80cd66817c67e0f0333b1e2253a28e80fd5 Signed-off-by:
Lingutla Chandrasekhar <clingutla@codeaurora.org>
-
- Nov 24, 2020
-
-
qctecmdr authored
-
- Nov 20, 2020
-
-
Lingutla Chandrasekhar authored
Add window rollover trace event to track cpu's WALT window rollover. Change-Id: I4a2e7291f31a1ac50144086eaf6ae920a07ca545 Signed-off-by:
Lingutla Chandrasekhar <clingutla@codeaurora.org>
-
- Nov 18, 2020
-
-
Lingutla Chandrasekhar authored
Remove unnecessary code in sched_update_cpu_freq_min_max. Change-Id: I9e4be4687e39cfef2b370306db7d8f3de6cdb84e Signed-off-by:
Lingutla Chandrasekhar <clingutla@codeaurora.org>
-
- Nov 04, 2020
-
-
Lingutla Chandrasekhar authored
There are multiple callers for walt_irq_work_queue outside of sched tech pack, so move it to sched.h. Change-Id: I201c49fced1926d62c2819eb859c633ee5d09658 Signed-off-by:
Lingutla Chandrasekhar <clingutla@codeaurora.org>
-
- Oct 06, 2020
-
-
Satya Durga Srinivasu Prabhala authored
Below warning is observed during boot when lockdep is enabled: [ 0.122198] ============================= [ 0.126373] WARNING: suspicious RCU usage [ 0.130545] 5.4.57-qgki-debug-g003be53-dirty #2 Not tainted [ 0.136352] ----------------------------- [ 0.140526] include/linux/cgroup.h:488 suspicious rcu_dereference_check() usage! [ 0.148159] [ 0.148159] other info that might help us debug this: [ 0.148159] [ 0.156454] [ 0.156454] rcu_scheduler_active = 1, debug_locks = 1 [ 0.163210] no locks held by swapper/0/0. [ 0.167381] [ 0.167381] stack backtrace: [ 0.171942] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.57-qgki-debug-g003be53-dirty #2 [ 0.180347] Hardware name: Qualcomm Technologies, Inc. LahainaP MTP (DT) [ 0.187233] Call trace: [ 0.189770] dump_backtrace.cfi_jt+0x0/0x4 [ 0.193994] show_stack+0x18/0x24 [ 0.197420] dump_stack+0xe0/0x160 [ 0.200930] lockdep_rcu_suspicious+0x138/0x154 [ 0.205591] add_new_task_to_grp+0x8c/0x1ac [ 0.209893] wake_up_new_task+0x38/0x1f4 [ 0.213942] _do_fork+0x264/0x37c [ 0.217362] kernel_thread+0x50/0x78 [ 0.221054] rest_init+0x2c/0x1f0 [ 0.224479] start_kernel+0x0/0x424 [ 0.228070] start_kernel+0x3ac/0x424 Fix it by adding RCU lock while dereferencing css for the task. Change-Id: I3ef72f7e8abc2d40b7d954d8c1a486aead785333 Signed-off-by:
Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
-
- Sep 23, 2020
-
-
Pavankumar Kondeti authored
This change is for general scheduler improvement. Change-Id: I5ed736962d87503401e2a50c099ac96198205e86 Signed-off-by:
Pavankumar Kondeti <pkondeti@codeaurora.org>
-
- Sep 21, 2020
-
-
Pavankumar Kondeti authored
There is a potential accounting issue during window size change, if the roll over is delayed such that the current task's mark start went past the new window start with the updated window size. For example, system is running with window size = 20 msec. So it would be like 20 | 40 | 60 | 80 | 100 | 120 At t= 98, the window size is changed to 8 msec. We expect this to be handled at the next window roll over i.e t = 100 For some reason 98 < t < 109, interrupts are blocked on a CPU on which roll over is supposed to happen. Now at t = 109, the window roll over happen in the IRQ work. First we roll over the window such that wallclock (wc) = 109, mark_start (ms) = 109, window_start (ws) = 100. New window size is set to 8 msec. At this point, we did not realize that the ms/wc is went past the next window i.e 100 + 8 = 108 msec. At t = 110, a task wakes up. We first call update_task_ravg() on the current, for which ms = 109. We detect the window roll over but fail to roll over the CPU busy time counters (prs/crs) since ms > ws. see update_cpu_busy_time() for new_window detection. Now the utra() is called for the waking task and its ms < ws and we roll over window for it. if it migrates to another CPU, we try to subtract this task prs from the CPU's prs which is not updated. This results in accounting issues. This problem can be fixed easily by detecting the delayed window roll over and deferring the window size update to next window roll over. Since this is a very rare event, we don't miss anything. Also this is more optimized compared to any changes in update_task_ravg() which is called many times compared to a window roll over with a window size update pending. Change-Id: Ia6e1750e632bf7594f0f83656986ad4393bfbe5a Signed-off-by:
Pavankumar Kondeti <pkondeti@codeaurora.org>
-
- Sep 15, 2020
-
-
Shaleen Agrawal authored
Currently we use a printk_deferred to notify when the window size changes. However, this adds a complication while debugging because it requires looking at the dmesg output. Instead, we introduce a trace hook, as this can be easily enabled for collections, and can help further improve scheduler debugging tools. Change-Id: I6809589748eef606403940567bd8c66a774b93ea Signed-off-by:
Shaleen Agrawal <shalagra@codeaurora.org>
-
- Sep 02, 2020
-
-
Abhijeet Dharmapurikar authored
This change is for general scheduler improvement. Change-Id: I04bfddcc9c8142350287d7f39425b9490cb2be06 Signed-off-by:
Abhijeet Dharmapurikar <adharmap@codeaurora.org> Signed-off-by:
Shaleen Agrawal <shalagra@codeaurora.org>
-
- Aug 27, 2020
-
-
Abhijeet Dharmapurikar authored
Now that we've switched to clean code, allow errors from compiler. While at it, update copyright years as needed. Change-Id: Ib5a7c74f10888736913bb444996b068c721bdfe0 Signed-off-by:
Abhijeet Dharmapurikar <adharmap@codeaurora.org> Signed-off-by:
Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
-
- Aug 14, 2020
-
-
Abhijeet Dharmapurikar authored
This change is for general scheduler improvement. Change-Id: I7cb85ea7133a94923fae97d99f5b0027750ce189 Signed-off-by:
Abhijeet Dharmapurikar <adharmap@codeaurora.org>
-
Abhijeet Dharmapurikar authored
Change-ID ref: I4f27c09a69df54ec1b8239cc18d34b7ff2797618 Change-Id: I6566378ae464d64b2db89f79e903dd4dd5cedc88 Signed-off-by:
Abhijeet Dharmapurikar <adharmap@codeaurora.org>
-
- Jul 30, 2020
-
-
qctecmdr authored
-
- Jul 29, 2020
-
-
Shaleen Agrawal authored
This change is for general scheduler improvement. Change-Id: I4c42da1db011df91c970bb2604847dfc41ef96e2 Signed-off-by:
Shaleen Agrawal <shalagra@codeaurora.org>
-
- Jul 28, 2020
-
-
Pavankumar Kondeti authored
This change is for general scheduler improvement. Change-ID ref: I4f27c09a69df54ec1b8239cc18d34b7ff2797618 Change-Id: Ib191f8731334884442328a6d9fe54d108fa9d189 Signed-off-by:
Pavankumar Kondeti <pkondeti@codeaurora.org>
-
- Jul 22, 2020
-
-
Pavankumar Kondeti authored
This change is for general scheduler improvement. Change-ID ref: Ice7c923e5f72b4748c16e361f47dc32e9f7cff75 Change-Id: Ibf6e73402825f11f115a81062e7fb86b96c5c664 Signed-off-by:
Pavankumar Kondeti <pkondeti@codeaurora.org>
-
- Jul 21, 2020
-
-
Pavankumar Kondeti authored
This change is for general scheduler improvement. Change-ID ref: I84f84973b815fb0bb95d1d950a4ac90be11f9470 Change-Id: I407fd53677008aa356629a77ead39bedfffea3e5 Signed-off-by:
Pavankumar Kondeti <pkondeti@codeaurora.org>
-
- Jul 17, 2020
-
-
Satya Durga Srinivasu Prabhala authored
This change is for general scheduler improvement. Change-ID ref: I57bfdd290e0859327568f68961e645e21061538a Change-Id: I9da301aededcba6c0a6ed20e93b36ababf740ede Signed-off-by:
Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
-
- Jun 30, 2020
-
-
Pavankumar Kondeti authored
This change is for general scheduler improvement. Change-ID ref: I466a92f2640cd5058f79355ee0cf354c41c79f7b Change-Id: I5763b37d2ef553e52154b42c4ce631fb6711c739 Signed-off-by:
Pavankumar Kondeti <pkondeti@codeaurora.org>
-
- Jun 18, 2020
-
-
Satya Durga Srinivasu Prabhala authored
This change is for general scheduler improvement. Change-ID refs: I13cc5d7098c9dd96f8d70650d9a5c95de4be593f Change-Id: I3effc7c2a180021be843e67413ddff91ed43beb2 Signed-off-by:
Shaleen Agrawal <shalagra@codeaurora.org>
-
- Jun 14, 2020
-
-
qctecmdr authored
-
- Jun 11, 2020
-
-
Amir Vajid authored
This change is for general scheduler improvement. Change-ID ref: I595b549cb525ad077784d33b5ff77f7c45a8681a Change-Id: Ie256671b8f721325e1997e022fa2f0f88737833d Signed-off-by:
Amir Vajid <avajid@codeaurora.org>
-
Pavankumar Kondeti authored
This change is for general scheduler improvement. Change-ID ref: Iff35918f3b6d955c2d66acefad0259ebbe57876d Change-Id: I02a62047b5f894e6ca1c2ac3f5428319cabfed24 Signed-off-by:
Pavankumar Kondeti <pkondeti@codeaurora.org>
-
Pavankumar Kondeti authored
This change is for general scheduler improvement. Change-ID ref: I845266b7b37beccd48a37d443b52a3aca878b9d7 Change-Id: I35afea798561cd1b2d79a6baf944d1e1774ccd3d Signed-off-by:
Pavankumar Kondeti <pkondeti@codeaurora.org>
-
- Jun 08, 2020
-
-
Shaleen Agrawal authored
This change is for general scheduler improvement. Change-ID refs: I891e4fd5481e687e0f703cdefbe20e83f5218497 Change-Id: I97c9bbe938ce4ea53db20fa8b2b0afc07e701166 Signed-off-by:
Shaleen Agrawal <shalagra@codeaurora.org>
-
- May 26, 2020
-
-
Shaleen Agrawal authored
This change is for general scheduler improvement. Change-ID ref: I71e71d61e080c1ce948bd0400f9ebb0705a2210b Change-Id: I20be3bd07acd1e33b3628af6f336ee7249b3a8a4 Signed-off-by:
Shaleen Agrawal <shalagra@codeaurora.org>
-
- May 16, 2020
-
-
Shaleen Agrawal authored
This change is for general scheduler improvement. Change-ID ref: Id65344640e1929de995de27a71b621155d12e02c Change-Id: Ia2b19bfbc9c7bea30a5d983da2f4a957d28db243 Signed-off-by:
Shaleen Agrawal <shalagra@codeaurora.org>
-
- Apr 29, 2020
-
-
Shaleen Agrawal authored
This change is for general scheduler improvement. Change-ID ref: Ifa86ca22d5faa2b70521061fa992ff228179a2af Change-Id: I37dbc5f15ccca2e8f78b869528b591418c2f4541 Signed-off-by:
Shaleen Agrawal <shalagra@codeaurora.org>
-
- Apr 13, 2020
-
-
Shaleen Agrawal authored
This change is for general scheduler improvement. Change-Id ref: Ic4f12a790d94de52b8c311424c3be9ac8eea5e00 Change-Id: I5ef54e100514f199fb7273b8639cb5b0e2fdb694 Signed-off-by:
Shaleen Agrawal <shalagra@codeaurora.org>
-
- Mar 25, 2020
-
-
Satya Durga Srinivasu Prabhala authored
This change is for general scheduler improvement. Change-Id ref: I51064ae7da3dc9d266a67fbb8b430b0ef89a0d2a Change-Id: I9a0c672a0dde58ed0018a6d9c802461947131869 Signed-off-by:
Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
-
- Mar 20, 2020
-
-
Satya Durga Srinivasu Prabhala authored
This change is for general scheduler improvement. Change-Id ref: I6b60b67b299a1159d9c17f6a6ff66539263b3be6 Change-Id: I78f83869c0af8967dc40cca529bdc4e8fc141ea5 Signed-off-by:
Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
-
- Feb 26, 2020
-
-
Satya Durga Srinivasu Prabhala authored
This change is for general scheduler improvement. Change-Id: I7190d46757632200d5aa6f51365f652b9d88a230 Signed-off-by:
Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
-
- Feb 11, 2020
-
-
Satya Durga Srinivasu Prabhala authored
This change is for general scheduler improvement. Change-Id: I11ffeb4e32034be4f84f78c3a31e5b9acae69594 Signed-off-by:
Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
-
Satya Durga Srinivasu Prabhala authored
This change is for general scheduler improvement. Change-Id: Ic34f4a9824d641fcde232be60a1448c04472b589 Signed-off-by:
Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
-
Satya Durga Srinivasu Prabhala authored
This change is for general scheduler improvement. Change-Id: I22288cb14ea3dee0fddf64465974083f302752ea Signed-off-by:
Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
-
- Jan 31, 2020
-
-
Satya Durga Srinivasu Prabhala authored
This change is for general scheduler improvement. Change-Id: I76ac6029e1711d6a3476d64c2cebc0cd3b449cf2 Signed-off-by:
Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
-
- Jan 28, 2020
-
-
Satya Durga Srinivasu Prabhala authored
This change is for general scheduler improvement. Change-Id: Id4d02696379a1ed77453ace96adc6bd98d9db225 Signed-off-by:
Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
-