Re: [patch -mm 01/18] oom: filter tasks not sharing the same cpuset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Sun, 13 Jun 2010, KOSAKI Motohiro wrote:
> 
> > I have no objection because it's policy matter. but if so, dump_tasks()
> > should display mem_allowed mask too, probably.
> 
> You could, but we'd want to do that all under cpuset_buffer_lock so we 
> don't have to allocate it on the stack, which can be particularly lengthy 
> when the page allocator is called.

Probably we don't need such worry. becuase a stack overflow risk depend on
deepest call path.
That's said, if out_of_memory() was called, page allocator did called
try_to_free_pages() at first. try_to_free_pages() have much deeper stack
rather than out_of_memory().



--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]