Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 344CEC433F5 for ; Thu, 6 Jan 2022 15:09:45 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 53C7A1A24; Thu, 6 Jan 2022 16:08:53 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 53C7A1A24 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1641481783; bh=uazz0rOIQ5v5iAGxI9HWkPtFJ6x811173DPlWwVAqu8=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=NcU+CPGsvn+2V/42RTihGUuWgZVMDtWxmSQo8i4wjnobUGDL6TWHintY1A+lQd2Ma 4/AOketpMW+KzzCZNJho1qACqAGjlGhI600hJ2o8Be7ytoNNxWjMObvozYsCydwGRv 6AdNjCsCd+695Oo+F5xQhF17TXoeOZZSbv8X8ugY= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id E50B5F80121; Thu, 6 Jan 2022 16:08:52 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 019A4F800AE; Thu, 6 Jan 2022 16:08:50 +0100 (CET) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 4B615F8007E for ; Thu, 6 Jan 2022 16:08:43 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 4B615F8007E Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="AnCyzfGv"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="pPfzUZws" Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id A57BA1F397; Thu, 6 Jan 2022 15:08:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1641481718; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=38dm+nbYkJbYlsI8QC0aHe/BT2jCQoNT7qyfhxcb4A4=; b=AnCyzfGv7qCuppyV6ZAFqYtogrWBesuf0wpR6eszC+JRD4hiUrYUV46tL4u1HwBu2pFu1i 891ed3PSbgFOUUsmvIWlnrUt/RUmUvb1su8luPZTVuGzusJMmAeZ73Klwf+qo/OH2nUzLg L789ab2SocEOuTXfwx8gfV4l/JntOn4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1641481718; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=38dm+nbYkJbYlsI8QC0aHe/BT2jCQoNT7qyfhxcb4A4=; b=pPfzUZwsGDVb5yXnKf83tlFpSsZ4gm7Y9lSVOsn3FIte9uX/OJk6djZK51PyAyW35IEHFu Db9cyszCP2r2QaAg== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 95D10A4019; Thu, 6 Jan 2022 15:08:38 +0000 (UTC) Date: Thu, 06 Jan 2022 16:08:38 +0100 Message-ID: From: Takashi Iwai To: Stefan Sauer Subject: Re: [PATCH 1/2] ALSA: seq: virmidi: Add a drain operation In-Reply-To: <20220106124145.17254-1-st_kost@gmx.de> References: <20220106124145.17254-1-st_kost@gmx.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: alsa-devel@alsa-project.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Thu, 06 Jan 2022 13:41:45 +0100, Stefan Sauer wrote: > > If a driver does not supply a drain operation for outputs, a default code > path will execute msleep(50). Especially for a virtual midi device > this severely limmits the throughput. > > This implementation for the virtual midi driver simply flushes the output > workqueue. > > Signed-off-by: Stefan Sauer Thanks, applied. Takashi