Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1629480rwd; Thu, 18 May 2023 15:03:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6XtYv089PRnia3KfK5L5Qo1hVFH+2q0sqnRC+WBLrHTZ4hVdR/Ov5Q9DccrkZJ0Tyng5n5 X-Received: by 2002:a05:6a00:14c4:b0:644:d220:64ac with SMTP id w4-20020a056a0014c400b00644d22064acmr503053pfu.2.1684447415182; Thu, 18 May 2023 15:03:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684447415; cv=none; d=google.com; s=arc-20160816; b=0wmepjQTCiRhTgw/bYBMwIex1t9msEpIQzeaRPPJLpPxZcyPzUVRxBBhTyH+hkw24F zckw69ufn0xYlSnqcYjhVvqke0dQ0pQOqVMNR/yd33dqyGxER5n8xfUKqrScBeBFoIJM rK6Z40WT1waNBmIFFjsS6YTGeb5sIgXnO4i8cK+6boNr37r1b9MbswPzYrvReN4+wknv GGVwlCnHbDLGMBhFzR92t2YzRH6ETAGBDVz0mtT+eQEKyJnQuKbbAdK1q4uZFH8YDkXL +DSAZB21QcGdH6/TH11MQchQVOpFqcWPmu+wegy6kQuEMqAdgTM25KthulH096XN7eMx b4Sg== 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=3PTxJzjUCnDeLKGxq08Q4RltGGG7TNyuXuOM81PDsCQ=; b=A1sBQGhC5xf0HnC+zAyOQagqAhpd1xymDsN/xxOpwq+TrKGhfGm0Wakk5qaAvaqzbT AVpW9lnP8O/T1lcQO59ZEOTv6VUrEUt9wA70sGNbIGKmlJpbrDcn5PRivHZ3Liva5uxU ub3BGpKM2IXNQq4gX7ZLppzqKoOX0GrAsoxQXSNXcoxwIn3hOmSRlB+Z6J0M3P+Hj0HP aq106ghQ4VHcR0qjIybzWD94zfxrrIQe+PXhw032M6N1Pgri4WHPaef3xoC49uEb+FAJ BpA4BTgxBLEtI/QrkgP+acBiTszCnovR+TCL6xeBMizmAZJ4+SITtMxAssbJzTZM7zqq Z3cQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="ehJ6/tQp"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z2-20020aa79e42000000b006359be68abdsi2647632pfq.278.2023.05.18.15.03.18; Thu, 18 May 2023 15:03:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="ehJ6/tQp"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230060AbjERVv5 (ORCPT + 99 others); Thu, 18 May 2023 17:51:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229658AbjERVv4 (ORCPT ); Thu, 18 May 2023 17:51:56 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EB0F10C3 for ; Thu, 18 May 2023 14:51:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684446661; 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=3PTxJzjUCnDeLKGxq08Q4RltGGG7TNyuXuOM81PDsCQ=; b=ehJ6/tQpER+6utwgWlzS7qx0XKYsMLHum2jfb6OCoi2KcVdz08yS0GXVhN1uFElpFf27gY FXDuJovjQrSjK+oo41jcyuwcFEu9isSFOiJ+qEnV8KHEqbkw9eYtb9WY4UoIVKq/H+MI93 NpnsoDkFT893j4dWAvbYeUYV6LczMDA= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-30-E2tolRxCN9uRn-Sf2I_fcw-1; Thu, 18 May 2023 17:51:00 -0400 X-MC-Unique: E2tolRxCN9uRn-Sf2I_fcw-1 Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-61b5f341341so3242606d6.0 for ; Thu, 18 May 2023 14:51:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684446660; x=1687038660; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=3PTxJzjUCnDeLKGxq08Q4RltGGG7TNyuXuOM81PDsCQ=; b=Yra+8SI0wwypHQRQwyEhe4M1bWiDhB/dUALmh5OxMg/yLsWEQgbV8LW+WO2d8LgLZa Yhm4HiGyWj+rhhKWhhJvQK/VrrB/Bj7Ok3H/kewsbGjEHqneYe1PWHR02tQyrguUbFuW JjJsOujvb1I8TKDWfRl3i4MsrQs899L6hMLH+w0NTFGkufPAOQXA1k5vthCOIYfOBBCj TaGWKHXlZImaTE3YDwVleF0DRtYxTwqGr7PsdTzufp2/4lK9sueo/M2DBALRwSS6qXWF Pi2/4ADsfjexUX69w753fAYjcBh4VIsdDjNJ4EcYQfVX9kwiDpsS1pCd+Yr4e+XmDRuX 80+Q== X-Gm-Message-State: AC+VfDxDra5mr21vfbUMlXdkGsW+38qhTTHoYVRZpq5ly2WRYCkk1QQB 5TfbgRFdyX+pV2xTyL/Elw5JtLlboovcOumJ3eKEzZKRWPdrDX8BJzykG6SdjlnuxXKZaOxvlHy 75t1Db0mSvUEPE5OLH/VF9dZy X-Received: by 2002:a05:6214:519a:b0:621:7d4:e05b with SMTP id kl26-20020a056214519a00b0062107d4e05bmr1024268qvb.0.1684446659899; Thu, 18 May 2023 14:50:59 -0700 (PDT) X-Received: by 2002:a05:6214:519a:b0:621:7d4:e05b with SMTP id kl26-20020a056214519a00b0062107d4e05bmr1024242qvb.0.1684446659694; Thu, 18 May 2023 14:50:59 -0700 (PDT) Received: from x1n (bras-base-aurron9127w-grc-62-70-24-86-62.dsl.bell.ca. [70.24.86.62]) by smtp.gmail.com with ESMTPSA id c30-20020a0ca9de000000b0061f7cf8207asm818958qvb.133.2023.05.18.14.50.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 May 2023 14:50:58 -0700 (PDT) Date: Thu, 18 May 2023 17:50:56 -0400 From: Peter Xu To: Axel Rasmussen Cc: Jiaqi Yan , James Houghton , Alexander Viro , Andrew Morton , Christian Brauner , David Hildenbrand , Hongchen Zhang , Huang Ying , "Liam R. Howlett" , Miaohe Lin , "Mike Rapoport (IBM)" , Nadav Amit , Naoya Horiguchi , Shuah Khan , ZhangPeng , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, Anish Moorthy Subject: Re: [PATCH 1/3] mm: userfaultfd: add new UFFDIO_SIGBUS ioctl Message-ID: References: <20230511182426.1898675-1-axelrasmussen@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 18, 2023 at 05:38:14PM -0400, Peter Xu wrote: > If with uffd, perhaps avoid calling it sigbus? As we have FEATURE_SIGBUS > and I'm afraid it'll cause confusion. UFFDIO_HWPOISON may sound more > suitable? Or UFFDIO_POISON (to identify it from real hw poisons).. -- Peter Xu