commit | 364b76df80f62cee1b66e871df2f69db6e3d3d9e | [log] [tgz] |
---|---|---|
author | Jack Steiner <steiner@sgi.com> | Wed Jun 17 16:28:20 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jun 18 13:03:59 2009 -0700 |
tree | 7289e8489a7b4d5441a867be44ad152088517450 | |
parent | 9cc9b056ea51608788609d7e26c7db55ef81bb2e [diff] |
gru: dynamic allocation of kernel contexts Change the interface to gru_alloc_gts() so that it can be used to allocate GRU contexts for kernel threads. Kernel threads do not have vdata structures for the GRU contexts. The GRU resource count are now passed explicitly instead of inside the vdata structure. 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>