In the lecture slides and videos section below, I will post lecture slides and pre-recorded lecture videos before 6pm on the day before the live lecture. Within 24 hours after a live lecture is over, I will add the recording of the live lectures there as well. For a high-level preview of future lectures, please see the tentative slides section below. For a detailed breakdown of each lectures, please see the detailed schedule section below.

To download all the PDF files below in one command (so you can study for exams), do the following inside a terminal in Ubuntu 16.04:

    wget -r -l 1 --user=USERID --password=PASSWORD http://merlot.usc.edu/cs402-s22/lectures.html
where USERID and PASSWORD are the user ID and password used to access protected content from our class web site. But please note that the lecture slides can change at any time without notice. Therefore, it's a good idea to re-run the above command often to synchroniza your copy with the server!

Live lectures will be recorded in Zoom. For serucity reasons, you must sign into your Zoom account using USC Shibboleth SSO (Single Sign-On). Please note that this is different from signing into your Zoom account using your USC e-mail address! To check if you signed in into Zoom correctly, start Zoom and click on Settings if you are on your phone. On top of the screen right next to your name, it should say LICENSED. (If you are using a browser, then you should click on Profile and look for your User Type.) If it doesn't say LICENSED (and says "Basic" instead), it means that you are signing into Zoom using your personal account. In that case, you should sign out (on your phone, click on Profile, scroll all the way down to the bottomm and click on Sign Out). Then sign in again. On the Sign In screen, don't enter your e-mail address there, but look for an SSO button instead. Click on the SSO button and enter "USC" as the company domain and it will take you to the familiar USC Shibboleth SSO screen where you need to provide your USC NetID and password (this is the same screen you get when you login to your USC e-mail account).

Access to videos are protected by an additional level of security measure. All videos here are on D2L, please enter your D2L user ID and password. Please also see hints about using the D2L video viewer. You also need to enable 3rd party cookies in your browser.

Please note that we are required to synchronized the two sections of CS 402. Therefore, if you have a lecture that falls on 1/17 or 2/11 (which are university holidays), you are expected to watch the lecture video on the next day.

(Please note that access to lecture notes and videos is restricted.)

Week 1 Lecture 1 videos and lecture slides (for Jan 10&11, 2022): Week 1 discussion video and slides: Lecture 2 videos and lecture slides (for Jan 12&13, 2022):
Week 2 Week 2 discussion video and slides: Lecture 3 videos and lecture slides (for Jan 18, 2022): Lecture 4 videos and lecture slides (for Jan 19&20, 2022):
Week 3 Week 3 discussion video and slides: Lecture 5 videos and lecture slides (for Jan 24&25, 2022): Lecture 6 videos and lecture slides (for Jan 26&27, 2022):
Week 4 Week 4 discussion discussions video and slides: Lecture 7 videos and lecture slides (for Jan 31&Feb 1, 2022): Lecture 8 videos and lecture slides (for Feb 2&3, 2022):
Week 5 Week 5 discussion video and slides: Lecture 9 videos and lecture slides (for Feb 7&8, 2022): Lecture 10 videos and lecture slides (for Feb 9&10, 2022):
Week 6 Week 6 discussion video and slides: Lecture 11 videos and lecture slides (for Feb 14&15, 2022): Lecture 12 videos and lecture slides (for Feb 16&17, 2022):
Week 7 Week 7 discussion video and slides: Lecture 13 videos and lecture slides (for Feb 22, 2022; 2/21/22 is a university holiday): Lecture 14 videos and lecture slides (for Feb 23&24, 2022):
Week 8 Week 8 discussion video and slides: Lecture 15 videos and lecture slides (for Feb 28&Mar 1, 2022): Lecture 16 videos and lecture slides (for Mar 2&3, 2022):
Week 9 Week 9 discussion video and slides:
  • video (part 1 of 1) - 52 minutes (TXT) - kernel 2 polymorphism, vfs.c, vnode.c, file.c, vfs_syscall.c, vn_mmobj_ops.c, ramfs.c, vfstest.c, faber_fs_test.c
Lecture 17 videos and lecture slides (for Mar 7&8, 2022): Lecture 18 videos and lecture slides (for Mar 9&10, 2022):
Week 10 Week 10 discussion video and slides: Lecture 19 videos and lecture slides (for Mar 21&22, 2022): (Mar 23&24, 2022) - Midterm Exams (no videos and no live lecture)
 
Week 11 Week 11 discussion video and slides:
  • video (part 1 of 1) - 57 minutes (PDF) - more on kernel 3, address space implementation (vmarea, mmobj, pframe, page table)
Lecture 20 videos and lecture slides (for Mar 28&29, 2022): Lecture 21 videos and lecture slides (for Mar 30&31, 2022):
Week 12 Week 12 discussion video and slides: Lecture 22 videos and lecture slides (for Apr 4&5, 2022): Lecture 23 videos and lecture slides (for Apr 6&7, 2022):
Week 13 Week 13 discussion video and slides: Lecture 24 videos and lecture slides (for Apr 11&12, 2022): Lecture 25 videos and lecture slides (for Apr 13&14, 2022):
Week 14

(no discussion video this week)

Lecture 26 videos and lecture slides (for Apr 18&19, 2022): Lecture 27 videos and lecture slides (for Apr 20&21, 2022):
Week 15

(no discussion video this week)

Lecture 28 videos and lecture slides (for Apr 25&26, 2022): Lecture 29 videos and lecture slides (for Apr 27&28, 2022):

Preview:

  • (May 6, 2022) - DEN section final exam, during 8am - 10am (firm)
  • (May 10, 2022) - TT section final exam, during 8am - 10am (firm)
The following are tentative slides (in PDF format) for this semester.
The number of minutes below are estimated lecture video minutes and they do not include "discussion" video minutes. Also, slide numbers below refers to the slide numbers in the Tentative Slides section above and they are also estimates since I may add or delete slides.
Week # Lecture #    Dates    Minutes Lecture Topics
1 1 1/10-1/11 80 course administration (slides 1-74)
  2 1/12-1/13 80 introduction (Ch 1) (slides 1-22), a simple OS (Ch 1) (slides 1-6)
2 3 1/17-1/18 80 a simple OS (Ch 1) (slides 7-66)
  4 1/19-1/20 80 a simple OS (Ch 1) (slides 67-85), thread creation, termination (Ch 2) (slides 1-16)
3 5 1/24-1/25 80 thread creation, termination (Ch 2) (slides 16-38), thread synchronization (Ch 2) (slides 1-14)
  6 1/26-1/27 80 thread synchronization (Ch 2) (slides 14-74)
4 7 1/31-2/1 80 thread synchronization (Ch 2) (slides 74-97), thread safety, deviations (Ch 2) (slides 1-18)
  8 2/2-2/3 80 thread safety, deviations (Ch 2) (slides 19-59)
5 9 2/7-2/8 80 context switching, I/O (Ch 3) (slides 1-90)
  10 2/9-2/10 80 context switching, I/O (Ch 3) (slides 90-135), dynamic storage allocation (Ch 3) (slides 1-11)
6 11 2/14-2/15 80 dynamic storage allocation (Ch 3) (slides 12-39), static linking and loading (Ch 3) (slides 1-45)
  12 2/16-2/17 80 booting (Ch 3) (slides 1-18), a simple system (Ch 4) (slides 1-32)
7 13 2/21-2/22 80 a simple system (Ch 4) (slides 33-61), thread implementation strategies (Ch 5) (slides 1-20), threads implementations (Ch 5) (slides 1-11)
  14 2/23-2/24 80 threads implementations (Ch 5) (slides 12-38), interrupts (Ch 5) (slides 1-29)
8 15 2/28-3/1 80 interrupts (Ch 5) (slides 30-59), scheduler activations model (Ch 5) (slides 1-14), storage management (Ch 4) (slides 1-18), files (Ch 1) (slides 1-27)
  16 3/2-3/3 80 files (Ch 1) (slides 28-72)
9 17 3/7-3/8 80 files (Ch 1) (slides 73-92)
  18 3/9-3/10 80 the basics of file systems (Ch 6) (slides 1-45), virtual memory (Ch 7) (slides 1-28)
- - 3/14-3/18 - Spring Recess (no videos)
10 19 3/21-3/22 80 virtual memory (Ch 7) (slides 29-73)
  - 3/23-3/24 - Midterm Exams (no videos)
11 20 3/28-3/29 80 virtual memory (Ch 7) (slides 74-93), OS issues (Ch 7) (slides 1-23)
  21 3/30-3/31 80 OS issues (Ch 7) (slides 24-55)
12 22 4/4-4/5 80 OS issues (Ch 7) (slides 56-134)
  23 4/6-4/7 80 performance improvements (Ch 6) (slides 1-55), crash resiliency (Ch 6) (slides 1-38)
13 24 4/11-4/12 80 crash resiliency (Ch 6) (slides 39-60), directories and naming (Ch 6) (slides 1-27)
  25 4/13-4/14 80 RAID, flash memory, case studies (Ch 6) (slides 1-38), devices (Ch 4) (slides 1-13)
14 26 4/18-4/19 80 devices (Ch 4) (slides 14-28), virtual machines, microkernels (Ch 4) (slides 1-37)
  27 4/20-4/21 80 virtual machines, microkernels (Ch 4) (slides 38-81), scheduling (Ch 5) (slides 1-3)
15 28 4/25-4/26 80 scheduling (Ch 5) (slides 4-63)
  29 4/27-4/28 80 scheduling (Ch 5) (slides 64-129), shared libraries (Ch 3) (slides 1-27)