Hacker Newsnew | past | comments | ask | show | jobs | submit | t-8ch's commentslogin

SMP has been implemented recently and is queued for the next release.


It doesn't strive to be a complete implementation.

If users send patches support for them, new syscalls can be added. Or downstream users can keep those definitions in their own program. More complex features like threads are out of scope.

(Disclaimer: I'm one of the maintainers)


Sure, I'm more saying, because nolibc is so minimal, that still leaves room for things like this Chromium library.


The kernel also provides a minimal vdso elf parser:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...


The latest version of that patch is here: https://lore.kernel.org/lkml/20230820094118.20521-2-julius@z...

Also it should be trivial to run this as an out-of-tree module until it's merged. With DKMS or put hid_bl.c into an empty directory and add the following makefile:

``` ifneq ($(KERNELRELEASE),) # kbuild part of makefile obj-m := hid_bl.o

else # normal makefile KDIR ?= /lib/modules/`uname -r`/build

modules:

%: $(MAKE) -C $(KDIR) M=$$PWD $@

endif ```


this is really helpful - thanks!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: