Skip to content

Conversation

@kernel-patches-daemon-bpf-rc
Copy link

Pull request for series with
subject: rqspinlock: Annotate rqspinlock lock acquiring functions with __must_check
version: 2
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1026504

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 792f258
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1026504
version: 2

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 878ee3c
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1026504
version: 2

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: ae24fc8
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1026504
version: 2

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: b7f7d76
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1026504
version: 2

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 4dd3a48
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1026504
version: 2

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 8f7cf30
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1026504
version: 2

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: c427320
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1026504
version: 2

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: fad8040
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1026504
version: 2

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: acf8726
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1026504
version: 2

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 4617b30
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1026504
version: 2

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 590699d
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1026504
version: 2

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: f2cb066
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1026504
version: 2

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 8c868a3
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1026504
version: 2

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 8f6ddc0
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1026504
version: 2

@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 5262cb2
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1026504
version: 2

…check

Locking a resilient queued spinlock can fail when deadlock or timeout
happen. Mark the lock acquring functions with __must_check to make sure
callers always handle the returned error.

Suggested-by: Andrii Nakryiko <[email protected]>
Acked-by: Kumar Kartikeya Dwivedi <[email protected]>
Signed-off-by: Amery Hung <[email protected]>
@kernel-patches-daemon-bpf-rc
Copy link
Author

Upstream branch: 688b745
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=1026504
version: 2

Return errors from raw_res_spin_lock{_irqsave}() to writelock(). This is
simply to silence the unused result warning. lock_torture_writer()
currently does not handle errors returned from writelock(). This aligns
with the existing torture test for ww_mutex.

Signed-off-by: Amery Hung <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants