| To: | Thomas Graf <tgraf@xxxxxxx> |
|---|---|
| Subject: | Re: [RFC] Yield in netlink_broadcast when congested |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Sun, 17 Oct 2004 17:39:57 +1000 |
| Cc: | Pablo Neira <pablo@xxxxxxxxxxx>, hadi@xxxxxxxxxx, "David S. Miller" <davem@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx |
| In-reply-to: | <20041016235137.GE19714@rei.reeler.org> |
| References: | <20041016113006.GA12843@gondor.apana.org.au> <20041016235137.GE19714@rei.reeler.org> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040722i |
On Sun, Oct 17, 2004 at 01:51:37AM +0200, Thomas Graf wrote: > > So here is my proposal: if we detect signs of impending congestion > > in netlink_broadcast(), and that we're in a sleepable context, then > > we yield(). > > Up to how many receivers does that work? We would still see the > effect if too many receivers are registered, right? Assuming the scheduler is fair then every listener should get their time slice to receive the messages. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: r8169: page allocation failure, Jan Killius |
|---|---|
| Next by Date: | Re: r8169: page allocation failure, Herbert Xu |
| Previous by Thread: | Re: [RFC] Yield in netlink_broadcast when congested, Thomas Graf |
| Next by Thread: | Re: [RFC] Yield in netlink_broadcast when congested, Thomas Graf |
| Indexes: | [Date] [Thread] [Top] [All Lists] |