- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
What is a Page Fault
A page fault is a type of exception generated by the processor when a program tries to access a portion of memory that is not currently loaded into physical RAM.
SUMMARY
In modern operating systems that use virtual memory, data is organized into fixed-size blocks called pages, which can be stored either in RAM or on disk. To access data, it must be loaded into RAM. So when a required page is not in RAM, the processor triggers a page fault to bring the requested page from disk.
There are two types of page faults:
• Minor (Soft) Page Fault: The accessed data is already in RAM but hasn’t yet been mapped into the virtual memory space of the process.
• Major (Hard) Page Faults: The requested data is not in RAM and must be loaded from disk before the process can continue.
If a program tries to access invalid memory (the address isn’t mapped in its virtual address space and isn’t found in either RAM or on disk), the page fault handler typically asks the operating system to terminate the offending program with the infamous “Segmentation Fault” error.
LINKS
📚 Computer Memory and Architecture E-Book Collection: https://buymeacoffee.com/bitlemonsoftware/e/427972
📚 Inside the Core: How the CPU Works (E-Book): https://buymeacoffee.com/bitlemonsoftware/e/467679
📚 Interrupts in Modern Computer Systems (E-Book): https://buymeacoffee.com/bitlemonsoftware/e/420320
📚 The Anatomy of Virtual Memory (E-Book): https://buymeacoffee.com/bitlemonsoftware/e/400638
📚 Beginner's Guide to CPU Caches (E-Book): https://buymeacoffee.com/bitlemonsoftware/e/362123
❤ Support my work: https://buymeacoffee.com/bitlemonsoftware
SOURCES
The information in this video is based on my own book - "The Anatomy of Virtual Memory".
TABLE OF CONTENTS
00:00 What is a page fault?
00:27 Page fault handling (ISR)
00:51 Minor (soft) page faults
01:37 Major (hard) page faults
02:04 Accessing invalid memory
02:22 The Anatomy of Virtual Memory (e-book)
ATTRIBUTION
Some of the elements in the video were designed by vectorpocket / macrovector / rawpixel.com / Freepik at freepik.com.
#computerscience #memorymanagement #virtualmemory #operatingsystem #pagetables #pagefault
Видео What is a Page Fault канала BitLemon
SUMMARY
In modern operating systems that use virtual memory, data is organized into fixed-size blocks called pages, which can be stored either in RAM or on disk. To access data, it must be loaded into RAM. So when a required page is not in RAM, the processor triggers a page fault to bring the requested page from disk.
There are two types of page faults:
• Minor (Soft) Page Fault: The accessed data is already in RAM but hasn’t yet been mapped into the virtual memory space of the process.
• Major (Hard) Page Faults: The requested data is not in RAM and must be loaded from disk before the process can continue.
If a program tries to access invalid memory (the address isn’t mapped in its virtual address space and isn’t found in either RAM or on disk), the page fault handler typically asks the operating system to terminate the offending program with the infamous “Segmentation Fault” error.
LINKS
📚 Computer Memory and Architecture E-Book Collection: https://buymeacoffee.com/bitlemonsoftware/e/427972
📚 Inside the Core: How the CPU Works (E-Book): https://buymeacoffee.com/bitlemonsoftware/e/467679
📚 Interrupts in Modern Computer Systems (E-Book): https://buymeacoffee.com/bitlemonsoftware/e/420320
📚 The Anatomy of Virtual Memory (E-Book): https://buymeacoffee.com/bitlemonsoftware/e/400638
📚 Beginner's Guide to CPU Caches (E-Book): https://buymeacoffee.com/bitlemonsoftware/e/362123
❤ Support my work: https://buymeacoffee.com/bitlemonsoftware
SOURCES
The information in this video is based on my own book - "The Anatomy of Virtual Memory".
TABLE OF CONTENTS
00:00 What is a page fault?
00:27 Page fault handling (ISR)
00:51 Minor (soft) page faults
01:37 Major (hard) page faults
02:04 Accessing invalid memory
02:22 The Anatomy of Virtual Memory (e-book)
ATTRIBUTION
Some of the elements in the video were designed by vectorpocket / macrovector / rawpixel.com / Freepik at freepik.com.
#computerscience #memorymanagement #virtualmemory #operatingsystem #pagetables #pagefault
Видео What is a Page Fault канала BitLemon
virtual memory what is virtual memory virtual memory vs physical memory virtual memory explained physical memory virtual memory paging virtual memory explanation memory virtual memory in os page tables page table how paging works page fault pages page faults what is a page fault page fault in os page fault explained page faults explained how page faults work page faults in operating system operating system page fault handler page faults in os os
Комментарии отсутствуют
Информация о видео
29 мая 2025 г. 23:53:55
00:02:50
Другие видео канала




















