![]() Trying to get it to work under PREEMPT_RT just disable it. The threshold event handler is a deprecated memcg v1 feature. Local-irq-off block on non-PREEMPT_RT configurations. Local-irq-save section to code flow which is usually within an Moving the code aroundĪnd avoiding then would then lead to an additional local-irq-save Memcg_check_events() resulted in `twisted code'. Peter Zijlstra, Thomas Gleixner, Vladimir Davydov, Waiman Long,ĭuring the integration of PREEMPT_RT support, the code flow around ` (3 subsequent siblings) 4 siblings, 1 reply 32+ messages in thread 16:43 ` mm/memcg: Protect per-CPU counter by disabling preemption on PREEMPT_RT where needed Sebastian Andrzej Siewior 16:43 mm/memcg: Address PREEMPT_RT problems instead of disabling it Sebastian Andrzej 16:43 ` Sebastian Andrzej Siewior * mm/memcg: Disable threshold event handlers on PREEMPT_RT Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 WARNING: possible circular locking dependency detected lockdep complains were triggered by test_core and test_freezer (both test_memcontrol complained always about It looked good except for theįollowing (which was also there before the patches): I tested them on CONFIG_PREEMPT_NONE + CONFIG_PREEMPT_RT with the PREEMPTION kernels (including PREEMPT_DYNAMIC). The numbers seems to make sense to not restrict it only to PREEMPT_RT but to Patch #3 is a follow up #4 restricts the task_obj usage to !PREEMPTION kernels. This is okay since the counter are never written from Interrupts are not true on PREEMPT_RT and therefore preemption isĭisabled. ![]() There are a few spots where assumption about disabled The updates to per-CPU counters are usually synchronised by disabling cgroup.event_control / memory.soft_limit_in_bytes is disabled on Where it has been suggested that I should try again with memcg instead This series is a follow up to the initial aims to enable MEMCG for PREEMPT_RT instead of disabling it. Peter Zijlstra, Thomas Gleixner, Vladimir Davydov, Waiman Long ` (4 more replies) 0 siblings, 5 replies 32+ messages in threadįrom: Sebastian Andrzej Siewior 16:43 UTC ( / raw)Ĭc: Andrew Morton, Johannes Weiner, Michal Hocko, Michal Koutný, 16:43 ` mm/memcg: Disable threshold event handlers on PREEMPT_RT Sebastian Andrzej Siewior All of help / color / mirror / Atom feed * mm/memcg: Address PREEMPT_RT problems instead of disabling it. Mm/memcg: Address PREEMPT_RT problems instead of disabling it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |