Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Operating system 1. Why do we use tables, like the file table, rather than just passing pointers to kernel data structures directly to an application?

Operating system

1. Why do we use tables, like the file table, rather than just passing pointers to kernel data structures directly to an application?

2. What would be the value of large page sizes, particularly to scientific applications with large memory requirements?

3. Would it make sense to let applications supply their own virtual-to-physical address translation routines? Why or why not?

4. Would passing strings on the stack rather than in buffers be more or less efficient?

5. Assume the following line of code appears in the Pintos system call to open after reading in a bounded buffer of characters (the filename). Why would it be there?

filename[SizeExceptionFilename - 1] = '\0';

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Database Modeling With Neo4j

Authors: Ajit Singh

2nd Edition

B0BDWT2XLR, 979-8351798783

More Books

Students also viewed these Databases questions

Question

=+ (a) Show that C is uncountable but trifling.

Answered: 1 week ago

Question

suggest a range of work sample exercises and design them

Answered: 1 week ago