Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1591455pxb; Wed, 20 Oct 2021 08:04:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzcxlLJHlSgS+IoX0395ghas8K3mqpLRjp5oCDNKVbE+oI4BoxGF+Lh/B3pBITAw0YBmerh X-Received: by 2002:a63:3845:: with SMTP id h5mr408367pgn.362.1634742286058; Wed, 20 Oct 2021 08:04:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634742286; cv=none; d=google.com; s=arc-20160816; b=KmU5DtrNgMwVkrlx8QQwks2IvrZmKX+rrqBVF7sMr5wtY5sWipueGrQ5j75B3gmSZF XkbvPD0Y62APLqv3I9oD0SKr7aiW3/RI10yQYNOvibkbt2Q4FnnD0SgRpiHNrQWR2Q2Q YkWb1X75R35mH/Pi11OpbLg8m/gu9eWJ7pXEUeVKSe1QRLkaaAi+puiz3Fk0iggaSvC/ aYhmsL7nJin/E1yNbBJFe0s6y7XRkdOJ4FRxDblte5QpgzU3jiujzu2dRZ51c5mt5IEq F326oz8Z8j/tDW3KGwT8+rcEwNYwNZWYzxaoMB9IRaAkuc3a2b9h6vrmKYihJkeiuUhb aVPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=9wMp6KN4Bl+/16uqAJTSTlwVNnmq+6gMGHhM2eIoSfA=; b=msyDKvOEh2Z6266/qEHVdwcAOPHrEnsxrxUUNAKdg4HYEE9yVIMiNzI2c9BmcHiqcO RMLBMSzf72Z+GhqlCPt41RicSPaC98lKCjOqyxi1wgZGYZzbC6NSsFYhL3GdhYhpIadh 0s+KqDneyDiYcHDz/aE4OekleL5M+Xt4npKQDJzoWyW0EoQQs9XRZr4lXj7vTKtIsKAq oFOX06lnnzVZSzCM3ZVUkxYvxNp2Eqm1E3omzd2ieRxVlI2ZzIyA4W5kWIh4ixY8DANF 6SPQExytkydwZ45U4/oaH5wxtHF8wLB1ldcBe7yI9oZo5cfmFZ2P1QmPcZ3rsRKSgpGZ UnqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fmuQ1cL1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c8si3166331pgq.513.2021.10.20.08.04.28; Wed, 20 Oct 2021 08:04:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fmuQ1cL1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230213AbhJTPD4 (ORCPT + 99 others); Wed, 20 Oct 2021 11:03:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229952AbhJTPDz (ORCPT ); Wed, 20 Oct 2021 11:03:55 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BC23C06161C; Wed, 20 Oct 2021 08:01:41 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id d3so28078746edp.3; Wed, 20 Oct 2021 08:01:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9wMp6KN4Bl+/16uqAJTSTlwVNnmq+6gMGHhM2eIoSfA=; b=fmuQ1cL1GdQSimrx3H9sCqboDYsk+VgaxYKz/UJYH7UGStaXBiW3Si6588drQZ3Dkf q+HubfDdEvrLyHoG8F7+oW1PWgFvXlNzgq/wvmnrlRW1qVO6aVpaqX151FxoktfWyGTi M1yiY0CLI8lq3WNpFX9CO+moKoFftbseEebm8Pg40W5ctMF2JwG4PgcD6wp5l6o2hNgY FH/TY3gK/2aWdNx8zfF2LgyepAQvS+IvAzZOiVGoY63M/mC5XxjEwY1AKvreVgt2wOp0 uo6VDnR4YM5a6PEo2cI08Rs8RNJMP3IU849PnbcThybJCWGto/vhHfkV/UEw9z0LsH9K Y7xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9wMp6KN4Bl+/16uqAJTSTlwVNnmq+6gMGHhM2eIoSfA=; b=k1V8qIxTULgD+h28FHyx9gDFnv9X/Rhu1OHPkBLcq4SPbeib6jR+pRUazQpj8upUDF pnCbS51e8xeHPz5UVoEoCRsvRNHIiAMa9pd8FXVoShbAikC6crlkTRVO4fquzJf8pCGD wrH1/5bOSJi09o3VglcGv6tHyqbM9evVs/Z2+ayVvyGdbJTrIGOFV80n2E40QEW0zDhB WB81pqkEJRuj5yedyCsMgUKBqTcKvYfOb/PDXfkkTr1CQz/i1mcRgeoRVoXksiTqFR33 FpYwrlND2NF0xzD3+6pFTjhYl/HzXiPYmOx9adZWcnC4GpRBEtYPhDgSQXGMRn4DbIcj pZUw== X-Gm-Message-State: AOAM532ZI66lvvYBDpbx+hHyiQU0lvdO3X8MmFNsVGUEG3ULq/dt2QxQ NfjotACjJP+zaEyaRLDlqaWdK0s5t6dFMtAkcJY= X-Received: by 2002:a50:e009:: with SMTP id e9mr634164edl.254.1634742039339; Wed, 20 Oct 2021 08:00:39 -0700 (PDT) MIME-Version: 1.0 References: <20211018114712.9802-1-mhocko@kernel.org> <20211018114712.9802-3-mhocko@kernel.org> <20211019110649.GA1933@pc638.lan> <20211019194658.GA1787@pc638.lan> In-Reply-To: From: Uladzislau Rezki Date: Wed, 20 Oct 2021 17:00:28 +0200 Message-ID: Subject: Re: [RFC 2/3] mm/vmalloc: add support for __GFP_NOFAIL To: Michal Hocko Cc: Linux Memory Management List , Dave Chinner , Neil Brown , Andrew Morton , Christoph Hellwig , linux-fsdevel@vger.kernel.org, LKML , Ilya Dryomov , Jeff Layton Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > On Wed 20-10-21 16:29:14, Uladzislau Rezki wrote: > > On Wed, Oct 20, 2021 at 4:06 PM Michal Hocko wrote: > [...] > > > As I've said I am OK with either of the two. Do you or anybody have any > > > preference? Without any explicit event to wake up for neither of the two > > > is more than just an optimistic retry. > > > > > From power perspective it is better to have a delay, so i tend to say > > that delay is better. > > I am a terrible random number generator. Can you give me a number > please? > Well, we can start from one jiffy so it is one timer tick: schedule_timeout(1) -- Uladzislau Rezki