From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753834AbZD2GH4 (ORCPT ); Wed, 29 Apr 2009 02:07:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752045AbZD2GHr (ORCPT ); Wed, 29 Apr 2009 02:07:47 -0400 Received: from one.firstfloor.org ([213.235.205.2]:33000 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751918AbZD2GHr (ORCPT ); Wed, 29 Apr 2009 02:07:47 -0400 Date: Wed, 29 Apr 2009 08:11:48 +0200 From: Andi Kleen To: Huang Ying Cc: Andi Kleen , Ingo Molnar , "H. Peter Anvin" , Thomas Gleixner , Andi Kleen , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH -v2] x86: MCE: Re-implement MCE log ring buffer as per-CPU ring buffer Message-ID: <20090429061148.GQ27382@one.firstfloor.org> References: <1240910841.6842.1163.camel@yhuang-dev.sh.intel.com> <87eivdqdsq.fsf@basil.nowhere.org> <1240968709.6842.1175.camel@yhuang-dev.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1240968709.6842.1175.camel@yhuang-dev.sh.intel.com> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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@linux.intel.com -- Speaking for myself only.