[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140306.173449.1703210385202256497.davem@davemloft.net>
Date: Thu, 06 Mar 2014 17:34:49 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: amirv@...lanox.com
Cc: netdev@...r.kernel.org, yevgenyp@...lanox.com,
ogerlitz@...lanox.com, prarit@...hat.com, gvaradar@...co.com
Subject: Re: net: Utility function to get affinity_hint by policy
From: Amir Vadai <amirv@...lanox.com>
Date: Fri, 7 Mar 2014 00:24:43 +0200
> All these could be changed dynamically, and since there is no
> protection on this block of code, it is possible that local + non-local
> at point of time t1 will exceed num_online_cpus() at t2.
> Since this is very rare and the fix for that is very complicated, I
> decided not set affinity hint in this scenario, and only return an
> error code.
Ok, fair enough.
--
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