[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F7EF9AC.8050305@zoho.com>
Date: Fri, 06 Apr 2012 07:11:56 -0700
From: Fredrick <fjohnber@...o.com>
To: netdev@...r.kernel.org
CC: eric.dumazet@...il.com
Subject: yield() in netlink_broadcast_filtered
I see there is a yield being called from
netlink_broadcast_filtered.
.....
int netlink_broadcast_filtered(...)
{
....
if (info.delivered) {
if (info.congested && (allocation & __GFP_WAIT))
yield();
return 0;
}
return -ESRCH;
}
.....
But I don't see the point of calling it.
After the yield, there is nothing being done.
It just returns. So why yield ?
Why can't it simply return?
-Fredrick
--
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