lkml.org 
[lkml]   [2000]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 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/

    \
     
     \ /
      Last update: 2005-03-22 12:52    [W:0.036 / U:0.056 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site