SUSE Labs Conference 2020 - State of printk rework - lockless ring buffer challenge

Опубликовано: 09 Октябрь 2020
на канале: SUSE Labs
222
5

Thanks to #bigbluebutton for hosting the conference!

printk() is the kernel mouth. It mostly works except when it does not or when it takes too long. This has been problem for everyone. There were several attemps to improve the situation but many of them ended as endless chain of hacks.

Two hallf hears ago, one brave and motivated guy, John Ogness, started preparing a massive printk() rework to make it more reliable and predictable. It was part of the final attack to upstream Real Time patchset.

First RFC has been sent 1.5 half year ago. It solved many problems but it was not acceptable as it was. The decision was to split the rework into few stages and start with lockless ringbuffer.

The lockless ringbuffer is finally in the maintainer tree and will likely go into 5.10.

Why does printk() need yet another lockless ring buffer? Why did it take so long to get it done? What are the next steps of the printk() rework? Do I understand or like lockless algorithms now?

Let's see if the talk can answer these and maybe more questions.

Speaker
Petr Mladek


Смотрите видео SUSE Labs Conference 2020 - State of printk rework - lockless ring buffer challenge онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь SUSE Labs 09 Октябрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 222 раз и оно понравилось 5 людям.