Redian新闻
>
unix 面试题,求答案 (转载)
avatar
unix 面试题,求答案 (转载)# Unix - 噫吁兮,危乎高哉
k*w
1
【 以下文字转载自 JobHunting 讨论区 】
发信人: klyw (mm), 信区: JobHunting
标 题: unix 面试题,求答案
发信站: BBS 未名空间站 (Thu Nov 24 23:28:35 2011, 美东)
>>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
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。