Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5992885ybe; Tue, 10 Sep 2019 11:52:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqwgme7qszY6Sl5Diy9qiGgm5oeYTSAYfeUqD9SYWKoiYYlBei4XyI99OaYmYBOWJdyQPaQQ X-Received: by 2002:a17:906:b2c1:: with SMTP id cf1mr25572900ejb.46.1568141542842; Tue, 10 Sep 2019 11:52:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568141542; cv=none; d=google.com; s=arc-20160816; b=GlVXqK5u2Ujgmy6ssFYHfucHjl2xy+/qppp55KSrOVh+bhRKTH9t3PM+qeeCYgQMxn l3ugQfVp+drZuIGpuKGyBs95YfawBbKEXpdANkXzjnHvipRN+1lGXaw8lnv9rXn51xle QsKugp1gws6CPxPK/5QbstNGOXOD+LsjHYW30mfkycoYOR+K5Edd1GzcLCJAabfftSiT JzXrR90tDuUnz84oCWyvSwJOQ50rDMKjQQ6YuOkD2IOL0rabsGNRnmvEfqvpds3JZzvP 9FK1/vM6p7zNWijtOTepyGh70AbBVeLesZrKPvHodj9uCARZTHYANonHoY3s6dYKZD+c qauQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Iez8yZGFDi4oceFiuNT2xGD/UPWI8Mn1wAE4EZBiLGs=; b=waR8JgI0RCs04LICFuIrppuoVXYVxQzngAtj+mIVnsrcE/67pWKNeARI9YkNtqzGpn WsZsGZ9eAITScBHzoHehiqL39iObIGLXKEgVf5pARzL1kgRALNmdFpaMxGPGSV4XWXfN OFpaNvwM1NoZfoRlQ4Fv1YKiuP1uFS+TXp9JQSfEIA9M4BCLhelv5mRkMldO0Ib5uuub oyLlmJ0f0rvfE7iLU688l1fxTKhx4YyVbw2V31mFaZaDPjfIbL1g0dGOT/Agu2Gw4osN JR1ItejmA3bH8Wk0d2MJhL23F5rTBaRhxsms0/WOBGGkv6Myo43S4pZtOZt3j4wJ8zC2 LL3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@soleen.com header.s=google header.b=TR8pm1x+; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g32si12681693eda.330.2019.09.10.11.51.58; Tue, 10 Sep 2019 11:52:22 -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=@soleen.com header.s=google header.b=TR8pm1x+; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727270AbfIJJKl (ORCPT + 99 others); Tue, 10 Sep 2019 05:10:41 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:46731 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726060AbfIJJKl (ORCPT ); Tue, 10 Sep 2019 05:10:41 -0400 Received: by mail-ed1-f65.google.com with SMTP id i8so16285648edn.13 for ; Tue, 10 Sep 2019 02:10:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=soleen.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Iez8yZGFDi4oceFiuNT2xGD/UPWI8Mn1wAE4EZBiLGs=; b=TR8pm1x+5+93McH11wJzi98SRcpwX5O2y8OG42hvagT/7UHiVtW74HMGcwPXJf0w7w Cn/lBBy9lD0+a7/880e7d1bukGpYVoiffeuNMtO4uCUjgsaO1QDM5OXZ7vAjJXCmCZBf 0C3LJWyRj++f193R8TKq7WnBTx9mP7PZ+ipVafA1tfCFnGBYz11HYgU5XTuffl9M0q77 37d590kwYGCiNDXpAWRB06js2XfjxPKlJVcbyLIzRqjFCoI3DPkk3fEGVoCsNMEuxt+m vPhmqXKJXvkOAhLiQdPlCSlO3p1Z1SWiiL8Xcy+XjoSFfzFlXHja1JiLUV61MJ33GZkW hqwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Iez8yZGFDi4oceFiuNT2xGD/UPWI8Mn1wAE4EZBiLGs=; b=U0M1+V+gvF2r5UnPZnshM2r43HpMPHyrCmKeZXj8P7TEtVDgJR9aI47mKKWaQrg264 H8I8nLFawDjOc7MRGcAElMgyM4uQBg/gnRp/hdHJJKP4MbglQydv/3gzCux7izMyeqUl XVheabE0B/S3UweilxuKLQbLup5XqJ/NjjR9sWR8fwfP5H0exKa0tcHJK9BScrJWXPve V5BoPvLDPPpa2RMIxVA6wfq8wBgLacecN9YHQ4TIPrInEY0sX7nt5QmH+O4e/5B1qJog XIAW57d2r+5ysAg/l4DnlYUGIEe+/pzRaPVZGEbFUxgSDFxp+kvWI4B98wlDXgcCLVC3 1GqA== X-Gm-Message-State: APjAAAV+hfYOVFo7TIeOu3gljHpddrt57z6f5g6OptR2JTII8AZ5rwlY ytwHZfAdFOSB40WZT5DDC4YcfPtdy4T1UHKXJsj39g== X-Received: by 2002:aa7:dd17:: with SMTP id i23mr28774906edv.124.1568106637988; Tue, 10 Sep 2019 02:10:37 -0700 (PDT) MIME-Version: 1.0 References: <20190909181221.309510-1-pasha.tatashin@soleen.com> <20190909181221.309510-5-pasha.tatashin@soleen.com> In-Reply-To: From: Pavel Tatashin Date: Tue, 10 Sep 2019 10:10:26 +0100 Message-ID: Subject: Re: [PATCH v4 04/17] arm64: hibernate: use get_safe_page directly To: Matthias Brugger Cc: James Morris , Sasha Levin , "Eric W. Biederman" , kexec mailing list , LKML , Jonathan Corbet , Catalin Marinas , will@kernel.org, Linux ARM , Marc Zyngier , James Morse , Vladimir Murzin , Bhupesh Sharma , linux-mm , Mark Rutland Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On 09/09/2019 20:12, Pavel Tatashin wrote: > > create_safe_exec_page() uses hibernate's allocator to create a set of page > > table to map a single page that will contain the relocation code. > > > > Remove the allocator related arguments, and use get_safe_page directly, as > > it is done in other local functions in this file to simplify function > > prototype. > > > > Removing this function pointer makes it easier to refactor the code later. > > > > Signed-off-by: Pavel Tatashin > > Reviewed-by: Matthias Brugger > Thank you