Re: innd mmap bug in 2.4.0-test12

Linus Torvalds
2000-12-24T22:39:36Z

On Sun, 24 Dec 2000, Daniel Phillips wrote:
>
> It looks like PG_dirty is now being used only for swap_cache pages, and
> not for buffer cache and page cache pages, is that correct?

No. PG_dirty is used for all memory mapped pages - be they anonymous or
not.

These days the buffer dirty bits are only used by "write()", because
write() can obviously dirty smaller areas than one page.

Linus