Xiang Xiao a0813b808f syslog/ramlog: Replace mutex with spinlock
and optimize the critical section usage
1.Remove the unnecessary critical section in ramlog_readnotify
2.Move the enter/leave critical section out of ramlog_pollnotify loop
3.Move the critical section of ramlog_addchar to caller

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-12-14 20:50:44 -08:00
..
2023-08-03 00:06:24 -07:00
2023-12-14 20:02:52 -08:00
2023-12-09 13:44:46 -08:00
2023-09-22 13:51:00 +08:00
2023-10-17 13:43:43 +08:00
2023-12-11 17:00:10 -03:00
2023-12-14 20:02:52 -08:00
2023-12-11 02:06:51 -08:00
2023-07-08 13:50:48 +08:00
2023-12-04 22:20:50 +08:00
2023-12-11 08:43:26 -08:00