Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp1384613rwl; Fri, 4 Nov 2022 13:18:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4hACQJu0KLYRGdFGUq++sS1ox6KgiP8W0mqnGQjCOdQTZNBujM1RIZU8YGnemCCW/ZiRFo X-Received: by 2002:a05:6402:26ca:b0:462:7f27:a0dd with SMTP id x10-20020a05640226ca00b004627f27a0ddmr37354255edd.132.1667593105066; Fri, 04 Nov 2022 13:18:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667593105; cv=none; d=google.com; s=arc-20160816; b=FosCA0+y7MRQFb/16NvVKW8zyJbTVy4GMP8WCzM8p/7EuUUkGtO1xPzdym9O6UEVmc pg/QPy+mfGqrCJmnD/kO+SCYnf4sjkf9cRaf1VTroyMKsTZhi3oq8yy9l+kAIEztGdpl fPVDtjHdQxfIkTmZPzw4e5D84hi3saQZMFoLZZcE42l6PFSg0f7U8vb5XyX05Yw7slYC ZFAnoJ4A2H/rHBhdqAtLvOvcc1GmX65MKGomFGA4dnDKtNyZ6cC3hmz0vPIGPb6eN95B 7A8WATI0046WZbJgohDl3OK+AQzbExDcVmPKlFi5TmVS37TSiezw7b1EC2RrwJRpwS27 IwYg== 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=Aykb0AfnpwXRSpQw90gCc1LVerApw/P9i4pLqF2zuuQ=; b=W0VSqZgJDuv2DwqEfsLVF908S/czRdimQzAwZ9iDC0vZ3Y3+xZvh3bpnkMJd2tZKx1 wY8wCKIhykpNhGsWUqW6DC8hkpsqjNKwsBqpkaVgyohooIJ1606GFdqQ2SyfFgEQ7YKa /XGDGUXxAfNsjtICoE4/7vDjel8Xc+KivOLy6MUkQnRg18kSx1zJ5BX6efIadgcKMDRO MP07LcMc1xT6FmYuDN5LiRC/CPMuLnN52nk+PVFRZpO04BZSMzoMV3pK1A3H05EOw2NL ABd2r1/re98CbtyMi6aRgOpv4SIqzyk3t6IKx1IfVHTdHWLLD45jXCro3Y9w7jZVvjvI vxOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cmpxchg-org.20210112.gappssmtp.com header.s=20210112 header.b=Xe7kti2H; 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=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z1-20020a056402274100b00461eb5cdcdcsi647997edd.23.2022.11.04.13.18.00; Fri, 04 Nov 2022 13:18:25 -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=@cmpxchg-org.20210112.gappssmtp.com header.s=20210112 header.b=Xe7kti2H; 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=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229693AbiKDULr (ORCPT + 98 others); Fri, 4 Nov 2022 16:11:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbiKDULp (ORCPT ); Fri, 4 Nov 2022 16:11:45 -0400 Received: from mail-qv1-xf2e.google.com (mail-qv1-xf2e.google.com [IPv6:2607:f8b0:4864:20::f2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D22522C653 for ; Fri, 4 Nov 2022 13:11:43 -0700 (PDT) Received: by mail-qv1-xf2e.google.com with SMTP id e15so3933352qvo.4 for ; Fri, 04 Nov 2022 13:11:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20210112.gappssmtp.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Aykb0AfnpwXRSpQw90gCc1LVerApw/P9i4pLqF2zuuQ=; b=Xe7kti2HDVIeQ0SvOaUOKHrXDKoL1/xJosLh4TlW/ZWqCLHZUtRY5pQLh/SDC5k1// pP4RY+wG1fzBGIZEaaAOdOGi7l4euyrmmxw0ohyJY+iYZyJU14RcAtrP4GgGNoTUDAC/ fMjn2/Cmew0Ec/TVKAe1Ir6WkR7cWSzTwkYxTZPHOzQqQ/Tf4cGB8nWPNXN/F9EJ/nj7 CJFMv/dqFr8eHzlq+3AJqKALFi74B0HEt5YDM3DZp3zWpLuZAsZurvcJHAV38urfxlfy jB5ajEmlUS43GYhajTM7+Jm088xNJbzh+iTX0gR7G2VWzQTqX6CYsUjKvFqstkvWj5Dm 6iEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Aykb0AfnpwXRSpQw90gCc1LVerApw/P9i4pLqF2zuuQ=; b=T2BfC3oyQstHTJgXKKMZNh0EdfpX60QtMDkcIpNLVt/YryytK9KTlZGB14vmvgGoOY WxlBD6lFa2VV4Z1lOYEQ0BMAp8nBUbudTqxa7ELJSxb6TekCrWyVTg4kxdE3P8Zy+9l9 FGU04T/OR7dXaOTanhwuWGjHaPaxDkFh6x5lOm6gSFPtUMHTZdAye/hPIjAPdQ5FWtTF N7f6eY5AoHDSqSewL0A8nsdKrIj7j4wfGaGZZVS/sf75aQhn7R0m8dy1CHOMBXO4xcnw dUgXvwMYA7OzqkkUgUIJWNG9uOFsxhDojf/04wmCYR8Y9FKsyF/Gx3BmyFYnH0GpC04D S1Ew== X-Gm-Message-State: ACrzQf2L/OqSziMjd8YxyGLUiy3P1r0/Smlx3Hi8ZYZlb2bndGDKxP+6 pScF/3M+Veahq1MQE0XYJqi7+Q== X-Received: by 2002:ad4:5f4e:0:b0:4bb:a679:e27c with SMTP id p14-20020ad45f4e000000b004bba679e27cmr34670954qvg.90.1667592702999; Fri, 04 Nov 2022 13:11:42 -0700 (PDT) Received: from localhost ([2620:10d:c091:480::25f1]) by smtp.gmail.com with ESMTPSA id o24-20020a05620a229800b006eeb25369e9sm105842qkh.25.2022.11.04.13.11.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Nov 2022 13:11:42 -0700 (PDT) Date: Fri, 4 Nov 2022 16:11:45 -0400 From: Johannes Weiner To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, Linus Torvalds , Thomas Gleixner , Stephen Boyd , Guenter Roeck , Anna-Maria Gleixner , Andrew Morton , Suren Baghdasaryan , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider Subject: Re: [RFC][PATCH v3 31/33] timers: sched/psi: Use timer_shutdown_sync() before freeing timer Message-ID: References: <20221104054053.431922658@goodmis.org> <20221104054917.543373979@goodmis.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221104054917.543373979@goodmis.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 Fri, Nov 04, 2022 at 01:41:24AM -0400, Steven Rostedt wrote: > From: "Steven Rostedt (Google)" > > Before a timer is freed, timer_shutdown_sync() must be called. > > Link: https://lore.kernel.org/all/20220407161745.7d6754b3@gandalf.local.home/ > > Cc: Johannes Weiner > Cc: Suren Baghdasaryan > Cc: Ingo Molnar > Cc: Peter Zijlstra > Cc: Juri Lelli > Cc: Vincent Guittot > Cc: Dietmar Eggemann > Cc: Ben Segall > Cc: Mel Gorman > Cc: Daniel Bristot de Oliveira > Cc: Valentin Schneider > Signed-off-by: Steven Rostedt (Google) Acked-by: Johannes Weiner