On 9/24/2020 9:20 AM, George Prekas wrote:
If the list is uninitialized (next pointer is NULL), list_for_each gets
stuck in an infinite loop. Print a message and treat list as empty.
Signed-off-by: George Prekas
---
scripts/gdb/linux/lists.py | 5 +
1 file changed, 5 insertions(+)
diff
On 9/24/2020 3:42 AM, pet...@infradead.org wrote:
> On Wed, Sep 23, 2020 at 10:00:41AM -0500, George Prekas wrote:
>> If an interrupt arrives between llist_add and
>> send_call_function_single_ipi in the following code snippet, then the
>> remote CPU will not receive the I
If the list is uninitialized (next pointer is NULL), list_for_each gets
stuck in an infinite loop. Print a message and treat list as empty.
Signed-off-by: George Prekas
---
scripts/gdb/linux/lists.py | 5 +
1 file changed, 5 insertions(+)
diff --git a/scripts/gdb/linux/lists.py b/scripts
_ipi | |
| | f1
| | f2
The call from CPU 1 for function f2 will be delayed because CPU 0 was
interrupted.
Signed-off-by: George Prekas
---
kernel/smp.c
Hi Kieran,
On 9/22/2020 2:11 PM, Kieran Bingham wrote:
> Hi George,
>
> On 22/09/2020 18:17, Prekas, George wrote:
>>
>> On 9/22/2020 9:32 AM, Jan Kiszka wrote:
>>>
>>> On 22.09.20 16:28, George Prekas wrote:
>>>> If the next pointer is NULL
If the next pointer is NULL, list_for_each gets stuck in an infinite
loop.
Signed-off-by: George Prekas
---
scripts/gdb/linux/lists.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/gdb/linux/lists.py b/scripts/gdb/linux/lists.py
index c487ddf09d38..424a91c1aa8b 100644
--- a
6 matches
Mail list logo