From: David S. Miller Date: Thu, 14 Feb 2013 20:57:38 +0000 (-0500) Subject: net: Don't write to current task flags on every packet received. X-Git-Tag: v3.9-rc1~139^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9754e293491e3a4e6c1ac020d25140b1ed3d9cd2;p=pandora-kernel.git net: Don't write to current task flags on every packet received. Even for non-pfmalloc SKBs, __netif_receive_skb() will do a tsk_restore_flags() on current unconditionally. Make __netif_receive_skb() a shim around the existing code, renamed to __netif_receive_skb_core(). Let __netif_receive_skb() wrap the __netif_receive_skb_core() call with the task flag modifications, if necessary. Signed-off-by: David S. Miller --- Reading git-diff-tree failed