Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3517604pxb; Mon, 24 Jan 2022 11:13:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJwRX10xIcbCUkTLONvybH89PgfkVC19d9zFETxfzyvPvPkvzjo8+/6jlPVhxARJkWyFZzxo X-Received: by 2002:a63:6c01:: with SMTP id h1mr12977477pgc.233.1643051600459; Mon, 24 Jan 2022 11:13:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643051600; cv=none; d=google.com; s=arc-20160816; b=hBz5/v9MdKf3RvLfyq/lYCEZbzh980en6ff0j31U/jLjgcfTKXmkBg9RnAl0ax9L1e 6+PF8kkxuytwvoOKO76uvwprCfbkbKGTvhwzZI0xi4wd5ACylg7oPFtWLA0UB3MmNoG5 poLpFmDe9BDMuBJK2HBm3EDSOvHNpJ3D1Ik4qmXzaeOfFeQx98edrLKqV+xuEi1rAiYW QHTqNX/q5pyf3xTWLVcWc2/ulzNBPbOlf2QQDCRT07wC6JNjvQSDHCSU5joROOZZQP8b 14tcCqbh61WJhA4Di9nqKpaEwD+vCz/7pVKqzFe1L1T9iFO17daQnr5gAnKySZ9p3Clh sH9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=EMEz1rACRULVBrKHzXgo2kunk9zl7ssga+Po9YSgMds=; b=IGTwlxFEePbPbSRfLNYNvLI/MOSixcrldBl6Lt0TGhpNQ4hCS65mXaoYw/CHhzV5uI hGaNUxP8Qg59bmX6GPyttxbGdnDNI1nW4p7c6FtWAZIJpd+Zy4QycIHa80yMG+fkqgV5 AMXTQwVgN2S+dtAFLKOdxjvhhfr2+Eu6R+x37TwMLXvU/fO2tcfKR4qb6HHkWOXros+N mgdMwuTyFfG2yfB+O9M7ksWd0Xz1tSTiaZqFcrtbEKMFUe+B3unkNi1sKzD6v/Q2H/4S Fkmvt3a1lIHDtjIuUMVIkGBEnTXPPs8rfAcXWIZvNza6oqm+CR7P+2BbMTN3pcG9D0Cf bMBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="GIX/sPYE"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k6si16459074pfc.51.2022.01.24.11.13.08; Mon, 24 Jan 2022 11:13:20 -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=@infradead.org header.s=casper.20170209 header.b="GIX/sPYE"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239733AbiAXMpq (ORCPT + 99 others); Mon, 24 Jan 2022 07:45:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234462AbiAXMpl (ORCPT ); Mon, 24 Jan 2022 07:45:41 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58334C06173B; Mon, 24 Jan 2022 04:45:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=EMEz1rACRULVBrKHzXgo2kunk9zl7ssga+Po9YSgMds=; b=GIX/sPYE/AU2KLF59arUOB3Wx8 DDIu/x/4XnAmMZHkDHwFbUEV3sEEEIKiBGQpTkmog4sxOBFCNx5bZGnOgVaWFOALZG5ZBDKjTfcpH pwEMEbPs71j6SwllrDW4vQGJWi1lTADrzrDJPomOzzVQ4We1muqPai912uGbmdjnPKeBT1kshPhXo heAMRMKe+gW2WsSFZk261JczqbK2UA3mlN2gwPkejmBulCWb3KheBHerXhaVqP2aoRdR7fhGZ0HX/ cPPuHNB2K+OCdC9DBgnrTu1pfhZQ+Nm6N3Rcgy8FE/j9AXLIqYOCisA7pzrTrSRP9A2Gsl1S7oqZq yxy6hDWA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nByip-000dUC-R8; Mon, 24 Jan 2022 12:45:24 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 41CCE300222; Mon, 24 Jan 2022 13:45:22 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 23B282027C5FC; Mon, 24 Jan 2022 13:45:22 +0100 (CET) Date: Mon, 24 Jan 2022 13:45:22 +0100 From: Peter Zijlstra To: Song Liu Cc: Alexei Starovoitov , Ilya Leoshkevich , Song Liu , bpf , Network Development , LKML , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Kernel Team , X86 ML Subject: Re: [PATCH v6 bpf-next 6/7] bpf: introduce bpf_prog_pack allocator Message-ID: References: <20220121194926.1970172-1-song@kernel.org> <20220121194926.1970172-7-song@kernel.org> <7393B983-3295-4B14-9528-B7BD04A82709@fb.com> <5407DA0E-C0F8-4DA9-B407-3DE657301BB2@fb.com> <5F4DEFB2-5F5A-4703-B5E5-BBCE05CD3651@fb.com> <5E70BF53-E3FB-4F7A-B55D-199C54A8FDCA@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5E70BF53-E3FB-4F7A-B55D-199C54A8FDCA@fb.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 23, 2022 at 01:03:25AM +0000, Song Liu wrote: > I guess we can introduce something similar to bpf_arch_text_poke() > for this? IIRC the s390 version of the text_poke_copy() function is called s390_kernel_write().