Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp1003984ima; Fri, 1 Feb 2019 14:38:44 -0800 (PST) X-Google-Smtp-Source: ALg8bN7nnFRZfrWKQRPwjKqx1TPHLqSnHi9zOeDeFRGwzmkLf97C/4UYpNvXFnxJp8xm6qnPADbF X-Received: by 2002:a17:902:bb05:: with SMTP id l5mr42284831pls.230.1549060724423; Fri, 01 Feb 2019 14:38:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549060724; cv=none; d=google.com; s=arc-20160816; b=sC3YZLn/cyarIyu73vQpQmAwBDNiwSBxr8mtUWpOL+8NF4SrmsE8cUr9mtAgqCdZWp GstHL3RuCZkTYTH7XlRXyE0N+Gb+vsljnpbUI9JcS3beu8XsPjQzgBvfB6hD1u0z7IhP 1NoixqW1FyzQMxTvakbPbGvQl7ETS5mSo6zG3F0BFruevTMjTpqWeQ9us/GrwclR532U SWcxaMdV0WdhIHhsYFPj739b7fJyEJbqCA96Nt5urmnz4pN+el6jbPfW3J/5uI7QmyyT 5NtqgpM1MgaNa0Pp5LSYg5xYy+uYBuyhbm6tZ/mRwNfdv09C3hLmjschS+7NbupPy3jR 9xyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=CsyhCuppqVUAVoFQMCJMMMABqMa2RyFMhSVg4Pg/oDU=; b=h4o0oyJntXb6qcxqHBYAV3ovXKeVz2UbalErRibmN8NoRQAApIUKLX+COAP4Hddjfo SoE9Ut4vvY6uqXdN7znpYshgljxkw213HPz05+NTpKXxBZGMpLVKMWMu65MbBqpzpa4Q 5P57JYY3Sc6dhXxQxBVh29dK5AU46xkiw1edoLGhoXcqctYZ7gR+RgpMfgMhWhWaQsGh cz6dH9hF3YaBB/fJfqpv2yoCXvWhcActLNwzVlG9nkNx85/htQ73W+0vzUXJjsCtSrUY t6nW+XzImW0uHQIzBKYF2WIcqTwRQ+NlUzeSgBkn3HB/1duSkldfaSsYlKPGPNsoNNGc jEvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=xaEwORUt; 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=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j29si8107078pga.550.2019.02.01.14.38.28; Fri, 01 Feb 2019 14:38:44 -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=@oracle.com header.s=corp-2018-07-02 header.b=xaEwORUt; 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=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727213AbfBAWgk (ORCPT + 99 others); Fri, 1 Feb 2019 17:36:40 -0500 Received: from userp2130.oracle.com ([156.151.31.86]:39798 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725850AbfBAWgk (ORCPT ); Fri, 1 Feb 2019 17:36:40 -0500 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id x11MXdNe190903; Fri, 1 Feb 2019 22:36:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=CsyhCuppqVUAVoFQMCJMMMABqMa2RyFMhSVg4Pg/oDU=; b=xaEwORUtZtq/8CUuuE+gH7iqPqSwrqRroTcT9GlGhpEL52xoRdOfgkN9NISuoScIyteN mPBtXlWeqph0KN5JRG8cNGVy6DHMQxvAO37dbbiH1AjJ2lF3Bgz5pdNYzQ1WviKal5nP srQTzdR1uqETGtP6Nb0RyMQQibuhCfyR4CnlvzdXzkJaoWoX79hHg/oqZPOsTRAsjXdd V7XALnKtTso8I+K4omvihfE01kOVHBBY1ZBlVD16kyxWD0X7XDBFecojvzm27UYrWHUw ra3my/R6eol/DPXcbATJdftQR0jMr7nby0TOBDaD2PKXAbSDi8q4AYTWpfTO5DqRynew wg== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2130.oracle.com with ESMTP id 2q8eyv15p3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 01 Feb 2019 22:36:36 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x11MaZoJ000620 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 1 Feb 2019 22:36:35 GMT Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x11MaYsi027073; Fri, 1 Feb 2019 22:36:34 GMT Received: from [192.168.1.164] (/50.38.38.67) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 01 Feb 2019 14:36:34 -0800 Subject: Re: [PATCH] huegtlbfs: fix page leak during migration of file pages To: Sasha Levin , linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: Michal Hocko , stable@vger.kernel.org References: <20190130211443.16678-1-mike.kravetz@oracle.com> <20190131141238.6D6C220881@mail.kernel.org> From: Mike Kravetz Message-ID: <205f9878-837d-8203-58ae-2ebd7a063567@oracle.com> Date: Fri, 1 Feb 2019 14:36:33 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190131141238.6D6C220881@mail.kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9154 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=2 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902010160 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/31/19 6:12 AM, Sasha Levin wrote: > Hi, > > [This is an automated email] > > This commit has been processed because it contains a "Fixes:" tag, > fixing commit: 290408d4a250 hugetlb: hugepage migration core. > > The bot has tested the following trees: v4.20.5, v4.19.18, v4.14.96, v4.9.153, v4.4.172, v3.18.133. > > v4.20.5: Build OK! > v4.19.18: Build OK! > v4.14.96: Build OK! > v4.9.153: Failed to apply! Possible dependencies: > 2916ecc0f9d4 ("mm/migrate: new migrate mode MIGRATE_SYNC_NO_COPY") > > v4.4.172: Failed to apply! Possible dependencies: > 09cbfeaf1a5a ("mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macros") > 0e749e54244e ("dax: increase granularity of dax_clear_blocks() operations") > 2916ecc0f9d4 ("mm/migrate: new migrate mode MIGRATE_SYNC_NO_COPY") > 2a28900be206 ("udf: Export superblock magic to userspace") > 4420cfd3f51c ("staging: lustre: format properly all comment blocks for LNet core") > 48b4800a1c6a ("zsmalloc: page migration support") > 5057dcd0f1aa ("virtio_balloon: export 'available' memory to balloon statistics") > 52db400fcd50 ("pmem, dax: clean up clear_pmem()") > 5b7a487cf32d ("f2fs: add customized migrate_page callback") > 5fd88337d209 ("staging: lustre: fix all conditional comparison to zero in LNet layer") > a188222b6ed2 ("net: Rename NETIF_F_ALL_CSUM to NETIF_F_CSUM_MASK") > b1123ea6d3b3 ("mm: balloon: use general non-lru movable page feature") > b2e0d1625e19 ("dax: fix lifetime of in-kernel dax mappings with dax_map_atomic()") > bda807d44454 ("mm: migrate: support non-lru movable page migration") > c8b8e32d700f ("direct-io: eliminate the offset argument to ->direct_IO") > d1a5f2b4d8a1 ("block: use DAX for partition table reads") > e10624f8c097 ("pmem: fail io-requests to known bad blocks") > > v3.18.133: Failed to apply! Possible dependencies: > 0722b1011a5f ("f2fs: set page private for inmemory pages for truncation") > 1601839e9e5b ("f2fs: fix to release count of meta page in ->invalidatepage") > 2916ecc0f9d4 ("mm/migrate: new migrate mode MIGRATE_SYNC_NO_COPY") > 31a3268839c1 ("f2fs: cleanup if-statement of phase in gc_data_segment") > 34ba94bac938 ("f2fs: do not make dirty any inmemory pages") > 34d67debe02b ("f2fs: add infra struct and helper for inline dir") > 4634d71ed190 ("f2fs: fix missing kmem_cache_free") > 487261f39bcd ("f2fs: merge {invalidate,release}page for meta/node/data pages") > 5b7a487cf32d ("f2fs: add customized migrate_page callback") > 67298804f344 ("f2fs: introduce struct inode_management to wrap inner fields") > 769ec6e5b7d4 ("f2fs: call radix_tree_preload before radix_tree_insert") > 7dda2af83b2b ("f2fs: more fast lookup for gc_inode list") > 8b26ef98da33 ("f2fs: use rw_semaphore for nat entry lock") > 8c402946f074 ("f2fs: introduce the number of inode entries") > 9be32d72becc ("f2fs: do retry operations with cond_resched") > 9e4ded3f309e ("f2fs: activate f2fs_trace_pid") > d5053a34a9cc ("f2fs: introduce -o fastboot for reducing booting time only") > e5e7ea3c86e5 ("f2fs: control the memory footprint used by ino entries") > f68daeebba5a ("f2fs: keep PagePrivate during releasepage") > > > How should we proceed with this patch? Hello automated Sasha, First, let's wait for review/ack. However, the patch does not strictly 'depend' on the functionality of the commits in the lists above. If/when this goes upstream I can provide backports for 4.9, 4.4 and 3.18. -- Mike Kravetz