Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucy Wiki" for change 
notification.

The "LucyBookClub" page has been changed by MarvinHumphrey:
https://wiki.apache.org/lucy/LucyBookClub?action=diff&rev1=57&rev2=58

Comment:
Add 2013-06-11.  Archive 2013-06-04.

  [[mailto:[email protected]|[email protected]]]
  
  == Upcoming Meetings ==
+ 
+ === Tuesday June 11, 7:00 pm PDT: ===
+ 
+ Lectures from [[https://www.coursera.org/course/hwswinterface|The 
Hardware/Software Interface]]
+ 
+  * Section 8: Processes
+ 
+ Review questions:
+ 
+  1.  Jumps and calls suffice for responding to changes in program state.  
What kinds of state change do they not suffice for?
+  2.  What's the difference between synchronous and asynchronous exceptions?
+  3.  Describe the three types of synchronous exceptions, and the differences 
between them in terms of continued program flow.
+  4.  When does the "interrupt pin" get set?
+  5.  Describe program flow on a _page fault_ which results in a successful 
load from virtual memory.
+  6.  What's the difference between a program and a process?
+  7.  What are the two key abstractions provided by processes?
+  8.  Describe how the OS kernel uses exceptional control flow to provide the 
illusion of continuous execution to multiple concurrent processes.
+  9.  What is the distinction between _concurrent_ and _parallel_?
+  10. Calling `execve` replaces a process's address space and code with a new 
executable.  What state, if any, persists across a call to `execve`?
+  11. What order do parent and child processes execute in after a fork()?
+  12. What does execve() return?
+  13. Where are the parameters passed via execve() stored after the call 
completes?
+  14. What are the consequences if a long-running parent process fails to reap 
zombie children?  What happens once the neglectful parent terminates?
+ 
+ Bonus questions not answered by lecture:
+ 
+  1.  Why does output to the standard file descriptors appear to be ordered 
when when processes exit()?
+  2.  How expensive is fork()?
+  3.  Why use fork/execve instead of posix_spawn?  How about vfork/execve as 
an alternative?
+ 
+ 
+ == Community Notes ==
+ 
+ Below are an excerpt of notes from previous meetings and or anything of 
interest related to the meetings.
  
  === Tuesday June 4, 7:00 pm PDT: ===
  
@@ -51, +85 @@

   1.  Describe situations in which spacial locality can be exploited -- both 
for data and for instructions.
   1.  According to the professors, the "big idea" of the memory hierarchy is 
to create "a large pool of storage that costs as much as the cheap storage near 
the bottom, but that serves data to programs at the rate of the fast storage 
near the top."  What usage pattern might defeat this technique?
   1.  Data intensive applications (such as large-scale search engines) may be 
constrained by memory bus bandwidth despite caching.  What are some techniques 
to address this problem?
- 
- == Community Notes ==
- 
- Below are an excerpt of notes from previous meetings and or anything of 
interest related to the meetings.
  
  === Tuesday May 21, 7:00 pm PDT: ===
  

Reply via email to