Locking in xv6

Locking in xv6

Explains spinlock implementation using xchg instruction, interrupt disabling, ptable.lock across context switching, and critical section protection.

Virtual Memory and Paging in xv6

Virtual Memory and Paging in xv6

Covers virtual addressing, page tables, two-level page table structure, process address space, kernel mappings, memory allocation, and free list management.

Context Switching in xv6

Context Switching in xv6

Explains context switching mechanism in xv6: scheduler loop, sched function, context structure, swtch assembly function, and kernel stack management during process switches.