SchOS/kernel/sys
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz 438e7af141 Keyboard lights, TLB shootdowns, battery in sysfs, /proc/pid/maps
Caps, Num and Scroll Lock now light their LEDs on PS/2 and USB keyboards,
share one state between keyboards, and stop toggling on key repeat. X sets
them through evdev writes while it holds the keyboard.

Unmapping memory in a process with threads on other CPUs now flushes their
TLBs with an IPI. Without it a freed page stayed reachable through stale
translations, which corrupted Epiphany's heap on SMP.

ACPI batteries and AC adapters appear under /sys/class/power_supply.
/proc/<pid>/maps lists file mappings, and a process killed by a fault
names the file and offset it died in. r8169 gets a 256-entry RX ring.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
2026-10-25 13:43:27 +01:00
..
linux_abi.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
sys_compat.c Threads 2026-10-25 03:03:50 +01:00
sys_event.c epoll: edge-triggered descriptors lost their edges on more than one CPU 2026-10-25 11:59:12 +01:00
sys_fs.c inotify, faccessat2, fsync for Linux programs, and D-Bus credentials 2026-10-25 06:40:28 +01:00
sys_mem.c Keyboard lights, TLB shootdowns, battery in sysfs, /proc/pid/maps 2026-10-25 13:43:27 +01:00
sys_net.c Netlink receives say they came from the kernel 2026-10-25 12:46:51 +01:00
sys_poll.c epoll: edge-triggered descriptors lost their edges on more than one CPU 2026-10-25 11:59:12 +01:00
sys_proc.c NetSurf: what GTK's images and libcurl's resolver needed 2026-10-25 04:10:26 +01:00
sys_sig.c Threads 2026-10-25 03:03:50 +01:00
sys_time.c Job control, function keys, and real sleeps 2026-10-25 02:37:45 +01:00
syscall.c Pseudo-terminals, and what tmux and htop needed around them 2026-10-25 02:11:10 +01:00
table.inc inotify, faccessat2, fsync for Linux programs, and D-Bus credentials 2026-10-25 06:40:28 +01:00