1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Radda [10]
3 years ago
13

When a user process is interrupted or causes a processor exception, the x86 hardware switches the stack pointer to a kernel stac

k, before saving the current process state. Explain why. Anderson, Thomas. Operating Systems: Principles and Practice (Volume 1 of 4) . Recursive Books. Kindle Edition.
Engineering
1 answer:
andre [41]3 years ago
7 0

Answer and Explanation

In x86, different stacks are used for kernel & user processes because of security purposes.

The kernel assigns the interrupt dispatch to a common kernel interrupt entry/exit

mechanism which saves pre-interrupt register state before summoning the registered handler(s).

When sending out an interrupt might launch a privilege and/or stack switch,

interrupts that occur while executing user process will switch to use the kernel stack in place at that point, without saving current state.

You might be interested in
A tank with a volume of 8 m3 containing 4 m3 of 20% (by volume) NaOH solution is to be purged by adding pure water at a rate of
lawyer [7]

Answer:

The time necessary to purge 95% of the NaOH is 0.38 h

Explanation:

Given:

vfpure water(i) = 3 m³/h

vNaOH = 4 m³

xNaOH = 0.2

vfpure water(f) = 2 m³/h

pwater = 1000 kg/m³

pNaOH = 1220 kg/m³

The mass flow rate of the water is = 3 * 1000 = 3000 kg/h

The mass of NaOH in the solution is = 0.2 * 4 * 1220 = 976 kg

When the 95% of the NaOH is purged, thus the NaOH in outlet is = 0.95 * 976 = 927.2 kg

The volume of NaOH in outlet after time is = 927.2/1220 = 0.76 m³

The time required to purge the 95% of the NaOH is = 0.76/2 = 0.38 h

4 0
3 years ago
g A pedometer treats walking 2,000 steps as walking 1 mile. Write a program whose input is the number of steps, and whose output
Nataly [62]

Answer:

# Program is written in Python Programming Language

# Comments are used for explanatory purpose

# Program starts here

# Accept input

Steps = input (Number of Steps: ")

# Calculate distance

distance = float(2000) * float(steps)

#Print Formatted Result

print('%0.2f' % distance)

# End of Program

.--------

The above program converts number of steps to miles.

At line 5, the number of steps is inputted and stored in variable named Steps.

At line 6, the number of miles is calculated by multiplying 2000 by the content of variable Steps

The result is printed at line 8

8 0
2 years ago
Read 2 more answers
How much does 5 acres of land cost in the US?
Dvinal [7]

Answer:

Larson, an economist, who placed the total value of $23 trillion for the entire 1.9 billion acres of land in the United States. This means that the average cost for an acre of land is $12,000 or $60,000 for 5 acres of land. Almost half of the land in the US is used for agricultural purposes.

Explanation:

6 0
3 years ago
Use the scoring system described to calculate the alignment score for These are two lines of 14 letters aligned with each other.
PtichkaEL [24]

Answer:

do good

Explanation:

get that money

7 0
3 years ago
7. Which of the following is a disadvantage of an electromagnet?
Sati [7]

Answer:

I think

electromagnets require power to operate

7 0
3 years ago
Other questions:
  • A civil engineer is asked to design a curved section of roadway that meets the following conditions: With ice on the road, when
    13·1 answer
  • A small family home in Tucson, Arizona has a rooftop area of 2667 square feet, and it is possible to capture rain falling on abo
    5·1 answer
  • Sophia is designing a new welding shop for the local high school. Where should the compressed gas and fuel cylinders be stored?
    15·1 answer
  • Liquid water is fed to a boiler at 24°C and 10 bar is converted at a constant pressure to saturated steam.
    12·1 answer
  • The primary transformer voltage is 2.8 kV and the secondary is 230 V. The transformer is connected to a variable load (0 to 300
    8·1 answer
  • Where can you find free air pods that look real
    8·1 answer
  • Safety-in engineering as with everything else is all about trying to maximize or create the hazards involved with what you are d
    6·2 answers
  • Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    9·1 answer
  • a motor has torque of 200 nm if i motors attached to an arm with a length of 25 cm and a string is too attached to the end appro
    13·1 answer
  • 1)What are the three previous manufacturing revolutions Mr. Scalabre mentions? When did these take place?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!