after enabling the following options in annotation:
CONFIG_DEBUG_KMEMLEAK                           policy<{'arm64': 'y'}>          
                                                                                
                                               
CONFIG_DEBUG_KMEMLEAK_AUTO_SCAN                 policy<{'arm64': 'y'}>
CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF               policy<{'arm64': 'n'}>
CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE             policy<{'arm64': '16000'}>
CONFIG_DEBUG_KMEMLEAK_TEST                      policy<{'arm64': 'm'}>

and boot the device:

root@mtk-genio:/home/ubuntu# uname -r
5.15.0-1035-mtk
root@mtk-genio:/home/ubuntu# cat /sys/kernel/debug/kmemleak
root@mtk-genio:/home/ubuntu#

** Tags removed: verification-needed-jammy-linux-mtk
** Tags added: verification-done-jammy-linux-mtk

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2081686

Title:
   [g1200] possible kernel memory leak through CONFIG_DEBUG_KMEMLEAK

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-mtk/+bug/2081686/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to