lkml.org 
[lkml]   [2009]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] net: Adjust softirq raising in __napi_schedule
    From
    Date
    On Fri, 2009-10-23 at 16:39 +0200, Tilman Schmidt wrote:

    > Strange. Then what are the two separate functions netif_rx() and
    > netif_rx_ni() for?

    netif_rx_ni() disables preemption.

    > > This really should be obvious. You're fixing the warning at the source
    > > of the warning, rather than the source of the problem.
    >
    > Good idea. So please do tell us where the source of the problem is.

    You use netif_rx_ni() instead of netif_rx() at whatever place that
    causes this problem.

    johannes
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2009-10-23 16:49    [W:0.020 / U:0.456 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site