From 01892b6aa5f68b8e4db69bd76e60496320e6108f Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 20 Aug 2025 01:07:32 -0400 Subject: kernel: synch: Deprecate global __syslock The global spinlock is highly contentious and can be a great performance bottleneck in SMP systems. Use of such mechanisms are discouraged. Signed-off-by: Ian Moffett --- sys/include/sys/spinlock.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'sys/include') diff --git a/sys/include/sys/spinlock.h b/sys/include/sys/spinlock.h index 140addc..b416152 100644 --- a/sys/include/sys/spinlock.h +++ b/sys/include/sys/spinlock.h @@ -44,9 +44,6 @@ void spinlock_release(struct spinlock *lock); int spinlock_try_acquire(struct spinlock *lock); int spinlock_usleep(struct spinlock *lock, size_t usec_max); -/* System-wide locking (be careful!!) */ -int syslock(void); -void sysrel(void); #endif #endif /* !_SYS_SPINLOCK_H_ */ -- cgit v1.2.3