Skip to Content
Linux Kernel Development, Third Edition
book

Linux Kernel Development, Third Edition

by Robert Love
June 2010
Intermediate to advanced
440 pages
13h 13m
English
Addison-Wesley Professional
Content preview from Linux Kernel Development, Third Edition

16. The Page Cache and Page Writeback

The Linux kernel implements a disk cache called the page cache. The goal of this cache is to minimize disk I/O by storing data in physical memory that would otherwise require disk access. This chapter deals with the page cache and the process by which changes to the page cache are propagated back to disk, which is called page writeback.

Two factors comingle to make disk caches a critical component of any modern operating system. First, disk access is several orders of magnitude slower than memory access—milliseconds versus nanoseconds. Accessing data from memory rather than the disk is much faster, and accessing data from the processor’s L1 or L2 cache is faster still. Second, data accessed once will, with ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Linux Kernel Development

Mastering Linux Kernel Development

CH Raghav Maruthi
Understanding the Linux Kernel

Understanding the Linux Kernel

Daniel P. Bovet, Marco Cesati

Publisher Resources

ISBN: 9780768696974Purchase book