2,069 views
0 votes
0 votes

Find correct statements:

  1. The read system call to fetch data from a file always blocks the invoking process.
  2.  During filesystem operations, if the file system implementation ensures that changes to data blocks of a file are flushed to disk before changes to metadata blocks (like inodes and bitmaps), then the file system will never be in an inconsistent state after a crash, and a file system checker need not be run to detect and fix any inconsistencies.
  3. Interrupt-based device drivers give superior performance to polling-based drivers because they eliminate the time spent by the CPU in copying data to and from the device hardware.

  4. Consider a process in kernel mode that acquires a spinlock. For correct operation, it must disable  interrupts on its CPU core for the duration that the spinlock is held, in both single core and multi core systems.

Please log in or register to answer this question.

Related questions

1 votes
1 votes
1 answer
3