diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2014-04-11 08:13:22 +0000 |
|---|---|---|
| committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2014-04-24 22:09:01 +0200 |
| commit | 35bdafb576c5c0a06815e7a681571c3ab950ff7e (patch) | |
| tree | 4dfc42fc1a7181c5bb49114a5ec1816d3278e38c /scripts/stackusage | |
| parent | can: c_can: Use proper u32 variables in c_can_write_msg_object() (diff) | |
| download | linux-35bdafb576c5c0a06815e7a681571c3ab950ff7e.tar.gz linux-35bdafb576c5c0a06815e7a681571c3ab950ff7e.zip | |
can: c_can: Remove tx locking
Mark suggested to use one IF for the softirq and the other for the
xmit function to avoid the xmit lock.
That requires to write the frame into the interface first, then handle
the echo skb and store the dlc before committing the TX request to the
message ram.
We use an atomic to handle the active buffers instead of reading the
MSGVAL register as thats way faster especially on PCH/x86.
Suggested-by: Mark <mark5@del-llc.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
