Re: [PATCH -v2] x86: MCE: Re-implement MCE log ring buffer as per-CPU ring buffer

From: Andi Kleen
Date: Wed Apr 29 2009 - 02:07:57 EST


> Maybe the comment is a little confusing. What we do is limit the size of
> user buffer size to prevent system from not response. If the user buffer

Ah. The standard way to handle this is to add cond_resched()s where
appropiate. Maybe that would be an alternative or is that not
possible? You have to drop locks of course.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/