netdev
[Top] [All Lists]

[PATCH][2.5] net/core/dev.c readability cleanups

To: ak@xxxxxx, "David S. Miller" <davem@xxxxxxxxxx>, kuznet@xxxxxxxxxxxxx
Subject: [PATCH][2.5] net/core/dev.c readability cleanups
From: "Thomas 'Dent' Mirlacher" <dent@xxxxxxxxxxxxxx>
Date: Sun, 9 Jun 2002 18:16:18 +0200 (MET DST)
Cc: netdev@xxxxxxxxxxx
Sender: owner-netdev@xxxxxxxxxxx
hi,

the following patch does:
        o improve readability (by adding _deliver_to_proto, which encapsulates
                the call for deliver_to_old ones)
        o clean up types for cpu (cpu should be unsigned int)
        o nicer use of smp_processor_id() (just call it once, at the beginning
                of a function)
        o add functions (_queue_unthrottle, _queue_throttle)
        o changes the "optimized" version of netif_rx back to the
                "nomalized" version. (the "normalized" is readable at the
                first glimpse, plus gcc3 (didn't check it with 2.9*), 
                produces the optimized output anyways)  

please apply,

        tm

-- 
in some way i do, and in some way i don't.

Attachment: net_dev.patch
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>