Re: [PATCH] fix mempolicy's check on a system with memory-less-node take4

2007-02-15 Thread Andi Kleen
On Thursday 15 February 2007 08:32, KAMEZAWA Hiroyuki wrote: > > please ack if O.K. Ok for me -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Pleas

[PATCH] fix mempolicy's check on a system with memory-less-node take4

2007-02-14 Thread KAMEZAWA Hiroyuki
please ack if O.K. -Kame -- bind_zonelist() can create zero-length zonelist if there is a memory-less-node. This patch checks the length of zonelist. If length is 0, returns -EINVAL. Changelog: v3 -> v4: - changes a name of a temporal void* variable as "error_code" Changelog: v2 -> v3 - remo