]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: bh locking redux and task scheduling.
authorFrancois Romieu <romieu@fr.zoreil.com>
Tue, 31 Jan 2012 09:47:34 +0000 (10:47 +0100)
committerFrancois Romieu <romieu@fr.zoreil.com>
Tue, 31 Jan 2012 13:32:40 +0000 (14:32 +0100)
commit26c58c3c0053ef7e63f751e4ce400e6b7dcafb39
tree520b59064cfb654b15d1491536112d41492f8fa1
parentf435c81c5fbf949818a563bbbf3fdf0434963acc
r8169: bh locking redux and task scheduling.

- atomic bit operations are globally visible
- pending status is always cleared before execution
- scheduled works are either idempotent or only required to happen once
  after a series of originating events, say link events for instance

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Suggested-by: Michał Mirosław <mirqus@gmail.com>
Cc: Hayes Wang <hayeswang@realtek.com>
drivers/net/ethernet/realtek/r8169.c