linux-kernel 258

  1. What is “:-!!” in C code?
  2. How do the likely() and unlikely() macros in the Linux kernel work and what is their benefit?
  3. How is the Linux kernel tested ?
  4. Is bool a native C type?
  5. What is the theoretical maximum number of open TCP connections that a modern Linux box can have
  6. Why is Linux called a monolithic kernel?
  7. Increasing the maximum number of tcp/ip connections in linux
  8. Finding which process was killed by Linux OOM killer
  9. What is the difference between the kernel space and the user space?
  10. Measure time in Linux - time vs clock vs getrusage vs clock_gettime vs gettimeofday vs timespec_get?
  11. What's the use of do while(0) when we define a macro?
  12. Writing programs to cope with I/O errors causing lost writes on Linux
  13. What is the difference between vmalloc and kmalloc?
  14. How to avoid transparent_hugepage/defrag warning from mongodb?
  15. Context switches much slower in new linux kernels
  16. How can I identify the request queue for a linux block device
  17. Selecting a Linux I/O Scheduler
  18. How to “hibernate” a process in Linux by storing its memory to disk and restoring it later?
  19. How to read/write files within a Linux kernel module?
  20. IOCTL Linux device driver
  21. kernel stack and user space stack
  22. What happens to an open file handler on Linux if the pointed file gets moved, delete
  23. Using gdb to single-step assembly code outside specified executable causes error “cannot find bounds of current function”
  24. How to start learning linux kernel programming ,coding or reading?
  25. What are vdso and vsyscall?
  26. If threads share the same PID, how can they be identified?
  27. Use of floating point in the Linux kernel
  28. Linux Kernel: System call hooking example
  29. What does “make oldconfig” do exactly in the Linux kernel makefile?
  30. What is the function of “(void) (&_min1 == &_min2)” in the min macro in kernel.h?
  31. Understanding container_of macro in the Linux kernel
  32. Why do some kernel programmers use goto instead of simple while loops?
  33. Whole one core dedicated to single process
  34. Which real-time priority is the highest priority in Linux
  35. Difference between POSIX AIO and libaio on Linux?
  36. Direct Memory Access in Linux
  37. Linux kernel live debugging, how it's done and what tools are used?
  38. What is better “int 0x80” or “syscall”?
  39. How to use netlink socket to communicate with a kernel module?
  40. Why do we need a swapper task in linux?
  41. Converting jiffies to milli seconds
  42. Accurate calculation of CPU usage given in percentage in Linux?
  43. Where does printk() print to?
  44. What is kernel section mismatch?
  45. why parallel execution on java compile take linear growth in time
  46. CPU Flame Graphs for Python
  47. Difference between KVM and LXC
  48. What does ERESTARTSYS used while writing linux driver?
  49. Difference between arm-eabi arm-gnueabi and gnueabi-hf compilers
  50. Difference between arm-eabi arm-gnueabi and gnueabi-hf compilers