From: Takashi Iwai Subject: Re: [PATCH 1/2] ALSA: pcm: Yet finer pending signal check in OSS read/write loop Date: Sat, 07 Apr 2018 13:16:52 +0200 Message-ID: References: <20180406133412.10649-1-tiwai@suse.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id BD8D6266F69 for ; Sat, 7 Apr 2018 13:16:53 +0200 (CEST) Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 045E4AE46 for ; Sat, 7 Apr 2018 11:16:52 +0000 (UTC) In-Reply-To: <20180406133412.10649-1-tiwai@suse.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Takashi Iwai Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Fri, 06 Apr 2018 15:34:11 +0200, Takashi Iwai wrote: > > PCM OSS emulation has the nested inner loops, and the loops in > snd_pcm_oss_read3() and write3() have no pending signal check, so > potentially they can hog for too long time for processing. > Add the extra check there. > > While we're at it, a slight code cleanup using the standard macro for > the PCM state check is used. > > Signed-off-by: Takashi Iwai Scratch these two patches. Both are superfluous, not really fix anything substantial. Sorry for the noise. Takashi