gru: improve GRU TLB dropin statistics
authorJack Steiner <steiner@sgi.com>
Wed, 16 Dec 2009 00:48:18 +0000 (16:48 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Dec 2009 15:20:17 +0000 (07:20 -0800)
commit5958ab88f721d312b531d17705fc3ed54102fa05
tree0fdd2a982c1fa0370d496a25f7b3ef70ccb96bde
parent2ce4d4c937ce4c14704f02ae60e2e07e3906c68a
gru: improve GRU TLB dropin statistics

Update the TLB dropin statistics kept for each GRU context.  Count TLB
dropins separate from the misses - some misses do not result in a TLB
dropin.  Some of the diagnostics need both counts.

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>
drivers/misc/sgi-gru/gru.h
drivers/misc/sgi-gru/grufault.c
drivers/misc/sgi-gru/grulib.h
drivers/misc/sgi-gru/grutables.h