Code review: Linux kernel serial consoles still statically allocated in 2021!

preview_player
Показать описание

0:00 Introduction
15:00 Comments
Рекомендации по теме
Комментарии
Автор

That's why we learn lessons from the past to make our own architecture. Just "lower" everything until you cannot make it any more simple.

Monolith kernels are so out of fashion now. That's why you do constraint-based polymorphic nanokernels where every operation is a resource constraint definition while every program is a circuit with local state and a generic type ;)

SimGunther
Автор

Maybe a bootstrapping issue: you want to have early kernel output to the serial console and don't have memory management yet? But even then you could allocate an early ttyS0 statically and the rest dynamically.. Interesting finding. :-)

andreasbaumann
Автор

lmao, "you don't have like 8 soundcards" -- truth though. NOBODY has like 8 soundcards installed at once :p

zzco