Re: test13-pre5

From: Daniel Phillips (phillips@innominate.de)
Date: Fri Dec 29 2000 - 07:06:21 EST


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/



This archive was generated by hypermail 2b29 : Sun Dec 31 2000 - 21:00:12 EST