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=-13.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL 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 B127CC433B4 for ; Thu, 20 May 2021 12:04:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 935DF61059 for ; Thu, 20 May 2021 12:04:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242422AbhETMFt (ORCPT ); Thu, 20 May 2021 08:05:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242274AbhETMFd (ORCPT ); Thu, 20 May 2021 08:05:33 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 318BBC06917D for ; Thu, 20 May 2021 03:34:03 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id n17-20020a7bc5d10000b0290169edfadac9so5112722wmk.1 for ; Thu, 20 May 2021 03:34:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=5n6riXCd1vkZQcoH0r5gYShL1+XQ6uXaF5ZA75ztkS4=; b=hqF1evK4XE7TofUsWGxTL13k2AC6u5yfZPjf37ZMM6wuWy4eazgaoxsdsj4w7FSenB Suqt0myWlzhpBr4iWL3CsiFkL/KE7Ot/esZP0uWdz+8wuYpAeWgNHUhcdGNl1UCxRO0o xS7CdKhyi4jGanQWWI3xKFxQoVoLb0IgGRFJFihhHtx1/zac3eiqhaf4dQiBOq1/4wtv NA81yyGUp5grSRuRZJXK9aOYqLiCPSGIBXZMPG+fCpkyfbmRJtHyQT5RogbOGlMwsNl9 J0kUIoAY1OFO8I9n2tDAiqXGl8FZmhYDVgkNikPJkpp1EwxNbAQeqAp+aiWzdWKTMlfH K6oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=5n6riXCd1vkZQcoH0r5gYShL1+XQ6uXaF5ZA75ztkS4=; b=H9OInu3o0pYxcFwoKwtdih95/XZwZKKr9+LcdsAy1NNuyA3eqjCLyp5/1COQBCzVlb iLr+OxB0abInj5ImKbavC46FXYlWY9MnRCuXFPhKbQ0KegD8Znktwt+xb5NjqiY4OKzq 85MJN2pMoUeK301tob8NotiwOpTI5Pj8nMx1MLeUY4n8SWiyfQmC80Rfwq2vZRLsA2I1 nZdOZvVVRmsKEtJzT6ViP2HwqpkWprHiJ2nSeOjJsSeEHijPhR/2y6Z4VHcpR3DGSx80 cBzpKabI3Gr5F8fVGsLYUqQsH0nQetECBnNgFvkM9hqkJzLfyEzSS9Rp6uvKm6xuXceq PrBQ== X-Gm-Message-State: AOAM531LPqMmKo5xeg0+HX8XLrKHfhqKJDMi4etECcL9sdjaG6/KYy4O Ami2H8JPMwU+vNy5AaZP+b5lcg== X-Google-Smtp-Source: ABdhPJxq6/OQqdBrhuKZaLq+XaCRlIoDOoH49bUkTeQ3q8Q0V8pTmzOTJi3JYtKP3tAWP/lop7kWOg== X-Received: by 2002:a7b:cc15:: with SMTP id f21mr3398343wmh.86.1621506841514; Thu, 20 May 2021 03:34:01 -0700 (PDT) Received: from google.com (105.168.195.35.bc.googleusercontent.com. [35.195.168.105]) by smtp.gmail.com with ESMTPSA id r1sm2649161wrt.67.2021.05.20.03.34.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 03:34:00 -0700 (PDT) Date: Thu, 20 May 2021 10:33:58 +0000 From: Quentin Perret To: Will Deacon Cc: Juri Lelli , linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Catalin Marinas , Marc Zyngier , Greg Kroah-Hartman , Peter Zijlstra , Morten Rasmussen , Qais Yousef , Suren Baghdasaryan , Tejun Heo , Johannes Weiner , Ingo Molnar , Vincent Guittot , "Rafael J. Wysocki" , kernel-team@android.com, Daniel Bristot de Oliveira Subject: Re: [PATCH v6 13/21] sched: Admit forcefully-affined tasks into SCHED_DEADLINE Message-ID: References: <20210518094725.7701-1-will@kernel.org> <20210518094725.7701-14-will@kernel.org> <20210518102833.GA7770@willie-the-truck> <20210518105951.GC7770@willie-the-truck> <20210520101640.GA10065@willie-the-truck> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210520101640.GA10065@willie-the-truck> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 20 May 2021 at 11:16:41 (+0100), Will Deacon wrote: > Ok, thanks for the insight. In which case, I'll go with what we discussed: > require admission control to be disabled for sched_setattr() but allow > execve() to a 32-bit task from a 64-bit deadline task with a warning (this > is probably similar to CPU hotplug?). Still not sure that we can let execve go through ... It will break AC all the same, so it should probably fail as well if AC is on IMO 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=-4.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 E1408C433ED for ; Thu, 20 May 2021 10:35:38 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7377D60231 for ; Thu, 20 May 2021 10:35:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7377D60231 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=8gsBk2EZ+3Ybb0VGxFLi+E+q491f8PpK3YrjOfV4pmE=; b=hBklNEaetwDtDQmZWq4uGQbeIn W2+HjnfWeNsMKimrrvvgibxWlnls2913OJNQwPsag5H/JhEzF3ymuqbYbvy5XwqOMFq1kKRXlLD2A ana8y8Ib1vehJ+1WD25CjnjSNooSFOzym0vcoaUv1+v0cAOtXG6yQBqXYdjqNcomcGx82OHCfh0Nq boNYeJXH+dm0/dSPfNRk0ggIhxXZkxoPAR66QegxPxF5ND/9fGxjD1ljQ3vdK90HtzO+tL41aK4hu z97oZYNO/eUOMTx/2z2kh5ARuYaiuISK3jJn7kpT0U5KKonMb2hFdLGEGUaXEXnluRuTxNkSfSRim PW6dbwuw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljg0H-000Anw-QZ; Thu, 20 May 2021 10:34:10 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljg0F-000AmO-DY for linux-arm-kernel@desiato.infradead.org; Thu, 20 May 2021 10:34:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=5n6riXCd1vkZQcoH0r5gYShL1+XQ6uXaF5ZA75ztkS4=; b=0hvkECrKIwmXS66+0pU1SHiC4y ffaP5H0wbYg3XIi/Z2OkSoGW1v7oO/iQV31618qJeWYmmbTVeaxiBarJyr2IXlvbtaMrKz2+Utw6J GCLSOrrZrwxbH6Xn65eo9/lDXxUF1euJ+yXbXKt/E7VT8GyJyQrwJJ+ud6Vbf0w+SPhNNKcAxiaBO RIN9w8J30ibf4BSVjLAi/Mi/a5mUHaVGPb0uDZkwM4OEI9338m3X2UTjRrUJG58opyCR/SEWJUeP3 YUq8GkUN8tb6B+mFYge0yg3HibGyN3dKs4Ln0QE2GuwfcVb9k8p9Qk7W/ZmyE9avvAYfK9/zg/KDe DPdZ+dPA==; Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljg0C-00GB5p-Gg for linux-arm-kernel@lists.infradead.org; Thu, 20 May 2021 10:34:05 +0000 Received: by mail-wm1-x336.google.com with SMTP id z19-20020a7bc7d30000b029017521c1fb75so5117608wmk.0 for ; Thu, 20 May 2021 03:34:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=5n6riXCd1vkZQcoH0r5gYShL1+XQ6uXaF5ZA75ztkS4=; b=hqF1evK4XE7TofUsWGxTL13k2AC6u5yfZPjf37ZMM6wuWy4eazgaoxsdsj4w7FSenB Suqt0myWlzhpBr4iWL3CsiFkL/KE7Ot/esZP0uWdz+8wuYpAeWgNHUhcdGNl1UCxRO0o xS7CdKhyi4jGanQWWI3xKFxQoVoLb0IgGRFJFihhHtx1/zac3eiqhaf4dQiBOq1/4wtv NA81yyGUp5grSRuRZJXK9aOYqLiCPSGIBXZMPG+fCpkyfbmRJtHyQT5RogbOGlMwsNl9 J0kUIoAY1OFO8I9n2tDAiqXGl8FZmhYDVgkNikPJkpp1EwxNbAQeqAp+aiWzdWKTMlfH K6oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=5n6riXCd1vkZQcoH0r5gYShL1+XQ6uXaF5ZA75ztkS4=; b=se7nCPJlMrvp2K7UdbiNbcKse4bJi0RvsiZnQyhIvlBwwYQjfF9skJhfV2ltJ/5D+C kaNuSced4MeyJOjdkleTNK5Cnoxw1YXMD0Al3PlRkplupsX3sFlsFmJVizDfEc1yMHG0 SMmMHzozFzN61hMiRv3HX/MOCYAdcxKiU8yRlARU6nrm10e3dN/MKaBM/wKFdS1hba3c QOXflPDV9IWS+NQMLGYuMEwNJcUiGLVOLA9dxcwgZYBr2CmwVsz6zONDFCYzCekr97xK wJMaOBgXUAqZ5tbVQGtcN1+kfAogCzSoU+Gfwu+1VekZcICzLYFDhIhQbHxrNsySu+qa 9rmg== X-Gm-Message-State: AOAM530g+YjXw6KOp0kJ5D6GCOxgL0V8SWnUc6N0dVmL0xpqqYqeCiA5 kXJqcKvRNxxso5U+Ygdap23Z5T/6B4fE7w== X-Google-Smtp-Source: ABdhPJxq6/OQqdBrhuKZaLq+XaCRlIoDOoH49bUkTeQ3q8Q0V8pTmzOTJi3JYtKP3tAWP/lop7kWOg== X-Received: by 2002:a7b:cc15:: with SMTP id f21mr3398343wmh.86.1621506841514; Thu, 20 May 2021 03:34:01 -0700 (PDT) Received: from google.com (105.168.195.35.bc.googleusercontent.com. [35.195.168.105]) by smtp.gmail.com with ESMTPSA id r1sm2649161wrt.67.2021.05.20.03.34.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 03:34:00 -0700 (PDT) Date: Thu, 20 May 2021 10:33:58 +0000 From: Quentin Perret To: Will Deacon Cc: Juri Lelli , linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Catalin Marinas , Marc Zyngier , Greg Kroah-Hartman , Peter Zijlstra , Morten Rasmussen , Qais Yousef , Suren Baghdasaryan , Tejun Heo , Johannes Weiner , Ingo Molnar , Vincent Guittot , "Rafael J. Wysocki" , kernel-team@android.com, Daniel Bristot de Oliveira Subject: Re: [PATCH v6 13/21] sched: Admit forcefully-affined tasks into SCHED_DEADLINE Message-ID: References: <20210518094725.7701-1-will@kernel.org> <20210518094725.7701-14-will@kernel.org> <20210518102833.GA7770@willie-the-truck> <20210518105951.GC7770@willie-the-truck> <20210520101640.GA10065@willie-the-truck> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210520101640.GA10065@willie-the-truck> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210520_033404_595977_68ECFF25 X-CRM114-Status: GOOD ( 11.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thursday 20 May 2021 at 11:16:41 (+0100), Will Deacon wrote: > Ok, thanks for the insight. In which case, I'll go with what we discussed: > require admission control to be disabled for sched_setattr() but allow > execve() to a 32-bit task from a 64-bit deadline task with a warning (this > is probably similar to CPU hotplug?). Still not sure that we can let execve go through ... It will break AC all the same, so it should probably fail as well if AC is on IMO _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel