Date: Thu, 15 Jul 2021 20:52:49 +0800 (CST) From: youyan <hyouyan@....com> To: lkrg-users@...ts.openwall.com Subject: Re:deadlock happen on p_rb_hash[i].p_lock.lock Hi all I am sorry ,do not notice picture can not direct dispaly on mail list。I also describe it in words. cpu0 cpu1 wait for the lock ,which is holded on cpu2. cpu2 wait kretprobe_table_locks[hash].lock which is hold cpu3 cpu3 wait for the p_rb_hash[i].p_lock.lock. the value of p_rb_hash[i].p_lock.lock is 0x01. 0x01 also mean this lock is holded throuh read lock. 在 2021-07-15 20:20:50，"youyan" <hyouyan@....com> 写道： Hi all I met a deadlock issue, p_rb_hash[i].p_lock.lock is not unlocked. lkrg version is 0.8, software is android 10 ,hardware is unisoc SL8541E。 fellow picture is trace32 stack callback and register。 1：cpu 0 2：cpu1 3：cpu 2 4：cpu3 Above situation,I think where use read_lock for p_rb_hash[i].p_lock.lock ,but not unlock.Or after lock,there is some code may cause schedule. Go throuh lkrg code, I can not find this situation code. Repeating this issue need at least two weeks. Have anybody met this similar issue?? thanks and best regards ethan Content of type "text/html" skipped Download attachment "cpu0.jpg" of type "image/jpeg" (29389 bytes) Download attachment "cpu1.jpg" of type "image/jpeg" (32863 bytes) Download attachment "cpu2.jpg" of type "image/jpeg" (34918 bytes) Download attachment "cpu3.jpg" of type "image/jpeg" (41234 bytes)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.