Odysseia
Publish on 2022-08-03
endless journey

Abbrivation && Concept

  • ABI: Application Binary Interface (what is ABI?)
  • AVX: Advanced Vector Extensions (instruction set)
  • ISA: Instruction Set Architecture
  • PLT: Procedure Linkage Table
  • CPE: Clock cycles Per Element
  • ATT: An Assembly Syntax
  • misc: Miscellaneous files

CSAPP

https://github.com/humbornjo/csapp

GDB

Cheatsheet

Reverie

OS

What is the difference between MOV and LEA?

https://stackoverflow.com/questions/1699748/what-is-the-difference-between-mov-and-lea

Is performance of less/greater better than less/greater or equal

https://stackoverflow.com/questions/27016781/is-performance-of-less-greater-than-than-better-than-less-greater-than-or-equ

What is a memory fence?

https://stackoverflow.com/questions/286629/what-is-a-memory-fence

Disassembly and Binary Analysis Fundamentals

https://hexterisk.github.io/blog/posts/2020/04/02/disassembly-and-binary-analysis-fundamentals/

How does multithreading utilizes multiple cores?

https://stackoverflow.com/questions/63589801/how-does-multithreading-utilizes-multiple-cores

Why mmap() is faster than sequential IO?

https://stackoverflow.com/questions/9817233/why-mmap-is-faster-than-sequential-io

What does reaping children imply?

https://stackoverflow.com/questions/58885831/what-does-reaping-children-imply

Overhead over switch between process and thread

Thread context switch Vs. process context switch

Why is it less overhead to switch between threads belonging to the same process than to switch between threads belonging to different processes?

Definition of "synchronization primitive"

https://stackoverflow.com/questions/8017507/definition-of-synchronization-primitive

What is the first process a typical Linux kernel starts?

https://stackoverflow.com/questions/21612801/what-is-the-first-process-a-typical-linux-kernel-starts

All about MMU

Why does the OS need a page table if the MMU already has one?

Why doesn’t the MMU require a gargantuan amount of memory?

What is the difference between TLB and MMU in OS?

What does swap do to Page Table Entries

https://stackoverflow.com/questions/16581490/how-does-kernel-know-which-pages-in-the-virtual-address-space-correspond-to-a-s

Conservative garbage collector

https://stackoverflow.com/questions/7629446/conservative-garbage-collector

Unix system file tables

https://stackoverflow.com/questions/14189944/unix-system-file-tables

Which one to use: static variable or heap allocated variable?

Memory allocation areas in C++ (Stack vs heap vs Static)

Thread local memory

What is thread local storage? Why we need it?

How to implement semaphore?

Implementation of a semaphore in C

C & low-level semaphore implementation

https://gist.github.com/mepcotterell/6f0a779befe388ab822764255e3776ae

Why is malloc() considered a library call and not a system call?

https://stackoverflow.com/questions/71413587/why-is-malloc-considered-a-library-call-and-not-a-system-call

`gprof` under the hood

https://docs-archive.freebsd.org/44doc/psd/18.gprof/paper.pdf

http://gnu.cs.utah.edu/Manuals/gprof-2.9.1/html_mono/gprof.html#SEC25

How exactly does gprof work?

Is it possible to read another thread’s program counter?

Can we read and fault-inject another thread’s program counter?

threads and LWP in Linux

https://stackoverflow.com/questions/28476456/threads-and-lwp-in-linux

Net

  1. Output of “ip route show”

Misc

Links

© 2024 humbornjo :: based on 
nobloger  ::  rss