Messages in this thread | | | Date | Mon, 17 Sep 2001 08:38:37 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: broken VM in 2.4.10-pre9 |
| |
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
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |