Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1011481yba; Thu, 18 Apr 2019 13:34:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqxzqwb7Dn8KgdioHpqH0J8/o76Qw2g/Bad5QvGSwScxadv59xDHe65GLEoagnwYUjGDaAFR X-Received: by 2002:aa7:9e9e:: with SMTP id p30mr8636927pfq.255.1555619652599; Thu, 18 Apr 2019 13:34:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555619652; cv=none; d=google.com; s=arc-20160816; b=AHYOCsjw1C5m+hdCYMwNlc9JR2daGeHqAE0HUse0N/qkHUnDe6y5Yx91DsJ7CzW7b2 73DJNODOCzmGgpY2seZF1qFyW+u5nU6FDEFHCOVCCA6dHNwsGpWLrIbI32SpimJJTGeE NkYA4Edv1JD8vMDNCtHduS/kb57nKg4BU1QnHHq/M1AlGN0EOZPC1JIytSAKDGYY1L2+ Z2BpSo6nL35jcqwMKdBK6+wbt64Ekcagpwo5ZV/1w1o9rddocLNU+7CXUsAsgdHbhrQm 0LSEJ90QZO2XcDN6d6BFhU6FStOKQK+NL+kaaJz99b6rwO5yRx0/wsv4yZjxpZDPh+dQ N3eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=4jPhGwjHunFWeSDK39fXDa38YqpMigqthqO4oi8UR94=; b=dUcG75hP6KVwOkrKlwoXHEpD0q6P1j/hkvUmbDC0WR1eWJQXzkooGLGSkCo0J/eJ9u 5yc90zvxu0GGyHAT1uN9mbonFc0pLrlctZlrmsLK/mvMdiJBMDBpIEL36nf/zn20l9ep lCj/0BpPojp1UMjY5Nz0Qez2FSpPm87684nU/lyQkqkj3mXrr3BSHVCZMJCNbx6cn479 A0+YjB1PGSVlcxaoGbQNRa1dtNXaizaUw7gYlpQD/tDhhYH/w3euWv5sli9eEss0TgsJ bFECduDHywY5yBzZBFpg8JTnoFwWK/e1P1CbFeKdt2BAVPLMgF2AWrmsgmb2qyYbpDNy qAFg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i70si2654591pge.476.2019.04.18.13.33.57; Thu, 18 Apr 2019 13:34:12 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389956AbfDRURS (ORCPT + 99 others); Thu, 18 Apr 2019 16:17:18 -0400 Received: from out30-42.freemail.mail.aliyun.com ([115.124.30.42]:49920 "EHLO out30-42.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728181AbfDRURR (ORCPT ); Thu, 18 Apr 2019 16:17:17 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R191e4;CH=green;DM=||false|;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04426;MF=yang.shi@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0TPfSgC1_1555618625; Received: from e19h19392.et15sqa.tbsite.net(mailfrom:yang.shi@linux.alibaba.com fp:SMTPD_---0TPfSgC1_1555618625) by smtp.aliyun-inc.com(127.0.0.1); Fri, 19 Apr 2019 04:17:13 +0800 From: Yang Shi To: mhocko@suse.com, kirill.shutemov@linux.intel.com, ziy@nvidia.com, rppt@linux.vnet.ibm.com, corbet@lwn.net, akpm@linux-foundation.org Cc: yang.shi@linux.alibaba.com, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH] doc: mm: migration doesn't use FOLL_SPLIT anymore Date: Fri, 19 Apr 2019 04:17:04 +0800 Message-Id: <1555618624-23957-1-git-send-email-yang.shi@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When demonstrating FOLL_SPLIT in transhuge document, migration is used as an example. But, since commit 94723aafb9e7 ("mm: unclutter THP migration"), the way of THP migration is totally changed. FOLL_SPLIT is not used by migration anymore due to the change. Remove the obsolete example to avoid confusion. Cc: Michal Hocko Cc: Kirill A. Shutemov Cc: Zi Yan Cc: Mike Rapoport Signed-off-by: Yang Shi --- Documentation/vm/transhuge.rst | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Documentation/vm/transhuge.rst b/Documentation/vm/transhuge.rst index a8cf680..8df3806 100644 --- a/Documentation/vm/transhuge.rst +++ b/Documentation/vm/transhuge.rst @@ -55,13 +55,7 @@ prevent page from being split by anyone. In case you can't handle compound pages if they're returned by follow_page, the FOLL_SPLIT bit can be specified as parameter to follow_page, so that it will split the hugepages before returning -them. Migration for example passes FOLL_SPLIT as parameter to -follow_page because it's not hugepage aware and in fact it can't work -at all on hugetlbfs (but it instead works fine on transparent -hugepages thanks to FOLL_SPLIT). migration simply can't deal with -hugepages being returned (as it's not only checking the pfn of the -page and pinning it during the copy but it pretends to migrate the -memory in regular page sizes and with regular pte/pmd mappings). +them. Graceful fallback ================= -- 1.8.3.1