OSDN Git Service

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)
commiteefacf3b4f8a688aeaddd2f7c46ac5ffceb92472
treedf1a8bb0e9a3cfc0a27a9f000c8086df5fa85c14
parente56e356b21c285663712dc39aa9e4303072cbaba
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