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

2007-04-23 Thread Andi Kleen
> +/* > + * 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

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

2007-04-23 Thread David Rientjes
OOM killed tasks have access to memory reserves as specified by the TIF_MEMDIE flag in the hopes that it will quickly exit. If such a task has memory allocations constrained by cpusets, we may encounter a deadlock if a blocking task cannot exit because it cannot allocate the necessary memory. We

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

2007-04-23 Thread David Rientjes
OOM killed tasks have access to memory reserves as specified by the TIF_MEMDIE flag in the hopes that it will quickly exit. If such a task has memory allocations constrained by cpusets, we may encounter a deadlock if a blocking task cannot exit because it cannot allocate the necessary memory. We

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

2007-04-23 Thread Andi Kleen
+/* + * 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