> If these functions register callbacks, we can do away with a fair amount
> of crufty switch code as well.
Oh yeah. The networking code has a lot of this, where dispatch
functions have switches with 40 codes in them just to pass them down to
the next layer. Probably none of this is fast-path code so it's more
an esthetic thing.
Michael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/