[PATCH 0/2] rv: Tidy up with auto-cleanup

Nam Cao posted 2 patches 2 months, 3 weeks ago
There is a newer version of this series
kernel/trace/rv/rv.c          | 104 ++++++++++++++--------------------
kernel/trace/rv/rv.h          |   6 +-
kernel/trace/rv/rv_reactors.c |  58 +++++++------------
3 files changed, 66 insertions(+), 102 deletions(-)
[PATCH 0/2] rv: Tidy up with auto-cleanup
Posted by Nam Cao 2 months, 3 weeks ago
This series tidies up rv code with __free and lock guard. This is motivated
by a bug:

https://lore.kernel.org/all/20250903065112.1878330-1-zhen.ni@easystack.cn/

which was caused by a missing mutex_unlock. This series makes such bug less
likely in the future, and also reduces some code lines.

Nam Cao (2):
  rv: Convert to use lock guard
  rv: Convert to use __free

 kernel/trace/rv/rv.c          | 104 ++++++++++++++--------------------
 kernel/trace/rv/rv.h          |   6 +-
 kernel/trace/rv/rv_reactors.c |  58 +++++++------------
 3 files changed, 66 insertions(+), 102 deletions(-)

-- 
2.51.0