]> git.baikalelectronics.ru Git - kernel.git/commit
mac802154: rx: use tasklet instead workqueue
authorAlexander Aring <alex.aring@gmail.com>
Mon, 27 Oct 2014 16:13:30 +0000 (17:13 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 27 Oct 2014 17:07:40 +0000 (18:07 +0100)
commit95c7bd3bf76191f5317f3de4027375f1305b9947
treec57352e1df69afab550d8df129a0bee16b3455a7
parente1a695a2922bf9871e2fbefeda34a4f9c56b6ac3
mac802154: rx: use tasklet instead workqueue

Tasklets have much less overhead than workqueues. This patch also
removes the heap allocation for the worker on receiving path.
Like mac80211 we should prefer use a tasklet here instead a workqueue to
getting fast out of interrupt context when ieee802154_rx_irqsafe is
called by driver. Like wireless inside the tasklet context we should
call netif_receive_skb instead netif_rx_ni anymore.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/mac802154.h
net/mac802154/ieee802154_i.h
net/mac802154/iface.c
net/mac802154/main.c
net/mac802154/rx.c