Re: [patch -mm] cpusets: allow TIF_MEMDIE threads to allocate anywhere

From: Andi Kleen
Date: Mon Apr 23 2007 - 16:04:56 EST



> + /*
> + * Allow tasks that have access to memory reserves because they have
> + * been OOM killed to get memory anywhere.
> + */
> + if (unlikely(test_tsk_thread_flag(current, TIF_MEMDIE)))

This should be test_thread_flag()

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/