Re: [PATCH 08/12] mm: fixup possible deadlock

From: Andrew Morton
Date: Thu Apr 05 2007 - 18:45:03 EST


On Thu, 05 Apr 2007 19:42:17 +0200
root@xxxxxxxxxxxxxxxxxxxxxxxxx wrote:

> When the threshol is in the order of the per cpu inaccuracies we can
> deadlock by not receiveing the updated count,

That explanation is a bit, umm, terse.

> introduce a more expensive
> but more accurate stat read function to use on low thresholds.

Looks like percpu_counter_sum().
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/