Lines Matching full:kernel
5 * KERNEL SERVICES THAT USE THE GRU
10 #include <linux/kernel.h>
32 * Kernel GRU Usage
34 * The following is an interim algorithm for management of kernel GRU
36 * kernel/user requirements.
38 * Blade percpu resources reserved for kernel use. These resources are
39 * reserved whenever the kernel context for the blade is loaded. Note
40 * that the kernel context is not guaranteed to be always available. It is
42 * kernel demand. The kernel can always reload the kernel context but
47 * Each blade has one "kernel context" that owns GRU kernel resources
48 * located on the blade. Kernel drivers use GRU resources in this context
51 * The kernel context is dynamically loaded on demand. If it is not in
52 * use by the kernel, the kernel context can be unloaded & given to a user.
53 * The kernel context will be reloaded when needed. This may require that
55 * NOTE: frequent unloading/reloading of the kernel context is
60 * The kernel context consists of two parts:
66 * (Now that we have dynamic loading of kernel contexts, I
70 * by UV drivers located in the kernel. Drivers using these GRU
74 * - locked resources prevent (obviously) the kernel
105 /* Default retry count for GRU errors on kernel instructions */
137 * Reload the blade's kernel context into a GRU chiplet. Called holding
184 * Free all kernel contexts that are not currently in use.
214 * Lock & load the kernel context for the specified blade.
239 * Unlock the kernel context for the specified blade. Context is not
944 /* ------------------- KERNEL QUICKTESTS RUN AT STARTUP ----------------*/
1119 * Debugging only. User hook for various kernel tests