[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <519D5A36.6030000@candelatech.com>
Date: Wed, 22 May 2013 16:52:22 -0700
From: Ben Greear <greearb@...delatech.com>
To: Eric Dumazet <eric.dumazet@...il.com>
CC: netdev <netdev@...r.kernel.org>
Subject: Re: question on pktgen shutdown logic.
On 05/22/2013 04:35 PM, Eric Dumazet wrote:
> 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)
Ok, I think I understand now.
Thanks,
Ben
>
>
--
Ben Greear <greearb@...delatech.com>
Candela Technologies Inc http://www.candelatech.com
--
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