From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bombadil.infradead.org ([198.137.202.133]:40712 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726753AbfFQJO2 (ORCPT ); Mon, 17 Jun 2019 05:14:28 -0400 From: Christoph Hellwig Subject: same page merging leak fix v4 Date: Mon, 17 Jun 2019 11:14:10 +0200 Message-Id: <20190617091412.15923-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-xfs-owner@vger.kernel.org List-ID: List-Id: xfs To: Jens Axboe , Ming Lei Cc: David Gibson , "Darrick J. Wong" , linux-block@vger.kernel.org, linux-xfs@vger.kernel.org Hi Jens, hi Ming, this is the tested and split version of what I think is the better fix for the get_user_pages page leak, as it leaves the intelligence in the callers instead of in bio_try_to_merge_page. Changes since v2: - pass a proper same_page variable from the passthrough path Changes since v1: - drop patches not required for 5.2 - added Reviewed-by tags