]> git.baikalelectronics.ru Git - kernel.git/commit
gru: add user request to explicitly unload a gru context
authorJack Steiner <steiner@sgi.com>
Wed, 17 Jun 2009 23:28:28 +0000 (16:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Jun 2009 20:04:03 +0000 (13:04 -0700)
commitafde54f4b43445aff3cc1ed088f4650299ae3260
treeb0220c628cc2606b77fd39c38144c83396b83ca9
parentd75f41bcccbf6393ad8d2f0201e4048899123f23
gru: add user request to explicitly unload a gru context

Add user function to explicitly unload GRU kernel contexts from the GRU.
Only contexts that are not in-use will be unloaded.

This function is primarily for testing.  It is not expected that this will
be used in normal production systems.

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