Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/833403/?format=api
{ "id": 833403, "url": "http://patchwork.ozlabs.org/api/1.2/patches/833403/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/patch/1509635767-12253-1-git-send-email-vincent.guittot@linaro.org/", "project": { "id": 26, "url": "http://patchwork.ozlabs.org/api/1.2/projects/26/?format=api", "name": "Netfilter Development", "link_name": "netfilter-devel", "list_id": "netfilter-devel.vger.kernel.org", "list_email": "netfilter-devel@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1509635767-12253-1-git-send-email-vincent.guittot@linaro.org>", "list_archive_url": null, "date": "2017-11-02T15:16:07", "name": "netfilter: conntrack: use power efficient workqueue", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "5e33c3cef4569429e1f06e6c2d60d6606677d568", "submitter": { "id": 22608, "url": "http://patchwork.ozlabs.org/api/1.2/people/22608/?format=api", "name": "Vincent Guittot", "email": "vincent.guittot@linaro.org" }, "delegate": { "id": 6139, "url": "http://patchwork.ozlabs.org/api/1.2/users/6139/?format=api", "username": "pablo", "first_name": "Pablo", "last_name": "Neira", "email": "pablo@netfilter.org" }, "mbox": "http://patchwork.ozlabs.org/project/netfilter-devel/patch/1509635767-12253-1-git-send-email-vincent.guittot@linaro.org/mbox/", "series": [ { "id": 11530, "url": "http://patchwork.ozlabs.org/api/1.2/series/11530/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/list/?series=11530", "date": "2017-11-02T15:16:07", "name": "netfilter: conntrack: use power efficient workqueue", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/11530/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/833403/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/833403/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<netfilter-devel-owner@vger.kernel.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netfilter-devel-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"PkJBh1Xw\"; dkim-atps=neutral" ], "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3ySTH63YWhz9sNc\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 3 Nov 2017 02:17:54 +1100 (AEDT)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S933642AbdKBPRx (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tThu, 2 Nov 2017 11:17:53 -0400", "from mail-wm0-f68.google.com ([74.125.82.68]:51572 \"EHLO\n\tmail-wm0-f68.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S933418AbdKBPRw (ORCPT\n\t<rfc822;netfilter-devel@vger.kernel.org>);\n\tThu, 2 Nov 2017 11:17:52 -0400", "by mail-wm0-f68.google.com with SMTP id b9so12206531wmh.0\n\tfor <netfilter-devel@vger.kernel.org>;\n\tThu, 02 Nov 2017 08:17:52 -0700 (PDT)", "from localhost.localdomain ([2a01:e0a:f:6020:5874:1fff:87d1:2306])\n\tby smtp.gmail.com with ESMTPSA id\n\to7sm3359225wrf.31.2017.11.02.08.17.50\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tThu, 02 Nov 2017 08:17:50 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=from:to:cc:subject:date:message-id;\n\tbh=tDcNSiSPs/5nn7E/t1ykyi2b7fU2NWVArSwVJQZ1nJE=;\n\tb=PkJBh1XwTcqQmNUbMN2R7Q/bHQG1082DPZQ7g4/jBlHKNhHXms2SXP5pz3HE1KKMau\n\tEUCqr8vtvMQopH/5igziRguc5Y7gzKmEi7qYVSSML3xDv2ZOFCO2nAxg4TgExeIEGq2n\n\tvLzwOYbiSW1rd6M7Yzuo5nmqRUIgHcP9jYPKM=", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=tDcNSiSPs/5nn7E/t1ykyi2b7fU2NWVArSwVJQZ1nJE=;\n\tb=ud9aoULLRgsk2b1NOvLRQp+oqpqXoG+EshUJHqVAX4sLpWh3/webAu6VoUYu42cWN8\n\tCJFVq4gnRIXBLd/KcBYXmDx8Q0kY+kyJtWSYWCWuFrtpLXm0PUqVQUolHAuZ/OcJTI4g\n\tryXic9InFYzykZ77EYQPceTYZxN+89bCJDly4vdvS4j2PBVy0MEBwYOfsGiqOLxZYcq2\n\tb//c6aAbx57jT352aQKAxn0jp8nvx+8BjXKYxJ0tZaV44TvHlYYbKefeqgSlmnNLhCm9\n\t9jACOydC8uu4gVazAbTbeNLM56N/QVRVe3zQIPk304Y3gTWtpkZw1V/P8WalNbznZpTP\n\txieg==", "X-Gm-Message-State": "AJaThX7Oa7osXLVV/igzTTquSIB8VAVNY4fPfpXCpYYB8bYIh9h53V7N\n\tSy6zLKUfwLVqY8aV4W+Qiv9FInUHv0g=", "X-Google-Smtp-Source": "ABhQp+RcPn2QDexOZOmASMJbqbEH4D+5VVu5zVKj9uOnmNWWBpCO5Jwh9G1O7yYV41C2rNVqAxamoA==", "X-Received": "by 10.28.6.6 with SMTP id 6mr2064677wmg.114.1509635871326;\n\tThu, 02 Nov 2017 08:17:51 -0700 (PDT)", "From": "Vincent Guittot <vincent.guittot@linaro.org>", "To": "netfilter-devel@vger.kernel.org, pablo@netfilter.org,\n\tkadlec@blackhole.kfki.hu, fw@strlen.de", "Cc": "Vincent Guittot <vincent.guittot@linaro.org>", "Subject": "[PATCH] netfilter: conntrack: use power efficient workqueue", "Date": "Thu, 2 Nov 2017 16:16:07 +0100", "Message-Id": "<1509635767-12253-1-git-send-email-vincent.guittot@linaro.org>", "X-Mailer": "git-send-email 2.7.4", "Sender": "netfilter-devel-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netfilter-devel.vger.kernel.org>", "X-Mailing-List": "netfilter-devel@vger.kernel.org" }, "content": "conntrack uses the bounded system_long_wq workqueue for its works that\ndon't have to run on the cpu they have been queued.\nUsing bounded workqueue prevents the scheduler to make smart decision about\nthe best place to schedule the work.\n\nThis patch replaces system_long_wq with system_power_efficient_wq. the work\nstays bounded to a cpu by default unless the CONFIG_WQ_POWER_EFFICIENT is\nenable. In the latter case, the work can be scheduled on the best cpu from\na power or a performance point of view.\n\nSigned-off-by: Vincent Guittot <vincent.guittot@linaro.org>\n---\n net/netfilter/nf_conntrack_core.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/net/netfilter/nf_conntrack_core.c b/net/netfilter/nf_conntrack_core.c\nindex 0113039..ae7d3e4 100644\n--- a/net/netfilter/nf_conntrack_core.c\n+++ b/net/netfilter/nf_conntrack_core.c\n@@ -1083,7 +1083,7 @@ static void gc_worker(struct work_struct *work)\n \tnext_run = gc_work->next_gc_run;\n \tgc_work->last_bucket = i;\n \tgc_work->early_drop = false;\n-\tqueue_delayed_work(system_long_wq, &gc_work->dwork, next_run);\n+\tqueue_delayed_work(system_power_efficient_wq, &gc_work->dwork, next_run);\n }\n \n static void conntrack_gc_work_init(struct conntrack_gc_work *gc_work)\n@@ -2084,7 +2084,7 @@ int nf_conntrack_init_start(void)\n \t\tgoto err_proto;\n \n \tconntrack_gc_work_init(&conntrack_gc_work);\n-\tqueue_delayed_work(system_long_wq, &conntrack_gc_work.dwork, HZ);\n+\tqueue_delayed_work(system_power_efficient_wq, &conntrack_gc_work.dwork, HZ);\n \n \treturn 0;\n \n", "prefixes": [] }