From patchwork Tue Jan 9 09:27:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Paolo Valente X-Patchwork-Id: 123821 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3796611qgn; Tue, 9 Jan 2018 01:28:20 -0800 (PST) X-Google-Smtp-Source: ACJfBot0bGhSyyTzaNB6WGji2/ubDVLzH1YJ8SIvKsLJsBe7TmC3Q8J8XWvKEKplfD3tPKZz8gOQ X-Received: by 10.159.204.146 with SMTP id t18mr7961083plo.370.1515490100812; Tue, 09 Jan 2018 01:28:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515490100; cv=none; d=google.com; s=arc-20160816; b=I0p8cNmfeWza7EDm3EKgvXZFL0IisPGLbiVez9JED7jrJ3fGvC5OL8qsAtsUlhV9KH q40bn9QCkJaPo3iKa23JLOzMAhGquMqspEmnfPmN1DaHFWYWTZvYKKU4Ba9GtRQrFRY6 QuHuX8Rv7Su2o8IndL/w6f7lcvKj7TZstnHEmfU8Mrw00HLfrn+vqXt0Sbx64UccfRcj a8MNizdVF1/PtNPkUNnzIFD3FI6XHh3kf6SHcI1CN/IHXT2vHI5yYtVVfTevejjM1Sdp W/dF5kRmfwuRR10T1cqxOz6MFp8GTzMYhEgJy67jvTiOIWXqnu/qpYum8S0ai79/AWCf kENg== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=0w9cYHsr3dThrMfLUE5rPZGBYqLRgXxFQWar/2kHZ1U=; b=HXLWst45ELK0Iddei2U03hQkt2EQTmEf1zyDqioOxvrYvgus66ahsUZIFqAI4kKbN4 A8EpLVkz469xXW9IdyR4w17X2XN9N36e/pWgEFB60BMRTrYHYZQgCMWQF8u/bnB6GrNa lhVPgjDej6HEiuCcBogC8QDaxoC8T7DenP4K3cOvc3JiJbCQp4YCy+A2oMVHqTXHCkci WkLbsqgGMJAmX+aACuDGQixXB1Ts0ZTVDF8VJ5AhT4THzKKoMQnkKa65vWbotpbKri5l r/jvn6ti17WprltjjyDrJhivudL6GbH3XyfWAr3UJkwDXBLzcVIr0ko5CAjLlR2EC5vG DWgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QYPH/Ff3; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u12si204736plq.408.2018.01.09.01.28.20; Tue, 09 Jan 2018 01:28:20 -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=@linaro.org header.s=google header.b=QYPH/Ff3; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752574AbeAIJ2S (ORCPT + 28 others); Tue, 9 Jan 2018 04:28:18 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:40942 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752194AbeAIJ2O (ORCPT ); Tue, 9 Jan 2018 04:28:14 -0500 Received: by mail-wr0-f193.google.com with SMTP id p17so13447510wre.7 for ; Tue, 09 Jan 2018 01:28:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0w9cYHsr3dThrMfLUE5rPZGBYqLRgXxFQWar/2kHZ1U=; b=QYPH/Ff34rMfX64TkBGabMrEiWpCyc6gXkPMSZBm9SXDTtYwQ0fHgihdbB62xJH7B4 qEZVuehKXjg3uS1hI5Kv/tD3axFdPkJwejXpfc4WXuEejXWJ7v2GtjDYeeWQfrCLpiic SY/LuVLX4OyZATrUVJdgUm9swJYvzPZFLfsVs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0w9cYHsr3dThrMfLUE5rPZGBYqLRgXxFQWar/2kHZ1U=; b=lXuBbucxYqCQu1wZ1sZDSUHofg/RT2vW4HJaf3hbMphpmMZeBsvJmseALw58hzvUSH dDHmNYKGfwqPeK9ba/9xoXbt5RgV22O/ghgzGxZy7gKzUSE/+hrJNwFVk7GUE/7JRd4X yn/0lL+X9VQGsAMUdjOWc2I6jJhm0oqg2lDLFAOUuEuQOVq5yQ4qd3v5E6gvYdWnuCpv L20FoWm41i/ol51CpwsHPa7hlKRJ+TJgr65hvshrp+VV2DB/z89HSOhxjsua47AHGNVP VrnDBHjOjaMO5h3hihjHTQzzv1mOP7x8MeDeb7s3Vw+gG6zr7QRCWsQwygiUnf8zxKvA LUIQ== X-Gm-Message-State: AKGB3mJRcj+cRfIjM0GEH9it91IR05n9PSg3rIHY3+O0y8XpHv0gSJAg HiMAvhdHQbM8RYZKohLCkoaT3g== X-Received: by 10.223.153.144 with SMTP id y16mr13567247wrb.45.1515490093228; Tue, 09 Jan 2018 01:28:13 -0800 (PST) Received: from localhost.localdomain (146-241-48-150.dyn.eolo.it. [146.241.48.150]) by smtp.gmail.com with ESMTPSA id y134sm19179828wme.12.2018.01.09.01.28.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Jan 2018 01:28:12 -0800 (PST) From: Paolo Valente To: Jens Axboe Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, ulf.hansson@linaro.org, broonie@kernel.org, linus.walleij@linaro.org, bfq-iosched@googlegroups.com, oleksandr@natalenko.name, 162996@studenti.unimore.it, Paolo Valente Subject: [PATCH BUGFIX V2 0/2] block, bfq: fix two memory leaks related to cgroups Date: Tue, 9 Jan 2018 10:27:57 +0100 Message-Id: <20180109092759.5454-1-paolo.valente@linaro.org> X-Mailer: git-send-email 2.15.1 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [There was a mistake in the subject of the second patch, sorry] Hi Jens, these two patches fix two related memory leaks, the first reported in [1], and the second found by ourselves while fixing the first. Thanks, Paolo [1] https://www.mail-archive.com/linux-block@vger.kernel.org/msg16258.html Paolo Valente (2): block, bfq: put async queues for root bfq groups too block, bfq: release oom-queue ref to root group on exit block/bfq-cgroup.c | 7 +++++-- block/bfq-iosched.c | 3 +++ 2 files changed, 8 insertions(+), 2 deletions(-) -- 2.15.1 Tested-by: Holger Hoffstätte