The patch titled mm: micro optimise zone_watermark_ok has been added to the -mm tree. Its filename is mm-micro-optimise-zone_watermark_ok.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: mm: micro optimise zone_watermark_ok From: Nick Piggin <nickpiggin@xxxxxxxxxxxx> Having min be a signed quantity means gcc can't turn high latency divides into shifts. There happen to be two such divides for GFP_ATOMIC (ie. networking, ie. important) allocations, one of which depends on the other. Fixing this makes code smaller as a bonus. Shame on somebody (probably me). Signed-off-by: Nick Piggin <npiggin@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- mm/page_alloc.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -puN mm/page_alloc.c~mm-micro-optimise-zone_watermark_ok mm/page_alloc.c --- a/mm/page_alloc.c~mm-micro-optimise-zone_watermark_ok +++ a/mm/page_alloc.c @@ -889,7 +889,8 @@ int zone_watermark_ok(struct zone *z, in int classzone_idx, int alloc_flags) { /* free_pages my go negative - that's OK */ - long min = mark, free_pages = z->free_pages - (1 << order) + 1; + unsigned long min = mark; + long free_pages = z->free_pages - (1 << order) + 1; int o; if (alloc_flags & ALLOC_HIGH) _ Patches currently in -mm which might be from nickpiggin@xxxxxxxxxxxx are fix-longstanding-load-balancing-bug-in-the-scheduler.patch git-gfs2.patch radix-tree-rcu-lockless-readside-semicolon.patch adix-tree-rcu-lockless-readside-update-tidy.patch adix-tree-rcu-lockless-readside-fix-3.patch radix-tree-cleanup-radix_tree_deref_slot-and.patch cleanup-radix_tree_derefreplace_slot-calling-conventions.patch cleanup-radix_tree_derefreplace_slot-calling-conventions-warning-fixes.patch mm-remove_mapping-safeness-fix.patch page-invalidation-cleanup.patch mm-micro-optimise-zone_watermark_ok.patch do_sched_setscheduler-dont-take-tasklist_lock.patch introduce-is_rt_policy-helper.patch sched_setscheduler-fix-policy-checks.patch reparent_to_init-use-has_rt_policy.patch select_bad_process-kill-a-bogus-pf_dead-task_dead-check.patch oom_kill_task-cleanup-mm-checks.patch sched-remove-unnecessary-sched-group-allocations.patch sched-remove-unnecessary-sched-group-allocations-fix.patch lower-migration-thread-stop-machine-prio.patch sched-generic-sched_group-cpu-power-setup.patch scheduler-numa-aware-placement-of-sched_group_allnodes.patch sched2-sched-domain-sysctl.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