Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1646185ybx; Thu, 7 Nov 2019 15:01:53 -0800 (PST) X-Google-Smtp-Source: APXvYqyW4zWdcflEpQbq7uSwrg37bMN6hd79SesOlLsB4kLN4Rkn1VVFBoFNC7CCI26Mv+jF4uBM X-Received: by 2002:a50:eb8b:: with SMTP id y11mr6864591edr.242.1573167713847; Thu, 07 Nov 2019 15:01:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573167713; cv=none; d=google.com; s=arc-20160816; b=jS8V8oXuU7aAPilgHF1N2Qlk6AiOzmsscJbkBA3FQMhonvf0f9UjQAqtZhm/QGpn8y mZK6KJoF+0QGZBbJ8wvU0Opva0I73ht5zMZUqwtNZpRrkeGrLvEftaueNZ9SKKIFGtQa YfS2QMDwKcYOVI7rPC3ZX2NpaaOpoR1ysh4T25b68zxZoO/kMnNqTwLsbCoSEYbj6dky 3AqS2l/tb9hkdoQB6k+wfmKXp6+3GLow9af2W3rFy4iq0jaqFdEcxOT+v+utduhG86uf Xvhm4GIb7X7xKMmmbKC2qUV7AjdfwMdzwUWuutvylZ41J5a7b1oJf6whDG+7UhRp0/zg qBQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=37vI10OHhl6jTWakhwjHOMGsND4W8xXva1kflTIfn38=; b=yZUPzAPYKYHt5FV38I/iOl2DJ8Ha/Q3uidpgJfyquZzbtz0avFZlrP4SMJYKJKeqe5 hrbG0W/Mf+u5xXgoyexVSxtrpQVUurDNvGyQb1qhHXUX8zGDyfCiPHRzCJ5OUhMxzvCV zPiAcnPiMvUtkgGCBss5Hh9nYOebRILENlwaIzRUJmROOmmvJoiShCZpvNMEENb6CkY4 LD7Lt53P3nBE/XpD1NUF+1mJmFBRBZm09qkWYkYyzbHQgPwiOLrBprNENqYh5c7VRF8O tSbt3D/DQaVARRlffMreGt5UPhJbKkcKSybQO4DCBAJZcf10SC9X1br6ocNeF30S9NKn loGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=dtYwGqUd; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x14si2901100edl.128.2019.11.07.15.01.29; Thu, 07 Nov 2019 15:01:53 -0800 (PST) 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=@google.com header.s=20161025 header.b=dtYwGqUd; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726902AbfKGW7Z (ORCPT + 99 others); Thu, 7 Nov 2019 17:59:25 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:42192 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725912AbfKGW7Z (ORCPT ); Thu, 7 Nov 2019 17:59:25 -0500 Received: by mail-pg1-f194.google.com with SMTP id q17so2883188pgt.9 for ; Thu, 07 Nov 2019 14:59:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=37vI10OHhl6jTWakhwjHOMGsND4W8xXva1kflTIfn38=; b=dtYwGqUdV/ud8EBTtvRx9lACRPP1qeX43CnljOG38jYD7jROnBiWhNBRYUGY92WPP1 6EQrU41QGMXDaeuIBkUKA2wXlNpqPSa4MVtRFIH8KmBfmmNFfm5/zLdlpkofeKwu7DJU /vp26rzZuLL4wIrr/G3XCGkCjQxhXMgUpKJ3Kj3ScoOSdPX2IDNQjhW+B24FrZMynEL+ 44wghqpRVhS8otrnSAO2YqA3xJfHwScHYZTmcWs7WbyIcjjVgS8H/YlG3GS97/Tm0rf2 TWxDpTY9daAg9sMSa72Uyd9jkbEyY/QsFLITh9X6AE+rF5rv20MpOrSjRXRxDtzxhpRR hLcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=37vI10OHhl6jTWakhwjHOMGsND4W8xXva1kflTIfn38=; b=iWd8zj3ZCao5f4OrMtdEagBg8viBAvUE3fH06jJrP0AfiKJVCqSHjpEndnSqjqr1vh 4Uwie+YuMJj0Q4rtY9zRQJ44gkRBIP0Xmbc0mqGq6L02EDkZJPUX2UhdNI7gbr/Pw7nQ hCQnDbGR6RYa+8a6KeO9/QxzatEz0Ayh2v1hc+bRqKLtVyfhVLVEvfb4XrkwtYbVDJNM yJEu/OtJjY6MGgQMZ16+GvrvHmFCbl+1UhKghaD0YwRLQ8XFVG3vPl5iwcg3AM5L8iLA Nh1TynTZ190uUg95A5w2669jNyIIZUnL4jftPcVxfpWwllnPXRxaTRYk2cgI7UTSit/W 3bSw== X-Gm-Message-State: APjAAAUI6GzDkbPhQ5VYoYnEOKwa330UWs1LTqPnJ7ovGGcxe8NIotVU 7GvpmZuHSIp6WDBHYZrDM3M3Hw== X-Received: by 2002:a63:5749:: with SMTP id h9mr7992087pgm.12.1573167563843; Thu, 07 Nov 2019 14:59:23 -0800 (PST) Received: from [100.112.92.218] ([104.133.9.106]) by smtp.gmail.com with ESMTPSA id p7sm3732176pjp.4.2019.11.07.14.59.22 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Nov 2019 14:59:23 -0800 (PST) Date: Thu, 7 Nov 2019 14:59:07 -0800 (PST) From: Hugh Dickins X-X-Sender: hugh@eggly.anvils To: Yang Shi cc: Hugh Dickins , Michal Hocko , akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm: shmem: use proper gfp flags for shmem_writepage() In-Reply-To: Message-ID: References: <1572991351-86061-1-git-send-email-yang.shi@linux.alibaba.com> <20191106151820.GB8138@dhcp22.suse.cz> <733100ea-97aa-db27-4b43-cf42317afaf8@linux.alibaba.com> User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 7 Nov 2019, Yang Shi wrote: > On 11/6/19 10:59 AM, Hugh Dickins wrote: > > Yes, I don't think it fixes any actual problem: just a cleanup to > > make the two calls look the same when they don't need to be different > > (whereas the call from __read_swap_cache_async() rightly uses a > > lower priority gfp). > > I'm supposed it is because __read_swap_cache_async()is typically called from > page fault context which is less crucial than reclaim. Exactly. > > Shall I consider this as an ack but with commit log rephrased to reflect the > cleanup? Okay, Acked-by: Hugh Dickins