Linux/kernel
-
[리눅스 커널] Interrupt - SoftirqLinux/kernel 2023. 10. 18. 19:46
글의 참고 - http://www.wowotech.net/irq_subsystem/soft-irq.html - https://lwn.net/Articles/831678/ - http://www.wowotech.net/irq_subsystem/workqueue.html - https://lwn.net/Articles/520076/ - https://lwn.net/Articles/274695/ - https://stackoverflow.com/questions/20887918/why-softirq-is-used-for-highly-threaded-and-high-frequency-uses - https://zhuanlan.zhihu.com/p/480267700 글의 전제 - 밑줄로 작성된 글은 강조 표시를 ..
-
[리눅스 커널] Synchronization - RCU OverviewLinux/kernel 2023. 10. 16. 03:26
글의 참고 - https://www.kernel.org/doc/Documentation/RCU/Design/Data-Structures/Data-Structures.html - https://pdos.csail.mit.edu/6.828/2020/readings/rcu-decade-later.pdf - https://lwn.net/Articles/262464/ - https://en.wikipedia.org/wiki/Read-copy-update - http://www.wowotech.net/kernel_synchronization/rcu_fundamentals.html - http://www.wowotech.net/kernel_synchronization/223.html - https://www.kern..
-
[리눅스 커널] Synchronization - sequential locksLinux/kernel 2023. 10. 11. 00:04
글의 참고 - Linux Device Driver 3rd Edition - UnderStanding The Linux Kernel 3rd Edition - Linux Kernel Development (3rd Edition) - https://mirrors.edge.kernel.org/pub/linux/kernel/people/christoph/gelato/gelato2005-paper.pdf 글의 전제 - 밑줄로 작성된 글은 강조 표시를 의미한다. - 그림 출처는 항시 그림 아래에 표시했다. 글의 내용 - Overview : seqlock 은 2.6 커널에 등장한 lock-free 동기화 메커니즘이다. `sequence counter`를 통해서 동기화를 구현한다. readers 들은 크리티컬 섹션에 `..
-
[리눅스 커널] LDM - ueventLinux/kernel 2023. 10. 3. 16:58
글의 참고 - https://linux.die.net/man/8/hotplug - https://lwn.net/Articles/52621/ - https://www.kernel.org/doc/Documentation/usb/hotplug.txt - https://chromium.googlesource.com/aosp/platform/system/core/+/refs/heads/master/init/README.ueventd.md - http://www.makelinux.net/ldd3/chp-14-sect-7.shtml - https://www.cnblogs.com/schips/p/linux_device_model_4.html - http://www.wowotech.net/device_model/ueve..
-
[리눅스 커널] Timer - timekeepingLinux/kernel 2023. 10. 3. 15:18
글의 참고 - https://docs.kernel.org/core-api/timekeeping.html - https://www.kernel.org/doc/Documentation/timers/timekeeping.txt - http://www.wowotech.net/timer_subsystem/timekeeping.html - https://www.kernel.org/doc/Documentation/timers/timers-howto.txt - https://blog.csdn.net/orangeboyye/article/details/125744132 - https://blog.csdn.net/u012294613/article/details/128904491 글의 전제 - 밑줄로 작성된 글은 강조 표시를..
-
[리눅스 커널] Timer - linux clockLinux/kernel 2023. 9. 30. 03:27
글의 참고 - https://docs.kernel.org/core-api/timekeeping.html - https://stackoverflow.com/questions/14270300/what-is-the-difference-between-clock-monotonic-clock-monotonic-raw - https://stackoverflow.com/questions/3523442/difference-between-clock-realtime-and-clock-monotonic - http://www.wowotech.net/timer_subsystem/clock-id-in-linux.html - https://megastudy.net/mobile/smart/entinfo/brd/list.asp?t_I..
-
[리눅스 커널] Timer - high resolution timerLinux/kernel 2023. 9. 30. 00:28
글의 참고 - https://docs.kernel.org/timers/hrtimers.html - https://docs.kernel.org/timers/highres.html - https://lwn.net/Articles/482168/ - https://blog.csdn.net/Roland_Sun/article/details/106235963 - https://lwn.net/Articles/461592/ - https://blog.csdn.net/droidphone/article/details/8074892 - https://people.kernel.org/joelfernandes/on-workings-of-hrtimers-slack-time-functionality 글의 전제 - 밑줄로 작성된 글은..
-
[리눅스 커널] Timer - tick layerLinux/kernel 2023. 9. 28. 14:48
글의 참고 - https://github.com/torvalds/linux - https://blog.csdn.net/Roland_Sun/article/details/105667098?spm=1001.2014.3001.5502 글의 전제 - 밑줄로 작성된 글은 강조 표시를 의미한다. - 그림 출처는 항시 그림 아래에 표시했다. 글의 내용 - Overview : tick layer 는 주로 tick-broadcast 와 tick-sched 에서 자주 참조된다. tick-layer 는 하드웨어에 의존적인 `clock event device`를 추상화시키는 역할을 맡고있다. 그러나, clock event device 의 모든 기능을 추상화 시키지는 못하고, `register` 및 `power` 관련 기능들에 ..