From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A6F47C35250 for ; Sat, 8 Feb 2020 16:11:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7AA64227BF for ; Sat, 8 Feb 2020 16:11:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=xenosoft.de header.i=@xenosoft.de header.b="AEAUaxNb" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727446AbgBHQLs (ORCPT ); Sat, 8 Feb 2020 11:11:48 -0500 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.54]:19299 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727303AbgBHQLs (ORCPT ); Sat, 8 Feb 2020 11:11:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1581178306; s=strato-dkim-0002; d=xenosoft.de; h=In-Reply-To:Date:Message-ID:References:Cc:To:From:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=PdihAqfeKD54YbNb2He1peHtwOFZYOu4uAedog826qA=; b=AEAUaxNbKley/K+oKhuXYA2tWJik6bk72dVOauWRCwLBvaQUgtJRxLTlEMPNEtzc+H e5oMnN52VcSbuVcqAigGPQdkVqff+nVAGuaBGsp2w6IBPfuhG9FeaTf4RMoFdbgETZJy 4/9DKqqWeRwsaTATZZNGtgeqOCGJwwx1lHgKThFvqwQcZPCHOimUiQ4BG7vwxCl1leNr GojqKLT+6+m7+DypD7vwDM0Cu6r+sJ4bHP+DiEWVo2Z6ht3vMFg8T8h0XKDw0Iagofti obxBIS8Q2VTdB1NWRAuKHynthhBIYtjj69HAXxTTMJ/BzLFqY1l/HdMZ3axQ/ODW0IAG xpFw== X-RZG-AUTH: ":L2QefEenb+UdBJSdRCXu93KJ1bmSGnhMdmOod1DhGM4l4Hio94KKxRySfLxnHfJ+Dkjp5DdBJSrwuuqxvPgBLiaxlASBVL8WJv/OkCrDe9HRcQ==" X-RZG-CLASS-ID: mo00 Received: from [IPv6:2a02:8109:89c0:ebfc:b8e6:ddd1:f1d2:d845] by smtp.strato.de (RZmta 46.1.12 AUTH) with ESMTPSA id 40bcf3w18G8eit4 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Sat, 8 Feb 2020 17:08:40 +0100 (CET) Subject: Re: Latest Git kernel: avahi-daemon[2410]: ioctl(): Inappropriate ioctl for device From: Christian Zigotzky To: Arnd Bergmann Cc: Michael Ellerman , Jakub Kicinski , Christophe Leroy , DTML , Darren Stevens , Linux Kernel Mailing List , linuxppc-dev@ozlabs.org, "contact@a-eon.com" , "R.T.Dickinson" , Christoph Hellwig , mad skateman , "netdev@vger.kernel.org" , Christian Zigotzky References: <834D35CA-F0D5-43EC-97B2-2E97B4DA7703@xenosoft.de> Message-ID: Date: Sat, 8 Feb 2020 17:08:40 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: <834D35CA-F0D5-43EC-97B2-2E97B4DA7703@xenosoft.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: de-DE Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08 February 2020 at 07:59 am, Christian Zigotzky wrote: > >> On 7. Feb 2020, at 18:08, Arnd Bergmann wrote: >> >> On Fri, Feb 7, 2020 at 3:34 PM Christian Zigotzky >> wrote: >>> Hello Arnd, >>> >>> We regularly compile and test Linux kernels every day during the merge >>> window. Since Thursday last week we have very high CPU usage because of >>> the avahi daemon on our desktop Linux systems (Ubuntu, Debian etc). The >>> avahi daemon produces a lot of the following log message. This generates >>> high CPU usage. >>> >>> Error message: avahi-daemon[2410]: ioctl(): Inappropriate ioctl for device >>> >>> strace /usr/sbin/avahi-daemon: >>> >> Thanks a lot for the detailed analysis, with this I immediately saw >> what went wrong in my >> original commit and I sent you a fix. Please test to ensure that this >> correctly addresses >> the problem. >> >> Arnd > Hi Arnd, > > Thanks a lot for your patch! I will test it as soon as possible. > > Cheers, > Christian Hi Arnd, I successfully compiled the latest Git kernel with your patch today. The avahi daemon works fine now. That means your patch has solved the avahi issue. Thanks for your patch and have a nice weekend! Cheers, Christian