]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: Add process name to WARN message when detecting Mutex contention
authorDavid Graham <david.graham@intel.com>
Thu, 8 Jan 2009 16:03:29 +0000 (16:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Jan 2009 08:04:11 +0000 (00:04 -0800)
commit959dfc80d2a421c78ccd5c0e4500eeb3e6115192
treedf1a8bb0e9a3cfc0a27a9f000c8086df5fa85c14
parent68e6b2ad752db45d2c59453eaaaea9296fb06103
e1000e: Add process name to WARN message when detecting Mutex contention

Adds process name of the current mutex holder to the WARN message output
when the e1000e driver attempts to acquire the nvm_mutex and finds that
it is already being held. With this patch the WARN message indicates
both the process name of the current mutex holder and the process name of
the attempted acquisition, which together will help to identify the
contending codepaths.

Signed-off-by: David Graham <david.graham@intel.com>
Acked-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/ich8lan.c