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=-1.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,NO_DNS_FOR_FROM, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from [192.168.88.254] (unknown [180.245.197.13]) by gnuweeb.org (Postfix) with ESMTPSA id 09BAD7ED9F; Wed, 29 Jun 2022 15:17:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1656515844; bh=HydFwJoxtT834/v+j2PM6ibyjCMsAKJ568YQ2A3+CI4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=f0AyUvlJfjQCvwcwugTFbpnHb3nUlP9PEH5jHqT4nFSoyLmztH6JHRRMMg6quIozW tW737fQy7fexJeLbbTPUGsiKvqflmSp9VW73ejenILzFBnsVF8eObddesovGHpNADy A8KaKRUiV0xHe2BPEQdrrQ0V/BjCqYINkNTPlv4HkQMlOqyF/ZSEpKGDvx7vY6pT3P bCdJoMyNOiuL1JmIM6epk3agrXbQjpi9s7B1w5724qKh54HFJCjNr4w8cbrrXuAkuk drloB7kKPr/zaOFhTLpW6/bbzoZGjyo5wgOo6tB9wzekG3BJ9RvW9E5bZ+UM+FV6D2 tDFIK0EJvYZIQ== Message-ID: <7bade71f-78c0-916d-3846-1dbe318676b0@gnuweeb.org> Date: Wed, 29 Jun 2022 22:17:17 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH liburing v1 2/9] setup: Handle `get_page_size()` failure (for aarch64 nolibc support) Content-Language: en-US To: Jens Axboe , Alviro Iskandar Setiawan Cc: Fernanda Ma'rouf , Pavel Begunkov , Hao Xu , io-uring Mailing List , GNU/Weeb Mailing List References: <20220629002028.1232579-1-ammar.faizi@intel.com> <20220629002028.1232579-3-ammar.faizi@intel.com> <1f690153-1b0c-b9fc-4c2e-6084ebe1c0af@gnuweeb.org> <3895dbe1-8d5f-cf53-e94b-5d1545466de1@kernel.dk> From: Ammar Faizi In-Reply-To: <3895dbe1-8d5f-cf53-e94b-5d1545466de1@kernel.dk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: On 6/29/22 10:00 PM, Jens Axboe wrote: > 4k is the most common page size, by far, so makes sense to have that as > a fallback rather than just error out. Perhaps the application will then > fail differently, but there's also a chance that it'll just work. > > So I think just falling back to 4k if we fail for whatever reason is the > sanest recourse. OK, I'll do that in the v2 revision. -- Ammar Faizi