aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/Kconfig.preempt4
-rw-r--r--kernel/module.c10
-rw-r--r--kernel/relay.c2
-rw-r--r--kernel/sys.c2
-rw-r--r--kernel/wait.c2
5 files changed, 10 insertions, 10 deletions
diff --git a/kernel/Kconfig.preempt b/kernel/Kconfig.preempt
index 0b46a5dff4c0..c64ce9c14207 100644
--- a/kernel/Kconfig.preempt
+++ b/kernel/Kconfig.preempt
@@ -23,7 +23,7 @@ config PREEMPT_VOLUNTARY
23 "explicit preemption points" to the kernel code. These new 23 "explicit preemption points" to the kernel code. These new
24 preemption points have been selected to reduce the maximum 24 preemption points have been selected to reduce the maximum
25 latency of rescheduling, providing faster application reactions, 25 latency of rescheduling, providing faster application reactions,
26 at the cost of slighly lower throughput. 26 at the cost of slightly lower throughput.
27 27
28 This allows reaction to interactive events by allowing a 28 This allows reaction to interactive events by allowing a
29 low priority process to voluntarily preempt itself even if it 29 low priority process to voluntarily preempt itself even if it
@@ -43,7 +43,7 @@ config PREEMPT
43 even if it is in kernel mode executing a system call and would 43 even if it is in kernel mode executing a system call and would
44 otherwise not be about to reach a natural preemption point. 44 otherwise not be about to reach a natural preemption point.
45 This allows applications to run more 'smoothly' even when the 45 This allows applications to run more 'smoothly' even when the
46 system is under load, at the cost of slighly lower throughput 46 system is under load, at the cost of slightly lower throughput
47 and a slight runtime overhead to kernel code. 47 and a slight runtime overhead to kernel code.
48 48
49 Select this if you are building a kernel for a desktop or 49 Select this if you are building a kernel for a desktop or
diff --git a/kernel/module.c b/kernel/module.c
index d36e45477fac..9bd93de01f4a 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -96,9 +96,9 @@ static inline void add_taint_module(struct module *mod, unsigned flag)
96 mod->taints |= flag; 96 mod->taints |= flag;
97} 97}
98 98
99/* A thread that wants to hold a reference to a module only while it 99/*
100 * is running can call ths to safely exit. 100 * A thread that wants to hold a reference to a module only while it
101 * nfsd and lockd use this. 101 * is running can call this to safely exit. nfsd and lockd use this.
102 */ 102 */
103void __module_put_and_exit(struct module *mod, long code) 103void __module_put_and_exit(struct module *mod, long code)
104{ 104{
@@ -1199,7 +1199,7 @@ static int __unlink_module(void *_mod)
1199 return 0; 1199 return 0;
1200} 1200}
1201 1201
1202/* Free a module, remove from lists, etc (must hold module mutex). */ 1202/* Free a module, remove from lists, etc (must hold module_mutex). */
1203static void free_module(struct module *mod) 1203static void free_module(struct module *mod)
1204{ 1204{
1205 /* Delete from various lists */ 1205 /* Delete from various lists */
@@ -1246,7 +1246,7 @@ EXPORT_SYMBOL_GPL(__symbol_get);
1246 1246
1247/* 1247/*
1248 * Ensure that an exported symbol [global namespace] does not already exist 1248 * Ensure that an exported symbol [global namespace] does not already exist
1249 * in the Kernel or in some other modules exported symbol table. 1249 * in the kernel or in some other module's exported symbol table.
1250 */ 1250 */
1251static int verify_export_symbols(struct module *mod) 1251static int verify_export_symbols(struct module *mod)
1252{ 1252{
diff --git a/kernel/relay.c b/kernel/relay.c
index 61a504900eaa..4311101b0ca7 100644
--- a/kernel/relay.c
+++ b/kernel/relay.c
@@ -310,7 +310,7 @@ static struct rchan_callbacks default_channel_callbacks = {
310 310
311/** 311/**
312 * wakeup_readers - wake up readers waiting on a channel 312 * wakeup_readers - wake up readers waiting on a channel
313 * @data: contains the the channel buffer 313 * @data: contains the channel buffer
314 * 314 *
315 * This is the timer function used to defer reader waking. 315 * This is the timer function used to defer reader waking.
316 */ 316 */
diff --git a/kernel/sys.c b/kernel/sys.c
index d4985df21b60..cdb7e9457ba6 100644
--- a/kernel/sys.c
+++ b/kernel/sys.c
@@ -1352,7 +1352,7 @@ asmlinkage long sys_setfsuid(uid_t uid)
1352} 1352}
1353 1353
1354/* 1354/*
1355 * Samma på svenska.. 1355 * Samma pÃ¥ svenska..
1356 */ 1356 */
1357asmlinkage long sys_setfsgid(gid_t gid) 1357asmlinkage long sys_setfsgid(gid_t gid)
1358{ 1358{
diff --git a/kernel/wait.c b/kernel/wait.c
index 59a82f63275d..444ddbfaefc4 100644
--- a/kernel/wait.c
+++ b/kernel/wait.c
@@ -61,7 +61,7 @@ EXPORT_SYMBOL(remove_wait_queue);
61 * The spin_unlock() itself is semi-permeable and only protects 61 * The spin_unlock() itself is semi-permeable and only protects
62 * one way (it only protects stuff inside the critical region and 62 * one way (it only protects stuff inside the critical region and
63 * stops them from bleeding out - it would still allow subsequent 63 * stops them from bleeding out - it would still allow subsequent
64 * loads to move into the the critical region). 64 * loads to move into the critical region).
65 */ 65 */
66void fastcall 66void fastcall
67prepare_to_wait(wait_queue_head_t *q, wait_queue_t *wait, int state) 67prepare_to_wait(wait_queue_head_t *q, wait_queue_t *wait, int state)