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

From: Huang Ying
Date: Wed Apr 29 2009 - 02:51:08 EST


On Wed, 2009-04-29 at 14:11 +0800, Andi Kleen wrote:
> > 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.

Yes, I will use cond_resched() instead.

Best Regards,
Huang Ying

Attachment: signature.asc
Description: This is a digitally signed message part