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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BC8FFC433EF for ; Wed, 18 May 2022 07:46:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232396AbiERHqW (ORCPT ); Wed, 18 May 2022 03:46:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232343AbiERHqT (ORCPT ); Wed, 18 May 2022 03:46:19 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64E81140CF; Wed, 18 May 2022 00:46:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; 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=eYhDLxMmwvMOyckDiVHVyMmqmEWGbbWduzz8f6EoW7w=; b=A57xSi62gZdHfEmDFs5ABgQVlf 877bK1lc99hRjaSFHxGasl/efP8yeorgGh6tPcDiAuvoObOU54KwdRVqTXUcFQEb9w0I+j2hH01Jt 7i6CYX1HN+iwBMiqOQiBUpDippnTsNf1qhb3LeUsQHUGcs5jtdAsVgOqPgvB94jIN4L3/ia2wLpDv 7JIiBGQlY6D5KpTBk0/WYIG3+MgVf+wxIuegc0L2pfXVZzjpUO7a4kKyKrjEfe11Sf+OZeH2ruc6w DlH+FwqvU/sNnFO37gHmjKHHJ6oEraPIqSqbhV8MIUplRjvQX8NX5qzORW5dl3RiIoGUJ+C80ZXcH s5jNMp1Q==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nrENY-001TvH-BW; Wed, 18 May 2022 07:45:56 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id EC46698119B; Wed, 18 May 2022 09:45:55 +0200 (CEST) Date: Wed, 18 May 2022 09:45:55 +0200 From: Peter Zijlstra To: Song Liu Cc: Song Liu , Linux Kernel Mailing List , bpf , Alexei Starovoitov , Daniel Borkmann , Luis Chamberlain , "Torvalds, Linus" , "Edgecombe, Rick P" , Kernel Team Subject: Re: [PATCH bpf-next 2/5] x86/alternative: introduce text_poke_set Message-ID: <20220518074555.GC10117@worktop.programming.kicks-ass.net> References: <20220516054051.114490-1-song@kernel.org> <20220516054051.114490-3-song@kernel.org> <8370EC6E-C01F-496C-8B7C-D13EF9C474C5@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8370EC6E-C01F-496C-8B7C-D13EF9C474C5@fb.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 18, 2022 at 06:58:46AM +0000, Song Liu wrote: > Hi Peter, > > > On May 15, 2022, at 10:40 PM, Song Liu wrote: > > > > Introduce a memset like API for text_poke. This will be used to fill the > > unused RX memory with illegal instructions. > > > > Suggested-by: Peter Zijlstra > > Signed-off-by: Song Liu > > Could you please share your comments on this? I wrote it; it must be good! What specifically you want to know?