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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/
- Re: test13-pre5 Andi Kleen
- Re: test13-pre5 Andrea Arcangeli
- Re: test13-pre5 Andi Kleen
- Re: test13-pre5 Matti Aarnio
- Re: test13-pre5 Linus Torvalds
- Re: test13-pre5 Andi Kleen
- Re: test13-pre5 Andrea Arcangeli
- Re: test13-pre5 H. Peter Anvin
- Re: test13-pre5 Marcelo Tosatti
- Re: test13-pre5 Linus Torvalds
- [PATCH] filemap_fdatasync & related changes Daniel Phillips
- [PATCH] filemap_fdatasync & related changes Marcelo Tosatti
- Re: [PATCH] filemap_fdatasync & related change... Linus Torvalds
- Re: [PATCH] filemap_fdatasync & related change... Chris Mason
- Re: [PATCH] filemap_fdatasync & related ch... Daniel Phillips
- Re: [PATCH] filemap_fdatasync & related ch... Linus Torvalds
- Re: [PATCH] filemap_fdatasync & relate... Chris Mason
- Re: [PATCH] filemap_fdatasync & relate... Stephen C. Tweedie
- Re: [PATCH] filemap_fdatasync & related ch... Christoph Rohland
- Re: [PATCH] filemap_fdatasync & relate... Chris Mason
- Re: [PATCH] filemap_fdatasync & re... Christoph Rohland

