Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp685514rdb; Thu, 15 Feb 2024 12:04:09 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXfnsGHgZmuDYRTm6QSEUBMRZwrbnB/GwjeLzgUxd056uJjTXzQm7cU0/f2bqNoPkpGoSkpQgGiwFBgycvg633MTOhFQkfE3aQrfE5SkA== X-Google-Smtp-Source: AGHT+IHrMlO3ZIrRJRjiYMXq0yEWWAwwrc1Skepf/BZ4+uJCLbygj38ocAsjBDh5YGJJrKGeARa7 X-Received: by 2002:ae9:e30a:0:b0:786:6e8:5a86 with SMTP id v10-20020ae9e30a000000b0078606e85a86mr3297930qkf.63.1708027449551; Thu, 15 Feb 2024 12:04:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708027449; cv=pass; d=google.com; s=arc-20160816; b=lmpxq8dqOautRPVdhk2NzROu/S233tRiaZHA0aC9nFTB9yvQu6xT81uof9KiW7VB3h GDJOgRWeaWmFRQQslEchwZM0cjvO3HEwRgH3VkVPJb/yIii5lk9W50RLO0kPoMqPqkLj ThGCbZ7t90lZRV7vRZbYzlRZn4wYK4AvhAeYtCAg3lXV6yKzGOdCJLrvy5DDUdkgcZg1 GIEOTzxpbuvBu0o3nNBUSBdapIcJPvU65G6s5ML4JiPzhrdTcChA7nYLNdN4tZYokWfL h0XZKrwBQjN74s9NoBZyM4PwoT0c6dPASBaSlvsqm9M9KJyfusQ3FZWrv3oDHP00e7tC OzBw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=019l0rTUicLsyOLLYAl0uCZ+zXM6fXOVg4/goWPmOZY=; fh=KogymYJVYlWaluuclSmu0qvLp6x9r0wPgaxNTwClaIA=; b=DXl9r1GieYsb+PXH/rX/B/xEYZ3GYKmPruurK5pzbdv82IOxJkrbtxn2B0gGccoca+ okwI6Lw11HDTj3uAcE24d2z/WYO0WQm/8Vl6xX28RwFPATutePdx2enJRwNfPQNn/zNU i5LYcgqvrDuFsCbKsqol78ZNFLSAr9uEIzhURKolX6mv8qtaEL/jTSumH3ejrH1smDMG ixCwVLb3D7YdeVWoIBckoo4VaE0rAxek8RgTT1nSXz+0Gea3vJ64HrNzh4vzoluf86BG msFC4dH08XizbWnTjEqPMJJZtTIGOVmTG7Ounro1TyfpnyhkaTtINZ0W8Y0Of/j0wzfd xoig==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=J0FLFrpT; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-67635-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67635-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id i24-20020ac860d8000000b00429d470ea36si1937536qtm.592.2024.02.15.12.04.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 12:04:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67635-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=J0FLFrpT; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-67635-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67635-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4E2F21C20CAD for ; Thu, 15 Feb 2024 20:04:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9AB3213A88F; Thu, 15 Feb 2024 20:04:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="J0FLFrpT"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="WF2133Sb" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 81DB141A81 for ; Thu, 15 Feb 2024 20:04:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708027443; cv=none; b=uiea1Di58GoEXRNXeDEStXU9tSQ8hW2dBCizuscmFIDcLOeFjnZKv4g2Fla/RZOgy/pcQUZivzDz3AxSkieCHgqozpzTbZsMv2/4w1qFObgKpJoRIUzYGmUgVn48smzk5XRrCOyCn0loadhNVu0eBsftc/T2lN2mDhZdYx4zjdo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708027443; c=relaxed/simple; bh=019l0rTUicLsyOLLYAl0uCZ+zXM6fXOVg4/goWPmOZY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=dx7o97H4W5Mla6RQbwwEY3MnBMyqJAH5A6juZ2kdHS9OIqNd4hUX5vhEXoXOhmlBHzG3j5bFa6ocpsebutOc83c7yShJB9CquO0Q2mgHw9RPda1B2pcqbQyNh2tTuj5aVuUoJaAAsQyXJQr/2oZZr2RNxt6oemsV5x/P2gUh8bM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=J0FLFrpT; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=WF2133Sb; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1708027440; 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=019l0rTUicLsyOLLYAl0uCZ+zXM6fXOVg4/goWPmOZY=; b=J0FLFrpTUnhuDsfRGKxdoXRjoHbbmfV7DIRu2Lh6pQ7+rsX6xqUKUuFv4BpeLsjorI0F/6 RgyKhoLsMe9fwG79NG0ow7FyBvXc8S50tvvzfybFRGPADZLu/uDyl2xl8iRuOD4mzcfWEV w8j4ioC4vUjM8Hy+OqweXFBtWSbjA1phG6+/JykyQvd+r9SnnQbiiigOscFM4MkKhlRwi7 yOF04yty4LTpmE+b6u2mx1XJ6sPz/gtYXUJvPIvLbQkEiVTFjr4EE5DwwKWjxDJkX2380D 5dMTZ9xSPBex8u48lZbN3BsVGUeiUaXvpj2deBQhz2roq/l9IDMbDC2KbwoiRQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1708027440; 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=019l0rTUicLsyOLLYAl0uCZ+zXM6fXOVg4/goWPmOZY=; b=WF2133Sb/SlkQBH6/efVP7g53EOSCWM6Obq9KTBIZD8x7xQqoHccOF8SAu0fbJmvyy/N7x Ot8DAj893Za2B5Cg== To: paulmck@kernel.org, Ankur Arora Cc: linux-kernel@vger.kernel.org, peterz@infradead.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, luto@kernel.org, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, willy@infradead.org, mgorman@suse.de, jpoimboe@kernel.org, mark.rutland@arm.com, jgross@suse.com, andrew.cooper3@citrix.com, bristot@kernel.org, mathieu.desnoyers@efficios.com, glaubitz@physik.fu-berlin.de, anton.ivanov@cambridgegreys.com, mattst88@gmail.com, krypton@ulrich-teichert.org, rostedt@goodmis.org, David.Laight@aculab.com, richard@nod.at, jon.grimm@amd.com, bharata@amd.com, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com Subject: Re: [PATCH 00/30] PREEMPT_AUTO: support lazy rescheduling In-Reply-To: <0d4a4eec-ce91-48da-91b6-1708a97edaeb@paulmck-laptop> References: <20240213055554.1802415-1-ankur.a.arora@oracle.com> <87le7mpjpr.fsf@oracle.com> <4e070ae0-29dc-41ee-aee6-0d3670304825@paulmck-laptop> <0d4a4eec-ce91-48da-91b6-1708a97edaeb@paulmck-laptop> Date: Thu, 15 Feb 2024 21:04:00 +0100 Message-ID: <87sf1tcx5b.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Thu, Feb 15 2024 at 11:28, Paul E. McKenney wrote: > On Wed, Feb 14, 2024 at 07:45:18PM -0800, Paul E. McKenney wrote: > I am also getting these from builds that enable KASAN: > > vmlinux.o: warning: objtool: mwait_idle+0x13: call to tif_resched.constprop.0() leaves .noinstr.text section > vmlinux.o: warning: objtool: acpi_processor_ffh_cstate_enter+0x36: call to tif_resched.constprop.0() leaves .noinstr.text section > vmlinux.o: warning: objtool: cpu_idle_poll.isra.0+0x18: call to tif_resched.constprop.0() leaves .noinstr.text section > vmlinux.o: warning: objtool: acpi_safe_halt+0x0: call to tif_resched.constprop.0() leaves .noinstr.text section > vmlinux.o: warning: objtool: poll_idle+0x33: call to tif_resched.constprop.0() leaves .noinstr.text section > vmlinux.o: warning: objtool: default_enter_idle+0x18: call to tif_resched.constprop.0() leaves .noinstr.text section > > Does tif_resched() need to be marked noinstr or some such? __always_inline() probably