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 D9803ECAAD3 for ; Wed, 7 Sep 2022 10:21:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230464AbiIGKV4 (ORCPT ); Wed, 7 Sep 2022 06:21:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230494AbiIGKVf (ORCPT ); Wed, 7 Sep 2022 06:21:35 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 525A9BB928; Wed, 7 Sep 2022 03:19:19 -0700 (PDT) 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=1fH5lTZY7lQmt0IWsqcmVB1n5jzNzdsis9xUZCJTmIQ=; b=ftWDfnPgM0cLdEJqlAVK81kaJr 1kWcDQzrg6ONx3W+61Pd8n0DiP+q/KvOx6bvNHekc3JNnTco+EjQyqIpySaVvMXE5uQDzV3Yc5QXy /0UC7qmfvhAG/VFzBKzNHdckGXehM+NahBzwystLfw35yJxrxf3qx2I/LKS3Mq+LdKwMfcAITtNb+ OO/W6XCgryjxyXxUjflkVWFJZhFHaVfJ/z7D9DgJfUd6kISO4sbqcVvR/IyMhArBU0jrcMLsDqPs9 OAQ4svWMwIwZy0h+hGwXKm+avpSJAqwBKti24abyKzh0AJ8sOt6N7TRSOmxUtxlNBeiDrEM/935vv wkcQcqPw==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVs9F-00BGKJ-Fh; Wed, 07 Sep 2022 10:19:09 +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) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 762F330013F; Wed, 7 Sep 2022 12:19:06 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 2601F203C2334; Wed, 7 Sep 2022 12:19:06 +0200 (CEST) Date: Wed, 7 Sep 2022 12:19:06 +0200 From: Peter Zijlstra To: Masami Hiramatsu Cc: Steven Rostedt , Ingo Molnar , Suleiman Souhlal , bpf , linux-kernel@vger.kernel.org, Borislav Petkov , Josh Poimboeuf , x86@kernel.org Subject: Re: [PATCH 1/2] x86/kprobes: Fix kprobes instruction boudary check with CONFIG_RETHUNK Message-ID: References: <166251211081.632004.1842371136165709807.stgit@devnote2> <166251212072.632004.16078953024905883328.stgit@devnote2> <20220907184957.d41f085a998b2c7485353171@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220907184957.d41f085a998b2c7485353171@kernel.org> Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org On Wed, Sep 07, 2022 at 06:49:57PM +0900, Masami Hiramatsu wrote: > Yeah, this looks good to me. What I just need is to add expanding > queue buffer. (can we use xarray for this purpose?) Yeah, xarray might just work. I need to go fetch the kids from school, but if I remember I'll modify objtool to tell us the max number required here (for any one particular build obviously).