From patchwork Thu Nov 14 09:33:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Valente X-Patchwork-Id: 179379 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp10804113ilf; Thu, 14 Nov 2019 01:33:35 -0800 (PST) X-Google-Smtp-Source: APXvYqz+IQLt47sJ82tSkMkG5KzICvfptkZQ2vpCDmvAb7ue62rxmh5x3c2gX8szGH9WkSQmMpCS X-Received: by 2002:a17:906:6011:: with SMTP id o17mr7176110ejj.172.1573724015585; Thu, 14 Nov 2019 01:33:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573724015; cv=none; d=google.com; s=arc-20160816; b=omMi8GeyCRCHrumnC+LGWeUmWsAfDmoxFfG9pGcgm7sVc/qp8f//2tgln7wM6+5WYb KwoH3kHOnXZDDeSvL7RBQRdFqDRUbG7PzrBPZh5IQyjzZOYfRuWMhJV8Hd5Jvln3k6/J Lme6wz0WLQNG05UWfSxYVHXB33I6+6G+/9WFDILSWTCe4cN4NiTgEJdyA2PdmG/VTB5N /Lq535Z2Boyd9VFVi5Qt2HYNkecz4VQwdkIlbDpnMARpmz/WqWuToxoHQDwifepyj6v7 m7jpKEX3dxDldOMFpwmegjiNIr7YKX92IOAQe9Iy89U1axVZg40Xgvr8/OAU4buwaAJt qtvQ== 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; bh=EOgfq2BPgwHks2knL2d8OExj9QUX1YIgf8uJJjgKXdc=; b=oSP8JjhsHu+dGv9DuEbuqUUNfGgB/9pPEkoQ7KejCG2+YfCzTTHMHB2kZOR3eS8OOp kSx4kIc8Lz0g9REgznmEJ7IgEGjQCCLYxH+yO0kZjSlCKYQ5A63s2f3wdWbaSYsGrwd4 dt1NB2BBW28EiLLGdPXyywIc2VZj4ClogxNa0O1uOkQx6P/FdQkdWqb2vMHPBguvWx5w edGgL2dAbgNbtwyynTvUA+USygVSSBdRADwmUQ2xprX/kV3GByIo9JrThzDV2wmgRlHO O3DfRQHhY7FxVil6jpWefGXxuwerI+lYQWaNDFryzXDHj1hfYNETChcBKHDXHdGs0mI2 F/Sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vRQFT89w; 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 v29si3335411edc.436.2019.11.14.01.33.35; Thu, 14 Nov 2019 01:33:35 -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=vRQFT89w; 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 S1726766AbfKNJdb (ORCPT + 26 others); Thu, 14 Nov 2019 04:33:31 -0500 Received: from mail-wr1-f44.google.com ([209.85.221.44]:37257 "EHLO mail-wr1-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726139AbfKNJda (ORCPT ); Thu, 14 Nov 2019 04:33:30 -0500 Received: by mail-wr1-f44.google.com with SMTP id t1so5621935wrv.4 for ; Thu, 14 Nov 2019 01:33:27 -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=EOgfq2BPgwHks2knL2d8OExj9QUX1YIgf8uJJjgKXdc=; b=vRQFT89wvdDqZwisq7/offwKGfwyWniNkpZIiDsHJfvxsQ1UbchI2DPpLn9lLAXRW/ IFrc0SFhH9crtlUVQhLmvt9pwQbGARfBxuPjyMCFsyQKVmQIn+LfT7RgqRPpVyeK9rtF qd57I3IWoRGBlNfRNbG/9Z8X8v92PEjp24F35zd1AkaTfxUox8SfhqQXG4wNe/J1CnlW d/D4bM8spOpZ6gr8QnbUFjSFlozkfKlw/Wqme6hPJmZnAlcoIE81dAOrd/h4QCzH7uIA IdwUdTA7XprwXhyt7iuIzaAS5mwmRduXhWLuh9V9i1siyK33wm8fQ2svQ9T0Bs+5OIMJ rI0Q== 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=EOgfq2BPgwHks2knL2d8OExj9QUX1YIgf8uJJjgKXdc=; b=WOb0ChASrD/zzprJ3GTsta8Cj9/BEf0o+5AEPUjMW8MJFelB0rBQlXCcjQEj9rhEli 8ypYZVAcJQVzBiqDfRM5Zaw1KN+bRB91WEmgIGd59qvAmd3eB04V6coYRsXf0qSZahnS 2bE2B67cqzwwWpiYc9VjRqU1CyD32fQL4GhIu5f20WINGyl2swDgXciih94Bz0fAUY5C sqdxnqVrFx6WhWU6H4OG3S5u7zBjE/pWp1uWzm9tQf7ntcuf66Wme3BJHTLzg/YuQFgV 5P9iVQxWmc9fvgZHYqveMH2Sk2WM+46V2TlIh6xHZJWgw9jAfY7heR8q4Qz2ptKlVKCN sPrQ== X-Gm-Message-State: APjAAAVDKYKF2bBiZb4h43g/w5rN/1HiAXsXyhww1jVyBS5C0M9jE96+ jDI1OZrb8Clxb8wqiVMsxp4Kaw== X-Received: by 2002:adf:e4c5:: with SMTP id v5mr4194906wrm.106.1573724007087; Thu, 14 Nov 2019 01:33:27 -0800 (PST) Received: from localhost.localdomain (hipert-gw1.mat.unimo.it. [155.185.5.1]) by smtp.gmail.com with ESMTPSA id j22sm7523409wrd.41.2019.11.14.01.33.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Nov 2019 01:33:26 -0800 (PST) From: Paolo Valente To: Jens Axboe Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, ulf.hansson@linaro.org, linus.walleij@linaro.org, bfq-iosched@googlegroups.com, oleksandr@natalenko.name, tschubert@bafh.org, patdung100@gmail.com, cevich@redhat.com, Paolo Valente Subject: [PATCH BUGFIX V2 0/1] block, bfq: deschedule empty bfq_queues not referred by any process Date: Thu, 14 Nov 2019 10:33:10 +0100 Message-Id: <20191114093311.47877-1-paolo.valente@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jens, change from V1: added check to correctly work only on bfq-queues scheduled for service, and not on in-service bfq-queues (it makes no sense, and it creates inconsistencies, to deschedule an in-service bfq-queue). Differently from V1, which was still under test when I submitted it, this version has already been tested, by those who reported V1's failures. Thanks, Paolo Paolo Valente (1): block, bfq: deschedule empty bfq_queues not referred by any process block/bfq-iosched.c | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) -- 2.20.1