Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2608906pxb; Sun, 15 Nov 2020 10:55:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJzB+Kh3kKbYMVmaHnwzmCt/ZHRsC0PvUdd2i01V2M70dthAnGhnjzQRr+sEZuxmWQa0Ip0H X-Received: by 2002:a17:906:1915:: with SMTP id a21mr7511604eje.292.1605466552366; Sun, 15 Nov 2020 10:55:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605466552; cv=none; d=google.com; s=arc-20160816; b=RYjdtWs5c4hwgvNVBX+6E/w+LFWSvpMQrzK4z9zZ5nPLawkeDEcb1hn4sv5jT4li5R Fgl7nXplPtS8HhgafkDMe6wTmdvVVYMB+1wUvlwnSMQkhGGATMbOHn46TvNpnbzw2MEy EA2dRSb28uVOccwPZ6LpFvsaHVQVO8YJ123U/MyZzYb7SR+oqU+mh7kbf1woRgPj7WR+ /4C6NmoSgJCUdKGq8nPiymcvAalsj7ua+7fuVIi0rhTWf5jTAQjWxwhOjEMYLlNpoZgd jy5WvEgOw+zI5uNUlbRRKTLWpA+pBQpHJS3qU1av1xD3PqH7FfTbKQTd5Fh3R6AWY9nG mmeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=D8ZjbeFX8d6nq879izqAu1ChAOcTxw97ZdH3nLCQPVo=; b=wdUGniOo8MOMJqzRJ4AgfhHKnQUOJM2FDNOLhRRqsHO/O38NmW9XVbhy8UIMlFu22T mn58+6jg7mGceYTBO9NcoX/bugWbbwItT0X8k0RGlfd7JL7ry/HlUXacd1wROQMlgtmH ufL0JYesotlii+dmOe1w54hOrBdN3nbLKP3XPWxm2M5iMtyd/NY5eaRPukQZwil6lGY2 AMDxaMeCZxbUMMM2y/N5mAZxFnKJ9yEFCF0aH09jP9i1aSxwtcXwEHyN4Za+UeN/y+X2 uzi7klkZxK+ieB/cCa8RvWZaqbzgbGBhOeJwQK7Mv/fNcgR0OSILqH4TP3qauA5i5suq 2yLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=cUJW6DSo; dkim=neutral (no key) header.i=@linutronix.de; 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 u13si9972367ejt.298.2020.11.15.10.55.29; Sun, 15 Nov 2020 10:55:52 -0800 (PST) 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=cUJW6DSo; dkim=neutral (no key) header.i=@linutronix.de; 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 S1727425AbgKOSuZ (ORCPT + 99 others); Sun, 15 Nov 2020 13:50:25 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:36514 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727061AbgKOSuZ (ORCPT ); Sun, 15 Nov 2020 13:50:25 -0500 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1605466223; 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=D8ZjbeFX8d6nq879izqAu1ChAOcTxw97ZdH3nLCQPVo=; b=cUJW6DSofkCJo/YgFNoH6wk8ld+g/Ro8rFC6SMfAUJllF6/f9gskD/OZ411dKtxl/d/cqg T4aZoJW/d5dqxel/O9EX8CFyZjwYlWk0NFoMVy5HCQj+7pJbQL99Mc5PwXpRCvHc+YV9Xm 8Gne1lWo4sYSc3/H96IFz/hYOluv32E/KG5nKDzRJQjRlStBwBkGH+OkZ8htJFAH2+nPCi gYXyJEBxmqaeiolQnR9f3zOVMKuZI/HTfUkLPfqSGp4JuB614njHiFwwSqFLdm+7GQT4kE +niTmTL65Gt/Kjui+hfUh13C5GwTzurdnnuVFdODfu++x7dncQVQ0d37SyliCA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1605466223; 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=D8ZjbeFX8d6nq879izqAu1ChAOcTxw97ZdH3nLCQPVo=; b=hc2OcVBjh6N2TxPKldRV0wOOkKViTdsXr1oFXDvo5PssS8w+q809fHbmXpP3G12RBVh23j nrDfhniWURG7AgAA== To: Gabriel Krisman Bertazi Cc: mingo@redhat.com, keescook@chromium.org, arnd@arndb.de, luto@amacapital.net, wad@chromium.org, rostedt@goodmis.org, paul@paul-moore.com, eparis@redhat.com, oleg@redhat.com, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org, Gabriel Krisman Bertazi , kernel@collabora.com Subject: Re: [PATCH 00/10] Migrate syscall entry/exit work to SYSCALL_WORK flagset In-Reply-To: <20201114032917.1205658-1-krisman@collabora.com> References: <20201114032917.1205658-1-krisman@collabora.com> Date: Sun, 15 Nov 2020 19:50:22 +0100 Message-ID: <87pn4e8nf5.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 13 2020 at 22:29, Gabriel Krisman Bertazi wrote: > This a refactor work moving the work done by features like seccomp, > ptrace, audit and tracepoints out of the TI flags. The reasons are: > > 1) Scarcity of TI flags in x86 32-bit. > > 2) TI flags are defined by the architecture, while these features are > arch-independent. > > 3) Community resistance in merging new architecture-independent > features as TI flags. > > The design exposes a new field in struct thread_info that is read at > syscall_trace_enter and syscall_work_exit in place of the ti flags. > No functional changes is expected from this patchset. The design and > organization of this patchset achieves the following goals: Aside of the few nitpicks, this looks good. Thanks for doing this! tglx