diff options
author | Jack Steiner <steiner@sgi.com> | 2009-04-02 19:59:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-02 22:05:05 -0400 |
commit | 438846043af39fef286f68b197d42bd75f49898e (patch) | |
tree | e73bd2e6cdbc2e2ca8a1daac2651f6efb5fc84fd /drivers/misc/sgi-gru/grufault.c | |
parent | fe5bb6b00c3a9374841d651e01694fe4190a677e (diff) |
sgi-gru: improvements to GRU debug messages & statistics
Improvements to GRU debug messages & statistics.
Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/sgi-gru/grufault.c')
-rw-r--r-- | drivers/misc/sgi-gru/grufault.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/misc/sgi-gru/grufault.c b/drivers/misc/sgi-gru/grufault.c index f85d27306789..61aa80a8411b 100644 --- a/drivers/misc/sgi-gru/grufault.c +++ b/drivers/misc/sgi-gru/grufault.c | |||
@@ -449,6 +449,7 @@ irqreturn_t gru_intr(int irq, void *dev_id) | |||
449 | up_read(>s->ts_mm->mmap_sem); | 449 | up_read(>s->ts_mm->mmap_sem); |
450 | } else { | 450 | } else { |
451 | tfh_user_polling_mode(tfh); | 451 | tfh_user_polling_mode(tfh); |
452 | STAT(intr_mm_lock_failed); | ||
452 | } | 453 | } |
453 | } | 454 | } |
454 | return IRQ_HANDLED; | 455 | return IRQ_HANDLED; |
@@ -508,8 +509,10 @@ int gru_handle_user_call_os(unsigned long cb) | |||
508 | * context. | 509 | * context. |
509 | */ | 510 | */ |
510 | if (gts->ts_tgid_owner == current->tgid && gts->ts_blade >= 0 && | 511 | if (gts->ts_tgid_owner == current->tgid && gts->ts_blade >= 0 && |
511 | gts->ts_blade != uv_numa_blade_id()) | 512 | gts->ts_blade != uv_numa_blade_id()) { |
513 | STAT(call_os_offnode_reference); | ||
512 | gts->ts_force_unload = 1; | 514 | gts->ts_force_unload = 1; |
515 | } | ||
513 | 516 | ||
514 | ret = -EAGAIN; | 517 | ret = -EAGAIN; |
515 | cbrnum = thread_cbr_number(gts, ucbnum); | 518 | cbrnum = thread_cbr_number(gts, ucbnum); |