From: Antonio Quartulli <antonio@meshcoding.com>
To: Zoran Markovic <zoran.markovic@linaro.org>, linux-kernel@vger.kernel.org
Cc: netdev@vger.kernel.org,
Shaibal Dutta <shaibal.dutta@broadcom.com>,
"David S. Miller" <davem@davemloft.net>,
Jiri Pirko <jiri@resnulli.us>,
YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>,
Eric Dumazet <edumazet@google.com>, Julian Anastasov <ja@ssi.bg>,
Flavio Leitner <fbl@redhat.com>,
Neil Horman <nhorman@tuxdriver.com>,
Patrick McHardy <kaber@trash.net>,
John Fastabend <john.r.fastabend@intel.com>,
Amerigo Wang <amwang@redhat.com>, Joe Perches <joe@perches.com>,
Jason Wang <jasowang@redhat.com>,
Simon Horman <horms@verge.net.au>,
Nikolay Aleksandrov <nikolay@redhat.com>
Subject: Re: [RFC PATCH] net: core: move core networking work to power efficient workqueue
Date: Fri, 31 Jan 2014 01:48:37 +0100 [thread overview]
Message-ID: <52EAF2E5.8090403@meshcoding.com> (raw)
In-Reply-To: <1391128402-10725-1-git-send-email-zoran.markovic@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 1417 bytes --]
On 31/01/14 01:33, Zoran Markovic wrote:
> From: Shaibal Dutta <shaibal.dutta@broadcom.com>
[...]
> - schedule_delayed_work(&linkwatch_work, delay);
> + queue_delayed_work(system_power_efficient_wq,
> + &linkwatch_work, delay);
before talking about technical details, here and in other spots of this
patch the alignment is wrong. I think checkpatch should have said
something about it. The first parameter on the new line should be
aligned up to the column after the opening parenthesis.
Regards,
> }
>
>
> diff --git a/net/core/netpoll.c b/net/core/netpoll.c
> index c03f3de..2c8f839 100644
> --- a/net/core/netpoll.c
> +++ b/net/core/netpoll.c
> @@ -101,7 +101,8 @@ static void queue_process(struct work_struct *work)
> __netif_tx_unlock(txq);
> local_irq_restore(flags);
>
> - schedule_delayed_work(&npinfo->tx_work, HZ/10);
> + queue_delayed_work(system_power_efficient_wq,
> + &npinfo->tx_work, HZ/10);
> return;
> }
> __netif_tx_unlock(txq);
> @@ -423,7 +424,8 @@ void netpoll_send_skb_on_dev(struct netpoll *np, struct sk_buff *skb,
>
> if (status != NETDEV_TX_OK) {
> skb_queue_tail(&npinfo->txq, skb);
> - schedule_delayed_work(&npinfo->tx_work,0);
> + queue_delayed_work(system_power_efficient_wq,
> + &npinfo->tx_work, 0);
> }
> }
> EXPORT_SYMBOL(netpoll_send_skb_on_dev);
>
--
Antonio Quartulli
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2014-01-31 0:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-31 0:33 [RFC PATCH] net: core: move core networking work to power efficient workqueue Zoran Markovic
2014-01-31 0:48 ` Antonio Quartulli [this message]
2014-01-31 0:55 ` Joe Perches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52EAF2E5.8090403@meshcoding.com \
--to=antonio@meshcoding.com \
--cc=amwang@redhat.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=fbl@redhat.com \
--cc=horms@verge.net.au \
--cc=ja@ssi.bg \
--cc=jasowang@redhat.com \
--cc=jiri@resnulli.us \
--cc=joe@perches.com \
--cc=john.r.fastabend@intel.com \
--cc=kaber@trash.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nhorman@tuxdriver.com \
--cc=nikolay@redhat.com \
--cc=shaibal.dutta@broadcom.com \
--cc=yoshfuji@linux-ipv6.org \
--cc=zoran.markovic@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).