walnux/include/nuttx
Ville Juven 04e760b1c2 sched/gettid: Move thread ID to TLS
There is no need for a gettid() syscall, as the thread ID is stable through
the life of the process. It is safe to put a copy of TID to TLS. This way
a user processes can access TID quickly via its own stack, instead of
having to use an expensive syscall.

Signed-off-by: Ville Juven <ville.juven@unikie.com>
2025-04-08 22:53:10 +08:00
..
1wire include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
aie nuttx ai driver update 2024-10-17 22:35:40 +08:00
analog drivers/analog/ads1115: Add support for the Texas Instruments ADS1115 2025-03-25 09:49:51 +01:00
audio nuttx/audio: add fake audio driver. 2024-12-20 11:47:08 -03:00
binfmt binfmt/modlib: reduce size of binary_s if CONFIG_LIBC_MODLIB is disabled 2024-12-12 02:06:05 +08:00
can nuttx/can: Modify poll logic to bind can_reader_s and pollfd. 2025-02-12 10:28:21 -03:00
clk include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
contactless include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
coresight drivers/coresight:Add TRFCR_EL1 initialization 2024-10-09 08:37:48 +08:00
crypto include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
dma include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
drivers bch: add BIOC_DISCARD ioctl that discards cached sector 2025-01-23 02:35:46 +08:00
eeprom include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
efuse include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
fs typo: fix incorrect doc 2025-03-12 10:36:30 -03:00
himem include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
hwspinlock include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
i2c include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
i3c arch_atomic: only support atomic_xx and atomic64_xx function 2024-12-04 14:03:14 +01:00
input nuttx: add open and close callback functions for the mouse. 2025-01-17 09:19:18 +08:00
ioexpander drivers/ioexpander: Add support for PCA9557 2025-03-25 15:46:09 -03:00
lcd include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
leds include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
lib include/nuttx/math.h: add missing HUGE_VALF and HUGE_VALL 2025-03-21 08:57:13 +01:00
math include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
mbox include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
mm Revert "mm_heap: double malloced memory default alignment (4 -> 8, 8 -> 16)" 2025-01-09 00:00:11 +08:00
modem include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
motor include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
mtd driver/mtd: ramtron multi-device spi bus support 2025-03-26 19:26:01 +08:00
net h7: eth: add checks for PHYID in stm32_phyinit 2025-02-12 15:00:19 -03:00
note spelling: fix spelling typo premption -> preemption 2024-11-25 22:05:05 +08:00
nx include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
pci pci: fix pci dev alloc bridge mem error 2024-12-06 21:12:24 +08:00
pinctrl include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
power drivers/power/battery: add charge/battery health interface support 2024-10-16 17:33:20 +08:00
rc include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
regmap include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
reset drivers/reset: fix typo retrun -> return 2024-12-17 20:48:07 +08:00
rf include: migrate license to ASF 2024-11-06 19:46:13 +08:00
rmt include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
rpmsg rpmsg/rpmsg_virtio_lite: rename rpmsg_virtio to rpmsg_virtio_lite 2024-12-28 22:43:20 -03:00
rptun rptun_bmp: add remote_cpu to rptun_secure_init 2025-01-14 13:34:35 +08:00
segger include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
sensors sensors/nau7802: Add support for the NAU7802 2025-04-01 09:38:37 +08:00
serial serial: Add struct serial_icounter_s and CONFIG_SERIAL_TIOCGICOUNT 2025-02-14 18:24:47 +01:00
spi Add GD55 QSPI NOR Flash support 2025-01-17 09:07:22 +08:00
syslog drivers/syslog: remove implement of syslog_putc() 2024-11-15 19:46:36 +08:00
timers drivers/pwm: add PWMIOC_FAULTS_FETCH_AND_CLEAR ioctl for fault clears 2025-02-27 11:47:51 -03:00
usb driver/syslog: add cdcacm channel 2025-03-10 13:43:54 +08:00
usrsock include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
vhost drivers/vhost: add vhost framework for NuttX 2024-10-03 17:37:40 +08:00
video include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
virtio virtio-mmio/pci: add alloc_buf/free_buf for mmio and pci transport layer 2024-10-09 23:32:58 +08:00
wireless nuttx/wireless/ioctl: Common IOCTL API for RF Modulation Technologies. 2025-03-23 17:51:15 +08:00
.gitignore
addrenv.h modlib/gnu-elf.ld.in: fix regression with armv7a 2025-01-17 23:16:26 +08:00
allsyms.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
arch.h libc/stream: Support lowsyslog. 2025-04-02 12:01:46 +08:00
ascii.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
atexit.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
atomic.h arch_atomic: change atomic_fetch_x interface to inline function 2024-12-28 11:46:04 +08:00
bits.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
board.h coredump: add BOARD_CRASHDUMP_CUSTOM support 2024-11-30 03:08:35 +08:00
cache.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
can.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
cancelpt.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
circbuf.h lib/circbuf: add static initialize macro helper 2024-12-17 20:48:23 +08:00
clock.h nuttx/clock: make NSEC_PER_USEC and others long 2025-04-02 08:29:00 -03:00
compiler.h arch/arm: Fix crash when using memcpy/memset as RAMFUNCS 2025-03-27 02:17:14 +08:00
coredump.h coredump: fix issue that nvic region overlapped by board memory region 2025-01-24 09:15:56 +08:00
crc8.h libc: add CRC-8-ROHC support 2024-10-13 03:09:26 +08:00
crc16.h libs/libc/crc16: add support of CRC-16/ANSI(aka CRC-16/IBM) 2025-04-07 12:10:05 +08:00
crc32.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
crc64.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
elf.h nuttx/elf.h: Fix build error with unknown type name 'bool'. 2024-10-15 12:35:10 +08:00
environ.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
envpath.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
ethtool.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
event.h fs: support VFS-based named event group 2024-10-09 01:40:00 +08:00
fdcheck.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
fdt.h qemu/armv7a: register cfi flash 2025-02-11 17:23:44 +08:00
gdbstub.h gdbstub: change send buffer to const char 2025-01-20 20:07:13 +08:00
hashtable.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
idr.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
init.h sched: change nxsched_islocked_global to nxsched_islocked_tcb 2024-10-05 13:49:55 +08:00
instrument.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
ipcc.h circbuf: Move from mm/circbuf to libs/libc/misc 2024-10-09 08:41:49 +08:00
irq.h sched/spin_lock: rename raw_spin_lock to spin_lock_notrace 2025-02-13 20:48:15 +08:00
kmalloc.h userspace: Exclude nuttx/arch.h 2024-11-01 16:59:37 +08:00
kthread.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
lin.h fix nxstyle 2024-12-10 01:29:00 +08:00
lirc.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
list.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
macro.h arch_atomic : Introduce CONFIG_LIBC_ARCH_ATOMIC 2024-11-15 14:01:56 +08:00
memoryregion.h libs/misc/memoryregion: remove unused memory_region 2024-10-18 21:32:48 +08:00
mmcsd.h mmcsd:add postsleep fields for mmc_ioc_cmd 2024-10-15 02:06:00 +08:00
module.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
mqueue.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
mutex.h sched/mutex: add ticked lock version for mutex/rmutex 2025-04-03 20:13:55 +08:00
notifier.h userspace: Exclude nuttx/arch.h 2024-11-01 16:59:37 +08:00
nuttx.h macro/align: Fix ALIGN_UP and ALIGN_DOWN 2025-01-11 12:13:10 +08:00
page.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
panic_notifier.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
pgalloc.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
progmem.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
pthread.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
queue.h include: queue.h: Make flink clear after sq_rem 2024-10-16 13:56:49 +08:00
random.h libc: Refine the arc4random_buf implementation 2024-10-26 18:04:21 -03:00
reboot_notifier.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
rwsem.h Revert "shced:sem: replace mutex with spinlock" 2024-10-29 23:01:39 +08:00
sched.h sched: remove csection and reduce the interrupt disabling time in sched_[un]lock 2025-01-23 19:58:49 +08:00
sched_note.h spelling: fix spelling typo premption -> preemption 2024-11-25 22:05:05 +08:00
scsi.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
sdio.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
sdio_slave.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
semaphore.h libc/semaphore: Move fast mutex wait/post paths to libc 2025-04-01 20:37:23 +08:00
signal.h signal: add sig_tgkill() kenrnel version support 2024-10-10 02:38:12 +08:00
spawn.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
spinlock.h sched/spin_lock: continue work to rename raw_spin* to spin_*_notrace 2025-02-27 06:11:58 +02:00
spinlock_type.h fix compile error 2025-01-08 09:28:58 +08:00
streams.h blk/mtdoutstream: use lib_sostream_s to support seek 2024-11-30 03:08:35 +08:00
symtab.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
tee.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
thermal.h drivers/thermal: Add support for passive trip point 2025-02-16 11:22:41 -03:00
tls.h sched/gettid: Move thread ID to TLS 2025-04-08 22:53:10 +08:00
trace.h support trace_beginex and trace_endex 2024-10-13 10:23:44 +08:00
uorb.h sensors/mcp9600: Converted MCP9600 legacy driver to UORB driver as per suggestions on PR #15525. 2025-01-21 09:09:43 +08:00
userspace.h userspace: Exclude nuttx/arch.h 2024-11-01 16:59:37 +08:00
vt100.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00
wdog.h sched/wdog: allow wd_cancel_period in the periodical wdog callback. 2025-03-08 13:52:37 -03:00
wqueue.h sched/wqueue: Rename periodic workqueue API. 2025-03-08 13:52:37 -03:00
zoneinfo.h include: migrate to SPDX identifier 2024-10-04 08:18:42 +08:00