From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C78DECE58E for ; Thu, 17 Oct 2019 16:42:38 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 0C4CC21835 for ; Thu, 17 Oct 2019 16:42:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=fb.com header.i=@fb.com header.b="iQ8REaZ8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0C4CC21835 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=fb.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 9A5828E0005; Thu, 17 Oct 2019 12:42:37 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 954BF8E0003; Thu, 17 Oct 2019 12:42:37 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 86AD78E0005; Thu, 17 Oct 2019 12:42:37 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0205.hostedemail.com [216.40.44.205]) by kanga.kvack.org (Postfix) with ESMTP id 646BB8E0003 for ; Thu, 17 Oct 2019 12:42:37 -0400 (EDT) Received: from smtpin16.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with SMTP id 142FA80135CC for ; Thu, 17 Oct 2019 16:42:37 +0000 (UTC) X-FDA: 76053845154.16.bit78_50fff4b3c2c5d X-HE-Tag: bit78_50fff4b3c2c5d X-Filterd-Recvd-Size: 3522 Received: from mx0b-00082601.pphosted.com (mx0b-00082601.pphosted.com [67.231.153.30]) by imf04.hostedemail.com (Postfix) with ESMTP for ; Thu, 17 Oct 2019 16:42:36 +0000 (UTC) Received: from pps.filterd (m0109331.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x9HGX2wE032114 for ; Thu, 17 Oct 2019 09:42:35 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=facebook; bh=5IKBSWNWLYlihFA44gFxxhrEU6DLltroRzqjX+u2NXU=; b=iQ8REaZ8XEqVGUbxjdhwF62J8w6O7NW607y82D9vGtFOECWTk2bpmPaobnB9hyPZS79K Kgl6J7wWFopVK91dOUkzaqCkZy1lTP1s/Wty9LpjbsazY5GzrImc8MrF/d0UmUXFnWLl yEzqzhHC+ZW8nK784FfIA+SoUbwBUKLM7JE= Received: from maileast.thefacebook.com ([163.114.130.16]) by mx0a-00082601.pphosted.com with ESMTP id 2vp3udefmb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 17 Oct 2019 09:42:35 -0700 Received: from 2401:db00:2050:5076:face:0:1f:0 (2620:10d:c0a8:1b::d) by mail.thefacebook.com (2620:10d:c0a8:82::f) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 17 Oct 2019 09:42:35 -0700 Received: by devbig006.ftw2.facebook.com (Postfix, from userid 4523) id 6A11762E1477; Thu, 17 Oct 2019 09:42:34 -0700 (PDT) Smtp-Origin-Hostprefix: devbig From: Song Liu Smtp-Origin-Hostname: devbig006.ftw2.facebook.com To: , , CC: , , , , Song Liu Smtp-Origin-Cluster: ftw2c04 Subject: [PATCH v2 0/5] Fixes for THP in page cache Date: Thu, 17 Oct 2019 09:42:17 -0700 Message-ID: <20191017164223.2762148-1-songliubraving@fb.com> X-Mailer: git-send-email 2.17.1 X-FB-Internal: Safe MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,1.0.8 definitions=2019-10-17_05:2019-10-17,2019-10-17 signatures=0 X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=0 mlxlogscore=743 bulkscore=0 spamscore=0 impostorscore=0 mlxscore=0 suspectscore=0 adultscore=0 phishscore=0 clxscore=1015 lowpriorityscore=0 malwarescore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1908290000 definitions=main-1910170149 X-FB-Internal: deliver X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: This set includes a few fixes for THP in page cache. They are based on Linus's master branch. Thanks, Song Changes v1 -> v2: 1. Return -EINVAL if the WARN() triggers. (Oleg Nesterov) 2. Include William Kucharski's fix to vmscan.c, which replaces half of original (3/4). Kirill A. Shutemov (3): proc/meminfo: fix output alignment mm/thp: fix node page state in split_huge_page_to_list() mm/thp: allow drop THP from page cache Song Liu (1): uprobe: only do FOLL_SPLIT_PMD for uprobe register William Kucharski (1): mm: Support removing arbitrary sized pages from mapping fs/proc/meminfo.c | 4 ++-- kernel/events/uprobes.c | 13 +++++++++++-- mm/huge_memory.c | 9 +++++++-- mm/truncate.c | 12 ++++++++++++ mm/vmscan.c | 5 +---- 5 files changed, 33 insertions(+), 10 deletions(-) -- 2.17.1