From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 936FAC433EF for ; Wed, 29 Jun 2022 15:17:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232755AbiF2PR0 (ORCPT ); Wed, 29 Jun 2022 11:17:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231660AbiF2PRZ (ORCPT ); Wed, 29 Jun 2022 11:17:25 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7B16E9F for ; Wed, 29 Jun 2022 08:17:24 -0700 (PDT) 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 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org 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