From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by gnuweeb.org (Postfix) with ESMTPS id 5F0C87FA25 for ; Tue, 26 Jul 2022 12:58:04 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=kernel-dk.20210112.gappssmtp.com header.i=@kernel-dk.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=D+MOCwPN; dkim-atps=neutral Received: by mail-pl1-f177.google.com with SMTP id d7so13225060plr.9 for ; Tue, 26 Jul 2022 05:58:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=from:to:cc:in-reply-to:references:subject:message-id:date :mime-version:content-transfer-encoding; bh=qCvw0POah4GzImKTH/+kyUqe1VQuk74b4knUGMb3jDg=; b=D+MOCwPNc1uYXp/2nfO8j23oCeproBSS6O6sv2mDK73Zgd+q7QIGfQ5v0yx/UMXrsX KYQdXZ6NJ2047JBs43s2k3YKV+SAqOHtMdOfIbCJlnGPFsSnlgXJIKTeWXsYzDrDpDea dr8Pp2GKtj+QmDtd9LjXpxYf3ZEK6YyXOgqft/XMJKPAYvpMutqyvtSo7wl2ebQna3Oe G5fLk3ZdJ9d1O5S6L7T2SlbNKanQ9qZKIiW95zPVXp36fMkaSQQh0T31HyLpm7PXQajo olWEKJRceQQO8I+LpOqcIYkku97TOh/AXE9Klx/w386KeEeZMe6FzxpQ9vbGp3fwPKKG 0Teg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:in-reply-to:references:subject :message-id:date:mime-version:content-transfer-encoding; bh=qCvw0POah4GzImKTH/+kyUqe1VQuk74b4knUGMb3jDg=; b=W3Pjrq3LNWZT0NM5IrTwhN5ACBUM7KpjviFNixu49gIM3V+QxhmxOtt76eB8m29GaO 7S7P14YZcKezx4XJa9XbjaorWHEpL/EstcR2I2qVcUfaxchhVx3qG/Vb04qD0q9ESCdi VQGQQa0WQ8Ar6qJmuuxmpDB9FRMssR5p2xWzKVkcg0wjChSfNe2O0Mn3BkSYOPQR94lM tH1CjoCG6kc61jyUtiGprLLSS/2WKlT49J3UIKyIJyWlF8bkQi06ZPJX8a37U+eSlAO6 GkAs65k9Yg5MGtfP89EE8J5h0jvfMHpY1DOn5lWl1rhmKQtoQfcd3eRyuGB67iJOC1oy 8uMw== X-Gm-Message-State: AJIora+lWMcKVBKQ64jqE0HH6lz5iYs1OOhUWQFtsRgugTSg+G0qlu4U w4+p5gU3DvG6DhyHbq13/MN1Ug== X-Google-Smtp-Source: AGRyM1sg22VOzoCyxLUmuyGxonLRxp3YqPNAA8V1YUsYVssk2kFBHvD7AhLpE5UKl2qdoFfcfgSJAg== X-Received: by 2002:a17:90b:38c1:b0:1f2:c43b:a46b with SMTP id nn1-20020a17090b38c100b001f2c43ba46bmr8154454pjb.83.1658840283734; Tue, 26 Jul 2022 05:58:03 -0700 (PDT) Received: from [127.0.1.1] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id cp14-20020a170902e78e00b0016d80313a4esm3827185plb.164.2022.07.26.05.58.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jul 2022 05:58:03 -0700 (PDT) From: Jens Axboe To: alviro.iskandar@gnuweeb.org Cc: gwml@vger.gnuweeb.org, ammarfaizi2@gnuweeb.org, io-uring@vger.kernel.org In-Reply-To: <20220726111851.3608291-1-alviro.iskandar@gnuweeb.org> References: <20220726111851.3608291-1-alviro.iskandar@gnuweeb.org> Subject: Re: [PATCH liburing] arch/syscall: Use __NR_mmap2 existence for preprocessor condition Message-Id: <165884028283.1502668.6639349221847360074.b4-ty@kernel.dk> Date: Tue, 26 Jul 2022 06:58:02 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit List-Id: On Tue, 26 Jul 2022 11:18:51 +0000, Alviro Iskandar Setiawan wrote: > Now __NR_mmap2 is only used for i386. But it is also needed for other > archs like ARM and RISCV32. Decide to use it based on the __NR_mmap2 > definition as it's not defined on other archs. Currently, this has no > effect because other archs use the generic mmap definition from libc. > > Applied, thanks! [1/1] arch/syscall: Use __NR_mmap2 existence for preprocessor condition commit: 00c8a105ba688a3826304430f8e57835a302609d Best regards, -- Jens Axboe