From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-4.2 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (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) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 1BE801F8C6 for ; Mon, 13 Sep 2021 17:42:18 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 86EDF3858436 for ; Mon, 13 Sep 2021 17:42:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 86EDF3858436 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1631554936; bh=1wZq1ZefO5gyndSP2oITchqr9h0dLGBQbqHQTRFlX7U=; h=To:Subject:In-Reply-To:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:From; b=WzCOOj9XtwWnj8EqosQKeIKc4+/+/7RdfVCO4Hsu9YDt5FrKpHaS2VvoVBv1lzVZR EAb+Dcs0tA3zojFoNldD+Fl20Zx7rHnU0agxpEPMdMmd/OvEbLA9m4SEdc1elxdv14 iQUbLAZ1Dab0GqthASVQJbc3SSLJi0XDs6xkKWFg= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id BC09D3858402 for ; Mon, 13 Sep 2021 17:41:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BC09D3858402 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-162-Betn4h5yNNSzbqT4DEU1Zw-1; Mon, 13 Sep 2021 13:41:56 -0400 X-MC-Unique: Betn4h5yNNSzbqT4DEU1Zw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4E4A810168C3; Mon, 13 Sep 2021 17:41:55 +0000 (UTC) Received: from greed.delorie.com (ovpn-112-2.rdu2.redhat.com [10.10.112.2]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0B78A50B5D; Mon, 13 Sep 2021 17:41:54 +0000 (UTC) Received: from greed.delorie.com.redhat.com (localhost [127.0.0.1]) by greed.delorie.com (8.15.2/8.15.2) with ESMTP id 18DHfrX51792144; Mon, 13 Sep 2021 13:41:53 -0400 To: Joseph Myers Subject: Re: Add MADV_POPULATE_READ and MADV_POPULATE_WRITE from Linux 5.14 to bits/mman-linux.h In-Reply-To: Date: Mon, 13 Sep 2021 13:41:53 -0400 Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: DJ Delorie via Libc-alpha Reply-To: DJ Delorie Cc: libc-alpha@sourceware.org Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" Joseph Myers writes: > +# define MADV_POPULATE_READ 22 /* Populate (prefault) page tables > + readable. */ > +# define MADV_POPULATE_WRITE 23 /* Populate (prefault) page tables > + writable. */ Confirmed that these are the correct values across all arch's in the linux source tree. Reviewed-by: DJ Delorie