Linux Kernel Interview Questions
- 0of 0 votes
AnswersSay there is an operation like a=b; Its the statement for which you want to avoid concurrency. (Say SMP or preemption or what ever)
- NVIDIA reject March 15, 2011
With out using locks(spin,semaphore,mutex etc. etc.) how would you make this statement protected?
Ans: atomic operations (atomic assign etc.)| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer C Linux Kernel - 1of 1 vote
AnswersHow would you debug kernel code.
- NVIDIA reject March 15, 2011| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer C Debugging Linux Kernel - 0of 0 votes
AnswersHow would you do benchmarking (compare the performance) in a device driver code? Apart from timing or time is there any other standard way? He basically meant comparing Programmed I/O and DMA. (Leave security etc. only performance comparison)
- NVIDIA reject March 15, 2011| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer C Linux Kernel - 1of 1 vote
AnswersHow would you handle sleeping or blocking instructions in an Interrupt Service Routine(if unavoidable) or basically if the length of ISR is long?
- NVIDIA reject March 15, 2011
Ans: Tasklets and Workqueues. PLEASE LET ME KNOW IF THERE ARE ANY OTHER.| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer C Linux Kernel - 0of 0 votes
AnswersHow does malloc work ?
- Bandiccot March 12, 2011| Report Duplicate | Flag | PURGE
Riverbed Software Engineer / Developer Computer Architecture & Low Level Linux Kernel Operating System - 0of 0 votes
AnswersSystem call? What happens in low level.
- Krish March 09, 2011| Report Duplicate | Flag | PURGE
NetApp Software Engineer / Developer Linux Kernel - 0of 0 votes
AnswerSignal handling mechanism.
- Krish March 09, 2011| Report Duplicate | Flag | PURGE
NetApp Software Engineer / Developer Linux Kernel - 0of 0 votes
AnswersEntry points into kernel?
- Krish March 09, 2011| Report Duplicate | Flag | PURGE
NetApp Software Engineer / Developer Linux Kernel - 0of 0 votes
AnswerHow do you debug?
- SK March 09, 2011| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer Linux Kernel - 0of 0 votes
AnswersHow would sleep in a kernel?
- SK March 09, 2011| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer C Linux Kernel - 0of 0 votes
AnswersDifference between semaphore and mutex.
- SK March 09, 2011| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer C Linux Kernel - 0of 0 votes
AnswerWrite a pseudo code for page fault handler.
- SK March 09, 2011| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer Linux Kernel - 0of 0 votes
AnswersWhat is an ISR? What are the basic operations there?
- SK March 09, 2011| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer C Linux Kernel - 0of 0 votes
AnswerHow do you improve performance of kernel code.
- SK March 09, 2011| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer Linux Kernel - 1of 1 vote
AnswersHow can one change the value of the Kernel Variables during the runtime?
- jrs September 04, 2010| Report Duplicate | Flag | PURGE
Testing / Quality Assurance Linux Kernel - 0of 0 votes
AnswersUnix script to find the specific string from the given file?
- Jig August 10, 2010| Report Duplicate | Flag | PURGE
Goldman Sachs Software Engineer / Developer Linux Kernel - -1of 1 vote
Answershow to find a child process in unix
- sunny July 31, 2010| Report Duplicate | Flag | PURGE
Bloomberg LP Software Engineer / Developer Linux Kernel - 0of 0 votes
AnswersUser application will block on IOCTL, in kernel untill interrupt arrives this IOCTL will be blocked. When interrupt comes IOCTL should retun. Desing this mechanism.
- sumeet4linux May 04, 2010| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer Linux Kernel - 1of 1 vote
AnswersWhat is IOCTL, how it is used in user and kernel driver code ?
- sumeet4linux May 04, 2010| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer Linux Kernel - 0of 0 votes
AnswersDifferentiate between threads and processes
- dnivra April 21, 2010
What are spin locks, are they better then mutex ?| Report Duplicate | Flag | PURGE
Riverbed Software Engineer / Developer Linux Kernel - 0of 0 votes
AnswersHow to write a perticular value on real hardware register or hardware address in device driver programming ?
- sumeet4linux April 16, 2010| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Linux Kernel - 0of 0 votes
AnswersGiven a url how do u download page from server. He was looking for some command to do that in windows when I mentioned u can use wget in linux. How do u get all pages of that url. How do u eliminate cycles and same pages?
- AM January 13, 2010| Report Duplicate | Flag | PURGE
Google Software Engineer / Developer Linux Kernel - 0of 0 votes
AnswersHow SpinkLocks work in SMP and UP architectures.
- Pia December 04, 2009| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer / Developer Linux Kernel - 0of 0 votes
AnswersAsked me the process of system call ,what happens
- desi grad August 24, 2009
exactly and how the mode toggles between user/kernel mode and vice versa| Report Duplicate | Flag | PURGE
Qualcomm Software Engineer / Developer Linux Kernel