Allocate new memory and release unneeded old memory

Assignment Help Basic Computer Science
Reference no: EM13308206

During an exec call in Minix, it tests for an adequate hole before releasing the current process memory. Reprogram this algorithm to do better.

Steps in Minix now:
1)Check permissions-is the file executable?
2)Read the header to get the segment and total sizes.
3)Fetch the arguments and environment from the caller.
4)Allocate new memory and release unneeded old memory.
5)Copy stack to new memory image.
6)Copy data(and possibly text) segment to new memory image
7)Check for and handle setuid, setgid bits.
8)Fix up process table entry.
9)Tell kernel that process is now runnable.

 

Reference no: EM13308206

Questions Cloud

Compare and contrast how useful each engine : Compare and contrast how useful each engine was in terms of providing reliable information, not just manufacturer's ads. Ask and AoL.
Find vertical reactions and construct complete shear moment : A 16-ft [4.88 m] span beam is fixed at one end and simply supported at the other end. A single concentrated load of 9600 lb [42.7 kN] is placed at the center of the span.
What is the value of using new and delete in c++ : Show the output from the following program. If an unknown value gets printed, write U.
Calculate the density of a mixture of air and so2 at a temp : calculate the density of a mixture of 90% air and 10% SO2 at a temperature of 150 degrees C and pressure of 1.10 atm.
Allocate new memory and release unneeded old memory : During an exec call in Minix, it tests for an adequate hole before releasing the current process memory. Reprogram this algorithm to do better.
Determine the weight of the satellite in pounds : A satellite would have a mass of 200 kg on the surface of the moon. Determine the weight of the satellite in pounds when it is in orbit 10,000 mi. above the surface of the earth.
Draw the pipeline execution diagrams : In snippet A, the branch is taken twice and then not taken. In snipped B, first branch is taken once and second branch is also taken once.
What is the pm concentration in micrometers per dcsm : The total gas volume that flowed through the dry gas meter was 2.785 cubic meters (at T = 60 deg F and P = 800 mm Hg). The mass of PM (particulate matter) was 1.50 g. Also, 72.0 g of H20 was collected in impingers.
Find how long does the satellite take to complete one orbit : A satellite of mass 190 kg is placed into Earth orbit at a height of 400 km above the surface. how long does the satellite take to complete one orbit

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd