Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp917295pxb; Fri, 22 Apr 2022 14:15:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8ob4vPrSdIEolmcIs3ssHNxg8eTKPsaMw4DJpDe/I5kpeGGv48KAZlbGAOpuF2Q0wWvoT X-Received: by 2002:a17:903:11c7:b0:151:9769:3505 with SMTP id q7-20020a17090311c700b0015197693505mr6352094plh.72.1650662111156; Fri, 22 Apr 2022 14:15:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650662111; cv=none; d=google.com; s=arc-20160816; b=xpHVNj+da3gURCLguNOiPuhrVrDqytIU8wOueuYfpcUlvBDBDKW4VuO0wpmA8RYHF2 QwAdDxtKqVfsv884BaNFTDWucKG9ahtNyqxUON+EiGNOPv0pzKuL7EX/VC9KzYjl9XfI 52e59D2WLEikTADd2Wm9QargWGs09496vtsggW83McFeEwnYdxAZxZxPKEk5dlXNAURb Xi8XQ1vD/v4A1sCd8PWpgCCSWlIac9nS6vr7br4EjpDLQWg2RXVOj2nmS8MxHk4yKaIP R2wYYFwu2y3K/nro8d0wHz6ME5bWzKH7TAOHNJXfgon/8TGLXqSRWd2LmHgsG7Q22eHK hcyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=+3DyS/vXJ0jJRw1ixWNwrePkn/qlB8fKnq3IZYAMOOg=; b=DZqiQD6M+pmZ1rJLkyGCp2c/ZgV60l07G2Gz/gVflxoAo/e8+u8wwoyyo3cXtcU5Xg zXTcR52sFneRa4BO4lZjXGn78cLlNn5REUw18parM3odyvQBTmT1C2rJD6ECMaLUcDEi 0r7DQlt7pg0nFhOGsENS04hL2cTss1OC40jQHz2jW+2UL9EXUja4/dEZVFai7zpeC7IB yHEHB8BIvNKp9DjvFqTCqkdvAKcuDTauATN64kUmO5Dv7PWwOmdROH03cWYirhd7NQLe jLlKz90Qmu60U5sBdYZtx7AwprLiOxrHB4MnJZkVcxMoNGC0OY4l8FfWwAEwFXhXYnho oH7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=G1jfUgIR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id f6-20020a056a00228600b004fb0c7ab1easi10271865pfe.302.2022.04.22.14.15.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 14:15:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=G1jfUgIR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B240E39DE9F; Fri, 22 Apr 2022 13:17:51 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1388579AbiDUKxB (ORCPT + 99 others); Thu, 21 Apr 2022 06:53:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1388581AbiDUKwm (ORCPT ); Thu, 21 Apr 2022 06:52:42 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 00550B99 for ; Thu, 21 Apr 2022 03:49:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1650538192; 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=+3DyS/vXJ0jJRw1ixWNwrePkn/qlB8fKnq3IZYAMOOg=; b=G1jfUgIRMrhdwUdTRsE2ZurPSQCWLSf6OtSls9sPebVHKtaiUKS8uWVGZIjNaMU/ZXboJB aKfkBqKxIl4QLHtDcuWlDkxp5bnMt+yZnD7emFEjqqVFhFzasWJ8ERvvwwuw+PVrbdzeQp u9l3OAiCZTr0KpiP5sXbfQQLlMCqZdk= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-435-h6hn3O3EOhGuB2O7mdIfUA-1; Thu, 21 Apr 2022 06:49:48 -0400 X-MC-Unique: h6hn3O3EOhGuB2O7mdIfUA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B9292811E75; Thu, 21 Apr 2022 10:49:47 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.40.193.36]) by smtp.corp.redhat.com (Postfix) with SMTP id BCB9D40CFD1E; Thu, 21 Apr 2022 10:49:44 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Thu, 21 Apr 2022 12:49:46 +0200 (CEST) Date: Thu, 21 Apr 2022 12:49:43 +0200 From: Oleg Nesterov To: Peter Zijlstra Cc: "Eric W. Biederman" , rjw@rjwysocki.net, mingo@kernel.org, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, mgorman@suse.de, bigeasy@linutronix.de, Will Deacon , linux-kernel@vger.kernel.org, tj@kernel.org, linux-pm@vger.kernel.org Subject: Re: [RFC][PATCH] ptrace: Don't change __state Message-ID: <20220421104914.GA20402@redhat.com> References: <20220415101644.GA10421@redhat.com> <20220415105755.GA15217@redhat.com> <20220418170104.GA16199@redhat.com> <20220420131731.GF2731@worktop.programming.kicks-ass.net> <20220420180323.GA14947@redhat.com> <875yn3zdag.fsf_-_@email.froward.int.ebiederm.org> <20220421072138.GI2731@worktop.programming.kicks-ass.net> <20220421102631.GE2762@worktop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220421102631.GE2762@worktop.programming.kicks-ass.net> User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=unavailable 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 04/21, Peter Zijlstra wrote: > > As such, I've taken the liberty of munging yours and Oleg's approach > together. I've yet to actually test this but it looks feasible. Agreed, but I am a but confused. Is it on top of 1/5? Doesn't look so, and I can't apply it with or without 1/5. So I am not sure I understand what exactly it does. Oleg.