Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4172062ioo; Wed, 25 May 2022 17:17:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzaSVfQ0hmIda7La/46DN5zhkbNwNnHZWi1DXHUcUSSKS7JqEhRva7rQFyR6P83Mkcsqt/2 X-Received: by 2002:a05:6402:1341:b0:42a:f7cb:44dc with SMTP id y1-20020a056402134100b0042af7cb44dcmr36380322edw.165.1653524250729; Wed, 25 May 2022 17:17:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653524250; cv=none; d=google.com; s=arc-20160816; b=Ebxz2oUJmb2Bf0KbgJ/OPGyrSIdyZjHqSNYs/xd3581wxCycbLrhZNJkTlQz38Fem6 BLWhqfJ08Hd+b1/t3PLFvrGZQwaQBPiHLaOhRrQYtz7KSmBQ7mfVi1t099myH+kkfbVV Y05j/25eES6cSwoRhL6yfoOwkljhCwE5pRWTssiOFiifPLZxXWITOiR6KNkLdTsGA6UY 1SiV6Ywy5O4pSEzzkQlnMVjcy4XeZhvUA58U84ZbFB1bFgB/iOASqZGUdiIf/Fn9l1WG MDn4+QsuJDMjzQBAl5QKkHLIkl/ZHYMMLA+uT+cXdj6/nvpzSdGU7XJT3DepFAq/bskP 7G3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bwKtBZV8ciaRCowgqevFzBNex6RHDTKadOeeg0UrfVc=; b=na3xRTzuqVzth+/+0PWs4V4kv4P5u3rgDVJ4vjxZpskAsCXFHwBZHEBKH6vlm+6r0S w60ncKUw1Fq8gEaZ0GTihXvD0BQIzX8H2hxvVIPHNs93iq7hajUjSpRJQXdXWLss74y0 0tWs6VDtKupUwyv93GFoyXxdkpX6VfBbuJt1zGo21/n/6wvsCbwrX4kPkq/z8LF3aHwY 7XJ0QKl2NjRKJIH+sV+IUEJBssjd249qgqhoZtPztrmI545l7RAhkHhHbsLODP+THG9A G/7LmdyhQho1ZLdKTohAdwT6Z4Ptm6+1PiMf5ffSA+4Yj7EnyS0NtvnxsgfxnK6grcwK FfFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ieO6jRkR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qf7-20020a1709077f0700b006fdeef08e53si113727ejc.380.2022.05.25.17.17.04; Wed, 25 May 2022 17:17:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ieO6jRkR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244518AbiEYN47 (ORCPT + 99 others); Wed, 25 May 2022 09:56:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244512AbiEYN45 (ORCPT ); Wed, 25 May 2022 09:56:57 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9944C91575 for ; Wed, 25 May 2022 06:56:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1653487015; h=from:from:reply-to:subject:subject: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=bwKtBZV8ciaRCowgqevFzBNex6RHDTKadOeeg0UrfVc=; b=ieO6jRkRrzbm3543JJ1jzvykbWFwziukIABw4g6kfdb87cPaQ25y+ZuIn/UffOxdM60zYw W3VzAdtDgp0eF2ZiJBNNjF1Z8HcImmh0odhjwbXn3ffSlC/nZKH7o9Hb8xzg8Anloft+HP GZCdW79WcA/XwkrXkZ+GuCrRd5c3Jc4= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-587-0sDW9gHhNWyfEP9vRbyJdA-1; Wed, 25 May 2022 09:56:52 -0400 X-MC-Unique: 0sDW9gHhNWyfEP9vRbyJdA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9DE3D8001EA; Wed, 25 May 2022 13:56:51 +0000 (UTC) Received: from fuller.cnet (ovpn-112-2.gru2.redhat.com [10.97.112.2]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2F263405D4BF; Wed, 25 May 2022 13:56:51 +0000 (UTC) Received: by fuller.cnet (Postfix, from userid 1000) id CDA06416F574; Wed, 25 May 2022 10:56:18 -0300 (-03) Date: Wed, 25 May 2022 10:56:18 -0300 From: Marcelo Tosatti To: Sebastian Andrzej Siewior , Stefan Wahren Cc: Stefan Wahren , Andrew Morton , Nicolas Saenz Julienne , Borislav Petkov , Minchan Kim , Matthew Wilcox , Mel Gorman , Juri Lelli , Thomas Gleixner , "Paul E. McKenney" , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Linux ARM , Phil Elwell , regressions@lists.linux.dev Subject: Re: vchiq: Performance regression since 5.18-rc1 Message-ID: References: <77d6d498-7dd9-03eb-60f2-d7e682bb1b20@i2se.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 23, 2022 at 09:09:07AM +0200, Sebastian Andrzej Siewior wrote: > On 2022-05-22 01:22:00 [+0200], Stefan Wahren wrote: > > Hi, > Hi, > > > while testing the staging/vc04_services/interface/vchiq_arm driver with my > > Raspberry Pi 3 B+ (multi_v7_defconfig) i noticed a huge performance > > regression since [ff042f4a9b050895a42cae893cc01fa2ca81b95c] mm: > > lru_cache_disable: replace work queue synchronization with synchronize_rcu > > > > Usually i run "vchiq_test -f 1" to see the driver is still working [1]. > > What about > https://lore.kernel.org/all/YmrWK%2FKoU1zrAxPI@fuller.cnet/ > > Sebastian Stefan, Can you please try the patch above ?