Discussion
Consider the following statements about the Linux driver model.
1. The major number selects the driver 2. ioremap maps a physical register block 3. A tasklet may call a sleeping function
Answer: C
Correct answer: 1 and 2 only are correct
Statements 1 and 2 are correct: the major number selects the driver and the minor identifies the device within it, and ioremap maps a physical register block into kernel virtual address space. Statement 3 is exactly what a tasklet may not do - it runs in interrupt context, and sleeping there is forbidden.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development