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 5A693CA0ED2 for ; Mon, 11 Sep 2023 22:22:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359751AbjIKWSf (ORCPT ); Mon, 11 Sep 2023 18:18:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244145AbjIKTMc (ORCPT ); Mon, 11 Sep 2023 15:12:32 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7584F9 for ; Mon, 11 Sep 2023 12:12:26 -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=0uS/NLFKJ9+qD9P+01ghNQdJPyz/lWBftVtleHZ4QS8=; b=QD4FezIUTZYL/WXDGcAcsHQCpr wARKzFwH3TOiA36ptvXZbEXU9Y0PRUmK/dsSYQdokaUamK0LM6Zxuzh5fdWRERGPxReRjCOLJek4a XGkSeJpk3hF7elK7ssVrZzWchmFh/XKbE8F16O5QTAbZGi1UwZ2vYSfwozmkYkWD2pftNCPFwylxd 5FL30Mkz1SHB6eDPOvta8lL8+17TadtEoWN3vct43JyvbX8FDT9tz0Ew5f48uzjnrB5B7ZngESOR9 MMncgwSwYYtyBSrVTLdo9/Zoh1eMgLmGgz4bofq1gnMMQKtnZAPCSYfCEQOSj+8+CYQtB57pQzc8z qqGymnGQ==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1qfmKb-002bfo-3g; Mon, 11 Sep 2023 19:12:21 +0000 Date: Mon, 11 Sep 2023 20:12:21 +0100 From: Matthew Wilcox To: Dave Hansen Cc: Yin Fengwei , syzbot , akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [mm?] BUG: Bad page map (7) Message-ID: References: <000000000000d099fa0604f03351@google.com> <0465d13d-83b6-163d-438d-065d03e9ba76@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 11, 2023 at 09:55:37AM -0700, Dave Hansen wrote: > On 9/11/23 09:44, Matthew Wilcox wrote: > > After fixing your two typos, this assembles to 176 bytes more code than > > my version. Not sure that's great. > > Maybe I'm a fool, but 176 bytes of text bloat isn't scaring me off too > much. I'd much rather have that than another window into x86 goofiness > to maintain. > > Does that 176 bytes translate into meaningful performance, or is it just > a bunch of register bit twiddling that the CPU will sail through? I'm ... not sure how to tell. It's 1120 bytes vs 944 bytes and crawling through that much x86 assembly isn't my idea of a great time. I can send you objdump -dr for all three options if you like? Maybe there's a quick way to compare them that I've never known about.