Question

Linux 1. Describe the relationship between user mode and kernel mode during a system call? Explain...

Linux

1. Describe the relationship between user mode and kernel mode during a system call? Explain in detail.

2. In system calls for file input/output, why is buffering needed? Explain in detail.

Homework Answers

Answer #1

1. A system call occurs when a process requests some services in the user mode from the kernel. This can be achieved if the mode is changed from system to kernel mode.

The system is commonly in user mode while running an application. If the application needs some services from kernel mode, an interrupt is generated which is called a system call. This causes the mode to be changed from user to kernel.

2. Input/output related to a file requires execution of some input/output operations and transfer of data. Buffering serves as a throughput improving mechanism. For every device engaged in input/output service, a buffer is associated. A temporary space is used where data and commands are stored. They are transferred into the processor and out of the processor for transfer of data to take place at the same time.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
1. Explain the difference between ethics and morals and describe the relationship between the two. Can...
1. Explain the difference between ethics and morals and describe the relationship between the two. Can ethics hold a person to higher standards than laws? Explain. 2. What elements should be included in a firm's mission statement?
1. Explain the relationship between investment and long-term economic growth and describe the relationship graphically in...
1. Explain the relationship between investment and long-term economic growth and describe the relationship graphically in an AD/AS graph. **Please post original answer and include graph***** THANKS!!
You will write a program that loops until the user selects 0 to exit. In the...
You will write a program that loops until the user selects 0 to exit. In the loop the user interactively selects a menu choice to compress or decompress a file. There are three menu options: Option 0: allows the user to exit the program. Option 1: allows the user to compress the specified input file and store the result in an output file. Option 2: allows the user to decompress the specified input file and store the result in an...
Describe and explain the relationship between power output and heart rate for each condition: walking up...
Describe and explain the relationship between power output and heart rate for each condition: walking up stairs - running up stairs. -
1. Explain the relationship between these four file systems: Joliet, ISO9660, CDFS, UDF
1. Explain the relationship between these four file systems: Joliet, ISO9660, CDFS, UDF
1. Assess NAS versus SAN. What is the relationship between these concepts and system architecture? 2....
1. Assess NAS versus SAN. What is the relationship between these concepts and system architecture? 2. Describe the ramifications of the virtualization of storage.
1. Why an effective information system must be a biased system? Explain. 2. Describe the business...
1. Why an effective information system must be a biased system? Explain. 2. Describe the business perspective on information systems.
1) Describe the relationship between gene methylation and breast cancer. 2) describe how high calorie-- low...
1) Describe the relationship between gene methylation and breast cancer. 2) describe how high calorie-- low nutrient food may impact fetal body wight development.
5. a. Describe the relationship between the interest rates on bonds of different maturities. b. If...
5. a. Describe the relationship between the interest rates on bonds of different maturities. b. If we follow the Expectation Hypothesis, calculate the interest rate on a 3-year bond if a 1-year bond has an interest rate of 2% and is expected to have an interest rate of 3% next year, and 5% in two years. c. How does the Liquidity Premium Theory explain an upward-sloping yield curve during normal economic environment? d. Explain the economic implications of an inverted...
1. Explain the relationship of plasmids, transformation, and antibiotic resistance in bacteria. 2. Describe the structure...
1. Explain the relationship of plasmids, transformation, and antibiotic resistance in bacteria. 2. Describe the structure of a typical amino acid and explain how they chemically combine to make a protein 3. Describe the process of catabolic repression by glucose concentration, as seen in the lac operon control.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT