Messages in this thread | | | Date | Fri, 29 Dec 2000 13:06:21 +0100 | From | Daniel Phillips <> | Subject | Re: test13-pre5 |
| |
Marcelo Tosatti wrote: > > On Thu, 28 Dec 2000, Linus Torvalds wrote: > > > - make "SetPageDirty()" do something like > > > > if (!test_and_set(PG_dirty, &page->flags)) { > > spin_lock(&page_cache_lock); > > list_del(page->list); > > list_add(page->list, page->mapping->dirty_pages); > > spin_unlock(&page_cache_lock); > > } > > We also want to move the page to the per-address-space clean list in > ClearPageDirty I suppose.
I'd like to suggest taking this opportunity to regularize the notation by going to set_page_dirty/clear_page_dirty which will call SetPageDirty/ClearPageDirty.
-- Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |