lkml.org 
[lkml]   [2002]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: remove mixture of non-atomic operations with page->flags which requires atomic operations to access
>    From: William Lee Irwin III <wli@holomorphy.com>
> Date: Mon, 3 Jun 2002 04:00:55 -0700
>
> if (PageWriteback(page))
> BUG();
> - ClearPageDirty(page);
> - page->flags &= ~(1<<PG_referenced);
> +
> + page->flags &= ~((1UL << PG_referenced) | (1UL << PG_dirty));
>
> Umm, nevermind. Look at ClearPageDirty, it does
> "other stuff" so you can't remove it wholesale.
> In the end, the code is as it should be right now.

Ugh, even if it isn't I don't care to deal with it, rusty, chuck this one.


Cheers,
Bill
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.049 / U:1.992 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site