>>fork,exec ipc,how many types of ipc
after fork, does new process get file handles and locks
>>what's are spin lock? are they better than mutex?
how many spinlocks work on smp and up architecure?
>>what will happen /can u have printf/printk inside an interrupt handler?
>>what's the difference between wake_up() and wake_up_interruptible() apis
in the linux kernel
when should sude which one, how it should be decided?
>>what's the difference between sleeep_on() and interruptible_sleep_on()
>>what do the following codes mena?
main()
{
fork();
fork();
fork();
printf("hello world");
}
>>what's IOCTL, how it si used in user and kernel driver code?
>>what's cache?
how it is used and mapped the physical address cache and virtual address
cache?
>>what's the virtual memory?
>>what type of scheduling is there in RTOS?
>>what's the differnce between hard real-time and soft real-time OS?
>>IN UNIX, what's a defunct process?
>>what's your understanding of this statement?
Is|grep a
>>how to find a child process in unix?
>>what's difference between named pipes and unnamed pipes?
>>write unix script to replace all instance of "a savings of x%" with "(x%
off)", where 'x'e
represents an actual percentage in a given text file.
>>write unix script to find the specific string from the given file
>>_interrupt to define an interrupt service rountine(ISR), comment on the
code
_interrupt double compute_area(double r)
{
double area = pi*r*r;
printf("\nArea = %f",area);
return area;
}
>>dma controller
>>cache coherence-MESI/MSI protocol
>>can you have reentrant code inside interrupt handler