The patch titled apply type enum zone_type fix has been removed from the -mm tree. Its filename is apply-type-enum-zone_type-fix.patch This patch was dropped because it was folded into apply-type-enum-zone_type.patch ------------------------------------------------------ Subject: apply type enum zone_type fix From: Paul Jackson <pj@xxxxxxx> The variable 'k' was changed from 'int' to 'enum zone_type' (unsigned), and it was being tested for being '>= 0' in a loop. Result was that the set_mempolicy(MPOL_BIND) system call crashed the kernel in a near infinite loop off into the weeds. Signed-off-by: Paul Jackson <pj@xxxxxxx> Cc: Christoph Lameter <clameter@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- mm/mempolicy.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff -puN mm/mempolicy.c~apply-type-enum-zone_type-fix mm/mempolicy.c --- a/mm/mempolicy.c~apply-type-enum-zone_type-fix +++ a/mm/mempolicy.c @@ -149,12 +149,16 @@ static struct zonelist *bind_zonelist(no lower zones etc. Avoid empty zones because the memory allocator doesn't like them. If you implement node hot removal you have to fix that. */ - for (k = policy_zone; k >= 0; k--) { + k = policy_zone; + while (1) { for_each_node_mask(nd, *nodes) { struct zone *z = &NODE_DATA(nd)->node_zones[k]; if (z->present_pages > 0) zl->zones[num++] = z; } + if (k == 0) + break; + k--; } zl->zones[num] = NULL; return zl; _ Patches currently in -mm which might be from pj@xxxxxxx are apply-type-enum-zone_type.patch apply-type-enum-zone_type-fix.patch cpu-hotplug-compatible-alloc_percpu-fix.patch cpu-hotplug-compatible-alloc_percpu-fix-2.patch oom-cpuset-hint.patch account-for-memmap-and-optionally-the-kernel-image-as-holes-fix.patch add-node-to-zone-for-the-numa-case.patch cpuset-top_cpuset-tracks-hotplug-changes-to-node_online_map.patch cpuset-top_cpuset-tracks-hotplug-changes-to-node_online_map-fix.patch cpuset-top_cpuset-tracks-hotplug-changes-to-node_online_map-fix-2.patch cpuset-hotunplug-cpus-and-mems-in-all-cpusets.patch cpuset-fix-obscure-attach_task-vs-exiting-race.patch sched-force-sbin-init-off-isolated-cpus.patch sched-introduce-child-field-in-sched_domain.patch sched-cleanup-sched_group-cpu_power-setup.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html