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=-6.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 F3BD7C433B4 for ; Thu, 20 May 2021 12:38:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D0B496024A for ; Thu, 20 May 2021 12:38:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239556AbhETMjv (ORCPT ); Thu, 20 May 2021 08:39:51 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:35451 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240307AbhETMjf (ORCPT ); Thu, 20 May 2021 08:39:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1621514293; 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=H2EoGPNNHek5LA/HaoBsDmWfJRldrDqmUuCzE8A0ctw=; b=H3YA8T0VUyESiBigdLS4ghZdyCIJ9Tp9AiS27WgsBLzDeN97aD31yriaL6ttPa9DOIOHeF OwO9o1CpimNiLOSp9zuW3fFV48Sv3iI5+xSWuwziu4WNkxBw8D4fQHWyYk55Olmb3elHB3 G4lbDp/BbkHetCeNTbD3n7WE4NymJFk= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-522-bSZ8vDK5MSWD2RfiHo3vyQ-1; Thu, 20 May 2021 08:38:12 -0400 X-MC-Unique: bSZ8vDK5MSWD2RfiHo3vyQ-1 Received: by mail-ej1-f71.google.com with SMTP id dr20-20020a1709077214b02903db77503922so1313261ejc.6 for ; Thu, 20 May 2021 05:38:11 -0700 (PDT) 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=H2EoGPNNHek5LA/HaoBsDmWfJRldrDqmUuCzE8A0ctw=; b=Yn4RjP8dK/vWnA91OxyCeE4RA3hogQMTs+chEALbpFWcJdYjqqvtDJyoAS7S/XUq4d WC7S5Kx00tEv/Ab2vfnaMnXHsrfZzIY9wfPi5ooXre8RczW+TRLTWsR/umEKzxWtjAfb XBdGlXjn0pTgOg2rRrCQdpFNECFlFBPe7RTmwj9x6bYDdMi5gpfYx9a4ZsxYr1+aqPxO sc1csI5nm6rbAW6Ot4yttaRkATs2w2R+VcC6A0naEi12qbG9W8A6uwoX8XvPHS6LDr6p M+O5FtUPorccqAwMKcuoYu92xOFr4qGcy5QtEzHGF7DVpG/FgBcjlREDcq0yLcMpYuW8 pebg== X-Gm-Message-State: AOAM533Fs8htjwKOy2InCRyF2r+NhgPbhe4NZNST5MINPJrr7Kros6vr fRrTMWYkWuQPJdcnYkYLnDhV/Z7hHws4jLkgJ3NiojzCkr99ye9yutpd1ykepN/gJAsyl2uczGR ewVCCK6fGCKKhpSDaIe9mxb6A X-Received: by 2002:a50:bae6:: with SMTP id x93mr4839701ede.48.1621514290946; Thu, 20 May 2021 05:38:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAZeB/EOTP1dDTwMk1xnI0rDau9TReXYikgiANp8pL0KOwU4KheOhp2p+q8xNWGxoGgMckLg== X-Received: by 2002:a50:bae6:: with SMTP id x93mr4839685ede.48.1621514290778; Thu, 20 May 2021 05:38:10 -0700 (PDT) Received: from localhost.localdomain ([151.29.18.58]) by smtp.gmail.com with ESMTPSA id bw26sm1321519ejb.119.2021.05.20.05.38.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 05:38:10 -0700 (PDT) Date: Thu, 20 May 2021 14:38:08 +0200 From: Juri Lelli To: Quentin Perret Cc: Will Deacon , 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: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/05/21 10:33, Quentin Perret wrote: > 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 > Yeah, this was my thinking as well. 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_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 46523C433ED for ; Thu, 20 May 2021 12:40:21 +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 BEEBB6024A for ; Thu, 20 May 2021 12:40:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BEEBB6024A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.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=1STUh3eWc6zb6r0PdwYR3yxgNGKA4f/eQmvWpkvFZ4s=; b=OMW2gxE9GZFKzcNhqGqBn328iU DlKq1Ytk69wfYYiOVAwvpxsOBZFnyNUcwXTLEoupZuEJsOtiKZ0FHmF3rr5G+4yRdWFdpscmogRKZ FvWVeaV5fkUSNbmv5M4zXaJqly4fUi2VC+PLL6iQJqHaOtB1uS/jeTTw93ry5Nd+an23uRP+Z5w4y jgAsbRnp6e/xGLhfwOoQuo5wTEdKeoNIPrnZFYT0aqLmhWEV5koINy6wOEt9MWB9NCUi1dAOylJKK bgjWIIGAZjRpy3vsYpQnkrTTWqMGe+e85yfzqF25kQkRmCMRPe9zKLxlI33ujlns1Q2i9Dw7JXZYr A+EF3UhQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljhwW-000roZ-E7; Thu, 20 May 2021 12:38:24 +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 1ljhwQ-000rnX-4U for linux-arm-kernel@desiato.infradead.org; Thu, 20 May 2021 12:38:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:In-Reply-To:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=H2EoGPNNHek5LA/HaoBsDmWfJRldrDqmUuCzE8A0ctw=; b=JzuTvLqfFgIMeIjOIQqGGzWGRG hiDQRmunT3OdeuLlsPyRh+avNPUwMbYQk1QLEpQrr/iqExG7Wx1NZeaH7IKsdTPaQGliMzXA08N6/ JudGMsJpFnXmTpxL77iIJMmj5aY913Ia8scuXSDwpfieqAXcn77POUHzsIKpovbqP3TX4e7ZbXc8h laZWYARxFj1C4ozwWI/qbEG/cYFj2l5W96A2MBZY+dW4BgJNOB7BGBlvaWHjM5WdK2ZPog4jGs4UZ UT7B/en/UvF2o4c0sIKu5h86GqHEcspo2kWJfFCMRD5WXMr2uQea3Z7AjnSVl+YGq6StwJxyA3YkZ gRKm/0Ww==; Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljhwN-00GKJr-JP for linux-arm-kernel@lists.infradead.org; Thu, 20 May 2021 12:38:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1621514294; 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=H2EoGPNNHek5LA/HaoBsDmWfJRldrDqmUuCzE8A0ctw=; b=chkaatLOCwSJiM2+ZxWtKa98Gjf496j5W+PSV5I/n/oWBcKbttZ1JIxoUj6tbQwhfoD+hj Ti1Lx/UGa9pjuUDa/fznb6Nt1reJ3zdbymNRya/RpJHP3FdrBOuP8d4BQ65apuGSYs2t4Z i3hwi2qha2ScIy0a1gTIgSTknHOXKbA= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-441-ue0cDZNWN46cJ4KWQE1Hpg-1; Thu, 20 May 2021 08:38:12 -0400 X-MC-Unique: ue0cDZNWN46cJ4KWQE1Hpg-1 Received: by mail-ej1-f69.google.com with SMTP id gt39-20020a1709072da7b02903a8f7736a08so4947052ejc.1 for ; Thu, 20 May 2021 05:38:11 -0700 (PDT) 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=H2EoGPNNHek5LA/HaoBsDmWfJRldrDqmUuCzE8A0ctw=; b=dO6SXk2JU3q6/fRTTjPsU67u1uw+I+ZZg+15OSi6pIquY2V0dU8gdZ8fTMXZAgeUSY l3bxTPCK/odztryFbyav9cIzOvQlE0zqbuhI74BVDnq17MiKJVaCgXTATUx3ZwPKvR0o +EBtojRkWdJQT2CbjQ2Bivp7rsIe6b9bHhDhrDvsu2n2R4jybJc+vZycAuaRRItvGkTs oCXFifAuImFiT+JYgNbWPDCJAVG9lJngwl0kDhSycWaaS7HeQGpe5gh0lqNsR7Mudx3b 2pPcYKSmORmsEgAK/qBFlnu55jYIW3sfOEFxN/RocLC8i6JGTnSZjeQJoLmOTVxg9Ag7 PPZA== X-Gm-Message-State: AOAM531n7m2+UTgUJqzDyIqtmhy0gelbeleXYyIL7OQtmNmCAfTw+TfY 78jChiQeA9p2zuIr+zSq3bfbYfUCoHT84jf3VdBgdFN3bNwPKH1+2Ad4gB7hwAETSBDBCOS+Vmd 0BWbQG3GMzMkhnDSLGX1Q0LC/uEFz6O4l9rk= X-Received: by 2002:a50:bae6:: with SMTP id x93mr4839706ede.48.1621514290946; Thu, 20 May 2021 05:38:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAZeB/EOTP1dDTwMk1xnI0rDau9TReXYikgiANp8pL0KOwU4KheOhp2p+q8xNWGxoGgMckLg== X-Received: by 2002:a50:bae6:: with SMTP id x93mr4839685ede.48.1621514290778; Thu, 20 May 2021 05:38:10 -0700 (PDT) Received: from localhost.localdomain ([151.29.18.58]) by smtp.gmail.com with ESMTPSA id bw26sm1321519ejb.119.2021.05.20.05.38.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 05:38:10 -0700 (PDT) Date: Thu, 20 May 2021 14:38:08 +0200 From: Juri Lelli To: Quentin Perret Cc: Will Deacon , 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 In-Reply-To: Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=juri.lelli@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210520_053815_727830_E54602F3 X-CRM114-Status: GOOD ( 14.40 ) 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 20/05/21 10:33, Quentin Perret wrote: > 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 > Yeah, this was my thinking as well. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel