Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3645980ybb; Tue, 31 Mar 2020 09:13:14 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtF3m9rBhO96NmPFAdm3zsiMdyU2E5xBdHaN1B/h8VIMsMRq850eEGMkB2tsxNS12hklWZF X-Received: by 2002:a05:6830:1296:: with SMTP id z22mr3741314otp.108.1585671194360; Tue, 31 Mar 2020 09:13:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585671194; cv=none; d=google.com; s=arc-20160816; b=z0D+BDTqQJH3ariG5VxvdZVFT3PtfdP4RTZAKUXmm94FGoMKeTENFd1SjiynCmK019 EFtlK9mGKODU6tuH5iJ/2Sab+O3vqmon1f2qF4CWUR0ed/RI/yTaY+4CAv9kz4h/DAyv HSBB58Jl3jIw8HF5R43lCJHXyiFLKUyIGmyTFb59kpbLG1Gn06vWK+bokX2r0xOCAdM4 TMREIkZsd04jG2PlMjH9Ead+OB2Jv6rVoLx0ncgxsJbM/hOC73wZeUxpGmmgJjsVs5pk e17AxDmkQoXnmfoIqtlr/kVhwDp7u1lIqRIw/dt7yILY4GrATzWRPF7Z1ONy0efwThKQ lfLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:date:from:dkim-signature; bh=3kJ5mm1YOrHmUQGCcnHVGzEU+zZ+MYIie0xvbmsLdR0=; b=KMVI8gwL2xBNYt9LSv8uYkPMRk148D3xaeZU4U1HtLWCu27zqLbGzR9c75hAYYHvY5 h73OsnWPFeW2n14ZkTR3kuIHiBeuvdQ73g1WtdLBuPoDntq8R+yzdJZ+hnObXq17AdEa V5y3Ktb94cxHbClHUdok7ggPDvWRdXC41ieXZx1+thF9CMZFh7J77xz3M82VEhdHst3E pUWucR3AcXUn0Sc4dybjDx/OEKRZATGmjF1IUBhSIaGGva8Alb7cc5qI2RHaEao9N4AK LCjMQ1krinv8SsgmBFKAxEi9DGpOvRi/Y3etqvoOD+F3SXj8+IvaUflg9+kI7QZ+tn0J ndYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EY5aB2IZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id i14si7448524oov.24.2020.03.31.09.13.00; Tue, 31 Mar 2020 09:13:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EY5aB2IZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1731026AbgCaQM2 (ORCPT + 99 others); Tue, 31 Mar 2020 12:12:28 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:41908 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730149AbgCaQM1 (ORCPT ); Tue, 31 Mar 2020 12:12:27 -0400 Received: by mail-lj1-f196.google.com with SMTP id n17so22603600lji.8; Tue, 31 Mar 2020 09:12:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=3kJ5mm1YOrHmUQGCcnHVGzEU+zZ+MYIie0xvbmsLdR0=; b=EY5aB2IZm5Vpo9RHwThnoY0oR6GY+XljzuA5498+JAIHFQRfhJbg5cRDPuto21J3LF Wr02golnyTUCEEmXtYJ0c1JAup4OqmCErYQ3BZXUc3gkmEdKbO2MqqkL2A4whX1OjSIv rCqCbcHMkvBZ4hWVJkwy47HuSol36XtdDMYQBV+PDFQRtAvLHoVr/aqH1EH2JbCY9ZxX JAvRuuIAfP8Vzd+9WMlEgO5EtwNLJ7E7Mb14o14ldatIIJIlrwnVlUQhHMSH41aXtnPI EpmKilYbHeAHoUd3PJs5n8v8RMSIeGnpb8MWHaBDqtyFIZRa/oAqv+vC/odykHajiOou 73JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=3kJ5mm1YOrHmUQGCcnHVGzEU+zZ+MYIie0xvbmsLdR0=; b=YUJfniK/WngbYgxXuZknlv/UuSNHmn3geqQCMOTJXxWRhFQrOhoRIy3dffOWv3/TTF NUBB+1skh6yLnYfgnFEi/9MATF+Mg4iyHy/IWR4/Z5+3bbUf1PfJ74ast9irlqwCqnF5 Begj9J85lrGcwWLVq8kLIcSaCdIgro9x1IaS3daZ86OJWjCyf9GMfrDHesPC8IVYyYm9 M7AHRboQZmerQvh2rJYtOWn0yct2JRUL1HL3C5sD3JZU07uiKt/OyctXwJcuZMc0NwY8 z0VkKh/XW0j6tCSldXyTcv1IAvuNEKT2YLd5xO3S/N6cL4O3OnbWcV34KzhEfFtKAHSK jSqQ== X-Gm-Message-State: AGi0Pua10gAJuKlc3g03b4LRNO0uVAx6dA6K7PtcVWb8ML33xsqSD93I mnLauY4ab8o3z9mmj6/+u6pt06Dj36k= X-Received: by 2002:a2e:89d2:: with SMTP id c18mr9341456ljk.29.1585671144929; Tue, 31 Mar 2020 09:12:24 -0700 (PDT) Received: from pc636 (h5ef52e31.seluork.dyn.perspektivbredband.net. [94.245.46.49]) by smtp.gmail.com with ESMTPSA id h20sm2634010lji.103.2020.03.31.09.12.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Mar 2020 09:12:22 -0700 (PDT) From: Uladzislau Rezki X-Google-Original-From: Uladzislau Rezki Date: Tue, 31 Mar 2020 18:12:15 +0200 To: Michal Hocko Cc: Joel Fernandes , linux-kernel@vger.kernel.org, linux-mm@kvack.org, rcu@vger.kernel.org, willy@infradead.org, peterz@infradead.org, neilb@suse.com, vbabka@suse.cz, mgorman@suse.de, Andrew Morton , Josh Triplett , Lai Jiangshan , Mathieu Desnoyers , "Paul E. McKenney" , Steven Rostedt Subject: Re: [PATCH RFC] rcu/tree: Use GFP_MEMALLOC for alloc memory to free memory pattern Message-ID: <20200331161215.GA27676@pc636> References: <20200331131628.153118-1-joel@joelfernandes.org> <20200331145806.GB236678@google.com> <20200331153450.GM30449@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200331153450.GM30449@dhcp22.suse.cz> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > __GFP_ATOMIC | __GFP_HIGH is the way to get an additional access to > memory reserves regarless of the sleeping status. > Michal, just one question here regarding proposed flags. Can we also tight it with __GFP_RETRY_MAYFAIL flag? Means it also can repeat a few times in order to increase the chance of being success. Thanks! -- Vlad Rezki