lkml.org 
[lkml]   [2004]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Remove OOM killer from try_to_free_pages / all_unreclaimable braindamage
On Sat, 6 Nov 2004, Andrea Arcangeli wrote:
>> btw, PF_MEMDIE has always been racy in the way it's being set, so it can
>> corrupt the p->flags, but the race window is very small to trigger it
>> (and even if it triggers, it probably wouldn't be fatal). That's why I
>> don't use PF_MEMDIE in 2.4-aa.

On Sat, Nov 06, 2004 at 04:21:33PM +0000, Hugh Dickins wrote:
> I expect so, yes, the PF_ flags don't have proper locking. Those
> places which set or clear PF_MEMALLOC are more likely to hit races,
> but last time I went there I don't think there was a real serious problem.
I posted a testcase that triggers a panic with the PF_MEMALLOC race.


-- wli
-
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 14:08    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site