From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id xjCkLN44bWI7egMAWB0awg (envelope-from ) for ; Sat, 30 Apr 2022 09:25:50 -0400 Received: by simark.ca (Postfix, from userid 112) id AB3FC1E058; Sat, 30 Apr 2022 09:25:50 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, NICE_REPLY_A autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 08A6D1E01D for ; Sat, 30 Apr 2022 09:25:50 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 68DB23857368 for ; Sat, 30 Apr 2022 13:25:49 +0000 (GMT) Received: from nx101.node02.secure-mailgate.com (nx101.node02.secure-mailgate.com [192.162.87.101]) by sourceware.org (Postfix) with ESMTPS id 2E7093858D28 for ; Sat, 30 Apr 2022 13:25:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2E7093858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=trande.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=trande.de Received: from host202.checkdomain.de ([185.137.168.148]) by node02.secure-mailgate.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1nkn6L-004yXL-IM; Sat, 30 Apr 2022 15:25:34 +0200 X-SecureMailgate-Identity: zied.guermazi@trande.de;host202.checkdomain.de Received: from [192.168.178.48] (dynamic-077-180-176-167.77.180.pool.telefonica.de [77.180.176.167]) (Authenticated sender: zied.guermazi@trande.de) by host202.checkdomain.de (Postfix) with ESMTPSA id DB23B280D0E; Sat, 30 Apr 2022 15:25:32 +0200 (CEST) X-SecureMailgate-Identity: zied.guermazi@trande.de;host202.checkdomain.de Message-ID: <44259e87-d19f-189b-123e-39ea9f06c763@trande.de> Date: Sat, 30 Apr 2022 15:25:32 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH 1/1] get page size using sysconf (_SC_PAGESIZE) instead of PAGE_SIZE Content-Language: en-US To: Andreas Schwab References: <20220430121623.42196-1-zied.guermazi@trande.de> <20220430121623.42196-2-zied.guermazi@trande.de> <87ee1e92kp.fsf@igel.home> <47159933-7e6a-ab66-b0b8-1b184a469e6c@trande.de> <877d7691jf.fsf@igel.home> <87y1zm7mfl.fsf@igel.home> From: Zied Guermazi In-Reply-To: <87y1zm7mfl.fsf@igel.home> X-PPP-Message-ID: <20220430132533.477223.15075@host202.checkdomain.de> X-PPP-Vhost: trande.de X-Originating-IP: 185.137.168.148 X-SecureMailgate-Domain: host202.checkdomain.de X-SecureMailgate-Username: 185.137.168.148 Authentication-Results: secure-mailgate.com; auth=pass smtp.auth=185.137.168.148@host202.checkdomain.de X-SecureMailgate-Outgoing-Class: ham X-SecureMailgate-Outgoing-Evidence: Combined (0.15) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT9WLQux0N3HQm8ltz8rnu+BPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5zRfK4njRWCJG0FcgrR1735gTU+HQyT3+eUREASlfTkEEOL d9Nbn7nCQkobLeclhYNZAR0daKe0sXe9anT/FMmY77h0NliVMdPeuYbh5QQHf3oH3ikXiJOpTRy+ 9uFJc5F16RgnrpWQC5Q9lQL6QHBHfjg3+crJczMBt8ibkEc7tXWS4+FHdKaJn8ZDtHHlms9QQhQ3 cXtTqZg6zYv+9efsHqfG6e5zRUbrrIGxoxdOpfaN4MX9+v06l9EhI2Nxc4SDwIE7VKe+bqpcdCns 72R15xdgXnmxP26Bl8KoScA/XScy7aMZ92imw0+r8tQAxXvEOQj5JarvIdoadFbhK/9Znbjpl1HX rEauXQGULhVNx8dVab7KNQeuiZZyHZP9eA3bDtsN2upIGSyKCtnkGaE86jDOCpJyjVjbMrDdHDSf q81eJ7faLb7WdUx1R8TQ+Bg2rRldRnnnohbUS3YD3JmesMIeRdVq+f+BPnF5XMAjF+PZv5F7RzGS 3oVctjiZbdo93SsS4aMXJmiJ2G0eb5ahcly8wKwYu+NTojfLBeknH7M5VcI9Z9iQLx1EhkIGnvfL my3uPSE9vyN9HoGBpQQMs9mOAuVGeNoxAGUS1QpH0KIcRmoNU2oljXXErZz3MdU5SJeoVHj5h7lL 06fEAVxIF72peYmS3JUT1Zh/BoGnYYjIL73W3g6ivxa7pthsXXkAB+2zzoNeHY1HlmB4swvHQwrJ Rcy+m3b+jrHIZqJ2QgcME3N3EWGmqlcJw5rqCPn3fAZIQUeMKaTZ27Hy3NJMta1UPqkECNH2IPa7 hy9JfL734QDJ3HhluVo9DS81JHHNQtBDmieSPtf1s2M1CtKvrtm3gqfnZuNq5aV2cp2gtOgiMkdz oFMM3vBXvaTlPi3un6nUsnSQcYFvTHOr8WTZEsaedb6sas8TZenWR0lZzMOpyKA69LF1Ge2GaGfx mfrL3bHhbb5sD2IEOPXq3ukQSsNZkRisz6KBJh1e+731A5STET5IrgKSqpC5j8AO0HsowAOZKBM6 e/bYB566DxuDTHWHJFw2Z1nb3tGTMIpcmqU1jr9TXY+k0gri/TZ/CHVShOH22SRgbHWq1uciMDoD nxzeamZ0DGmw61tdM8KZIg== X-Report-Abuse-To: spam@node04.secure-mailgate.com Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" Hi Andreas, PAGE_SIZE for target system was not defined, in other cases PAGE_SIZE of the host system was used etc... :). There are also some systems where the constant PAGE_SIZE is not defined at all. This patch is about using the portable posix API instead. here are some further readings https://github.com/intel/libipt/issues/11 /Zied On 30.04.22 15:03, Andreas Schwab wrote: > How is that different from native compilation? > -- *Zied Guermazi* founder Trande GmbH Leuschnerstraße 2 69469 Weinheim/Germany Mobile: +491722645127 mailto:zied.guermazi@trande.de *Trande GmbH* Leuschnerstraße 2, D-69469 Weinheim; Telefon: +491722645127 Sitz der Gesellschaft: Weinheim- Registergericht: AG Mannheim HRB 736209 - Geschäftsführung: Zied Guermazi *Confidentiality Note* This message is intended only for the use of the named recipient(s) and may contain confidential and/or privileged information. If you are not the intended recipient, please contact the sender and delete the message. Any unauthorized use of the information contained in this message is prohibited.