Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1377335pxb; Tue, 17 Aug 2021 10:12:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8HF2fad54FagufzrR/9HuV5thOqn0sGUJYYtY+JcFPWFhweMt6aS0JZo3foSvp0JDVF78 X-Received: by 2002:a17:906:b890:: with SMTP id hb16mr4988819ejb.383.1629220366720; Tue, 17 Aug 2021 10:12:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629220366; cv=none; d=google.com; s=arc-20160816; b=dwKEZp5EzojeEdKgzmJU3aZ+PXdvuNOaQexcRjN7nhA5VVlKHqTsBoDVp14eu1GtOc HZqX7qnHaLDz9SwTO4peQPrF5tbVvHNkvlrMgu4cEonxuyki28jAgYUewZhHRZPyWO8g Dq8GcL49xO3Ridpyh8Cc9d6tE0+BwKmz2cMyCEI1uceRZQegjXOM+R+Fg3ae2tNC0Gtp s3SP2LrIskniXoRk9sP4phSXv/RaPjhoy29oYHP/LLM5x/3mFyAOvKmfOnRRcu1VonX+ IvWw0Io+9xaNX4+Hs6GmHL3I9wVU2fKzAYzGM059YwbXxivPNfldNS5k6WEGFjrce46J WjmA== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:dkim-signature:dkim-signature:date; bh=Pua/3tjO7aIRXX12+cyflypDu8x21Lu5L5biSj5T99Q=; b=09GxON3WpkTwxdFfxxWl2QnlvDmTo+JroBsfmM5HSIdOVIO6D+CSN929858KH1Xfy/ p3F/6POiJgfNZ8vbnqFjt9Io3h+gENlZ9r788EWppR45tLdcI6EaGlxxKTLpxkEJWpQq OQ2SEAN4hfvmuwqhh7EhppKrK3IE+np/YZAUf6fIQClPxBmY/vIClgJUNtdgoQV7m+q/ +r5SLmQR9qK9CdpEEMGXuv4oxgPhPObsb7UfvQ7c2WUcCYDr00X9E2fHKD3qcjZNa2j5 2HLnVoHGHSz8v37T08DIYxwPdylaUolZMTWPHT2ArMgGF0mGzcaFJ8mnPVlg0Scd0/gG 5wSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=YD3Vht+o; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=HpqKGx3k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i8si2790255eja.746.2021.08.17.10.12.17; Tue, 17 Aug 2021 10:12:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=YD3Vht+o; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=HpqKGx3k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231837AbhHQRKL (ORCPT + 99 others); Tue, 17 Aug 2021 13:10:11 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:33654 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231637AbhHQRKF (ORCPT ); Tue, 17 Aug 2021 13:10:05 -0400 Date: Tue, 17 Aug 2021 19:09:25 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1629220166; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Pua/3tjO7aIRXX12+cyflypDu8x21Lu5L5biSj5T99Q=; b=YD3Vht+o8To9S+hGwb+xNIUKaaST5m0SQIawHWrrnR4/fsCUYmTQBQZ/0ToWgzcOcoCuCN oZWqQi2hODx16ZVD9str+sWpO7fC5hLDCMf5RgSdPI72cFIq1wOMiraZL5AABD4T1HRU/N pP0IAYWgQw9otSDnEaBI5FZOeSgh02Ji241N2gEz3IFQO5fdgNAoojs6wWw3HvtCKD4YTr x3cOfLTYuoNL/uRL4l36/jCvb489Ia9rvzKqeNJzdG1gYdnGAPSFSI4SDbehZtmjl5bRRi RTzBp8PhHhOCuXWaTrAwfkRxP0N+gj+8yOm2rWzjInEq5/7CzgQxkQeto56ApQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1629220166; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Pua/3tjO7aIRXX12+cyflypDu8x21Lu5L5biSj5T99Q=; b=HpqKGx3k0um5s2EPmjYfPHpbuLBCi0eO6tySgz/NBu6CU/39l03bVrV6GVZbss3RYLU6Or GPzX1T4JuaejwfBA== From: Sebastian Andrzej Siewior To: Valentin Schneider Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, rcu@vger.kernel.org, linux-rt-users@vger.kernel.org, Catalin Marinas , Will Deacon , Ingo Molnar , Peter Zijlstra , Thomas Gleixner , Steven Rostedt , Daniel Bristot de Oliveira , "Paul E. McKenney" , Frederic Weisbecker , Josh Triplett , Mathieu Desnoyers , Davidlohr Bueso , Lai Jiangshan , Joel Fernandes , Anshuman Khandual , Vincenzo Frascino , Steven Price , Ard Biesheuvel , Boqun Feng , Mike Galbraith Subject: Re: [PATCH v3 2/4] sched: Introduce migratable() Message-ID: <20210817170925.2jwqvgvmqab2glwu@linutronix.de> References: <20210811201354.1976839-1-valentin.schneider@arm.com> <20210811201354.1976839-3-valentin.schneider@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20210811201354.1976839-3-valentin.schneider@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-08-11 21:13:52 [+0100], Valentin Schneider wrote: > diff --git a/include/linux/sched.h b/include/linux/sched.h > index debc960f41e3..8ba7b4a7ee69 100644 > --- a/include/linux/sched.h > +++ b/include/linux/sched.h > @@ -1715,6 +1715,16 @@ static inline bool is_percpu_thread(void) > #endif > } > =20 > +/* Is the current task guaranteed to stay on its current CPU? */ > +static inline bool migratable(void) I'm going to rename this in my tree to `is_migratable' because of |security/keys/trusted-keys/trusted_core.c:45:22: error: =E2=80=98migratabl= e=E2=80=99 redeclared as different kind of symbol | 45 | static unsigned char migratable; | | ^~~~~~~~~~ |In file included from arch/arm64/include/asm/compat.h:16, | from arch/arm64/include/asm/stat.h:13, | from include/linux/stat.h:6, | from include/linux/sysfs.h:22, | from include/linux/kobject.h:20, | from include/linux/of.h:17, | from include/linux/irqdomain.h:35, | from include/linux/acpi.h:13, | from include/linux/tpm.h:21, | from include/keys/trusted-type.h:12, | from security/keys/trusted-keys/trusted_core.c:10: |include/linux/sched.h:1719:20: note: previous definition of =E2=80=98migra= table=E2=80=99 was here | 1719 | static inline bool migratable(void) | | ^~~~~~~~~~ Sebastian