Re: broken VM in 2.4.10-pre9

Linus Torvalds
2001-09-17T15:39:32Z

On Mon, 17 Sep 2001, Jan Harkes wrote:
>
> > - COW issue mentioned above. Probably trivially fixed by something like
>
> The COW is triggered by a pagefault, so the page will be accessed and
> the hardware bits (both accessed and dirty) should get set automatically.

No.

The point is that yes, the bits are set in the _page_table_, but we've
never set them on the physical page.

And the COW fault will switch the page table entry to a new page, so if we
don't set the referenced bit on the physical page at that time, we _never_
will.

Linus