[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1369265749.3301.372.camel@edumazet-glaptop>
Date: Wed, 22 May 2013 16:35:49 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Ben Greear <greearb@...delatech.com>
Cc: netdev <netdev@...r.kernel.org>
Subject: Re: question on pktgen shutdown logic.
On Wed, 2013-05-22 at 16:28 -0700, Ben Greear wrote:
> Ahh, so it waits for the pktgen_thread_worker method to return?
>
> Why do we bother with the pktgen_exiting flag at all...it
> would seem that just checking kthread_should_stop() would
> do the trick?
If you have 4096 cpus, setting pktgen_exiting permits all pktgen exiting
faster.
Otherwise you wait about 400 seconds (4096 * HZ/10)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists