0x02 A glance into the kernel: Overview on kernel services

Wednesday, February 26, 2020

Exercises

I’d write down my own answers, please point out my errors with no mercy.

I have to think more on these questions.

Q1

Describe a scenario in which the timer-wheel algorithm used for the callout queue does not work well. Suggest an alternative data structure that runs more quickly than does the timer-wheel algorithm for your scenario.

Q2

The SIGPROF profiling timer was originally intended to replace the profil system call to collect a statistical sampling of a program’s program counter. Give two reasons why thr profil facility had to be retained.

Q3

What weakness in the process-accounting mechanism makes the latter unsuitable for use in a commercial environment?

kernel
CC BY 4.0

0x03 A glance into the kernel: Proc source

为 Netlify 构建设定时区

comments powered by Disqus