Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp355504rwb; Wed, 16 Nov 2022 01:24:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf5KlafOu1U+m6MgMyP/U4LdPJ55zJWCGoSBaYBfdnoU8T/OA2aoqFoEWXNACLTAv0QN6lv+ X-Received: by 2002:a17:906:710e:b0:7ae:40b7:7fbe with SMTP id x14-20020a170906710e00b007ae40b77fbemr16370405ejj.371.1668590673609; Wed, 16 Nov 2022 01:24:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668590673; cv=none; d=google.com; s=arc-20160816; b=PVhj6NvFCPdcl3olr2KG6u2tIF6zhcD/p1PGa/LHX+dOgprae9wFvysn30XX0yo2cW 1BR65ZGqmdhq9FsOe8HizlV3Sxwk6/C0QkMsKHUIoIKQ4U71srLL3shOHtpYBltwQ6fy J//sSf860m0oG5lcA3B1jf8mx0Ru1/t+qDJER3ZLlUthU4zZ4W4TDhRoIRaH0N/4x8DX Yo6jV/3dFJvhtTBsXyyFIC33N+c5CmPb0k6MUUnH7aDCKgv1exmpDQNzpKKA7mdu3V8O 4+UqtLnZ5S5jNXHc2p6a+brb9eW/5r5NGpLmuA5lkijZqnjkVHyFpel13NTxJdaTZPtO BIpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-filter; bh=U/g/zJwN0Zllxl438mjG5FfKJKXZTzlOoqxkN5VpgsQ=; b=Ht+DZZ0sn9/T8liiCIgjhKPiXhkuDeP1O3NjJ7ZHt5lcmbJBS035wk8O0lXCfz6sW1 RgWqBFtVO4tcLkyRhwPQxb5YJC1LhgNOK3DcG1JaakT/fSTkZk7pq7+4f7yHxjq0uKbH C2BjDG2Aj4aVGzeiv++H+AWq/KURzPhs71ZIUqsEd7h9cQS2c9C7yRCBxC0zgCljWHBU XAsMfyFE5IKXXQhr4coCKPHCZmvnCSx/iTUowSNQye4iPXCUbqGpZ3sbbcYt+ku41QwX kAML07yXempv6Tt4C4KjSoaRrioahE4DPYVLSiUWCQfK7iDkzS5BgjEmm1+Fxabtw6xZ 7LKw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nodmarc.danielabrecht.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lg6-20020a170906f88600b00783d1a13d69si11971481ejb.231.2022.11.16.01.24.11; Wed, 16 Nov 2022 01:24:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nodmarc.danielabrecht.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233286AbiKPJGT (ORCPT + 91 others); Wed, 16 Nov 2022 04:06:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233070AbiKPJGR (ORCPT ); Wed, 16 Nov 2022 04:06:17 -0500 X-Greylist: delayed 598 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 16 Nov 2022 01:06:14 PST Received: from abrecht.li (unknown [IPv6:2a05:41c0:8:f804::a3c:105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE3C7BF51 for ; Wed, 16 Nov 2022 01:06:14 -0800 (PST) Received: from mail.abrecht.li (unknown [IPv6:fc00:4::a3c:103]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by abrecht.li (Postfix) with ESMTPSA id F25572D61423; Wed, 16 Nov 2022 08:48:45 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 abrecht.li F25572D61423 MIME-Version: 1.0 Date: Wed, 16 Nov 2022 09:48:45 +0100 From: Daniel Abrecht To: "Jason A. Donenfeld" , Daniel Vetter Cc: dri-devel@lists.freedesktop.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Zijlstra , Greg Kroah-Hartman , =?UTF-8?Q?Michel_D=C3=A4nz?= =?UTF-8?Q?er?= , Christian Brauner , David Airlie , Daniel Vetter , Sultan Alsawaf , Sean Paul , Nicholas Kazlauskas Subject: Re: [PATCH] drm/atomic: do not branch based on the value of current->comm[0] In-Reply-To: <20221105222012.4226-1-Jason@zx2c4.com> References: <20221105222012.4226-1-Jason@zx2c4.com> User-Agent: Roundcube Webmail/1.4.13 Message-ID: <26ef4a7059dd995731e2d4426c2400b2@abrecht.li> X-Sender: freedesktop-linux-dri-devel@nodmarc.danielabrecht.ch Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_HELO_PASS,SPF_PASS autolearn=no 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 Am 2022-11-05 23:20, schrieb Jason A. Donenfeld: > This reverts 26b1d3b527e7 ("drm/atomic: Take the atomic toys away from > X") I'm in favor of reverting this commit. I've tried to get allowing to enable atomic in Xorg again in there in the past: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/533 I've no illusions of getting this through though, after all mostly the same people control what's merged into Xorg, what drm stuff gets into the kernel and who disabled it in the kernel in the first place. And there doesn't seem much interest in dealing with anything Xorg either, in the merge request I linked, someone even called Xorg "abandonware". This is also why I didn't respond here until now. I do see value in enabling this. When I looked at this 2 years ago, there were situations where enabling atomic brought clear improvements, and I would expect that it can still improve performance on some special systems. I think the users should have the option to use it if they want or need to. There is also the concern that this may cause a regression, but I would argue, that there never was a regression to be fixed here in the first place. There may have been that one broken application in the past, but it was just that, a broken application, not something broken by the kernel. I do not think the kernel should modify it's behavior just to work around bugs in a specific program, which have always existed, and didn't come from a changer in behavior of the kernel APIs. If a program was written wrongly, the program should be fixed, and in case of Xorg, I think it is fixed already. This probably won't mean much coming from me, but: Acked-by: Daniel Abrecht