public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] kernel/fork.c: make mm_cachep static
@ 2004-12-12 19:23 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2004-12-12 19:23 UTC (permalink / raw)
  To: linux-kernel

The patch below makes the needlessly global mm_cachep static.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.10-rc2-mm4-full/kernel/fork.c.old	2004-12-12 02:50:56.000000000 +0100
+++ linux-2.6.10-rc2-mm4-full/kernel/fork.c	2004-12-12 03:35:55.000000000 +0100
@@ -1209,7 +1209,7 @@
 kmem_cache_t *vm_area_cachep;
 
 /* SLAB cache for mm_struct structures (tsk->mm) */
-kmem_cache_t *mm_cachep;
+static kmem_cache_t *mm_cachep;
 
 void __init proc_caches_init(void)
 {


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [2.6 patch] kernel/fork.c: make mm_cachep static
@ 2005-01-21 10:07 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-01-21 10:07 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

This patch makes the needlessly global mm_cachep static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 12 Dec 2004

--- linux-2.6.10-rc2-mm4-full/kernel/fork.c.old	2004-12-12 02:50:56.000000000 +0100
+++ linux-2.6.10-rc2-mm4-full/kernel/fork.c	2004-12-12 03:35:55.000000000 +0100
@@ -1209,7 +1209,7 @@
 kmem_cache_t *vm_area_cachep;
 
 /* SLAB cache for mm_struct structures (tsk->mm) */
-kmem_cache_t *mm_cachep;
+static kmem_cache_t *mm_cachep;
 
 void __init proc_caches_init(void)
 {


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-21 10:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-21 10:07 [2.6 patch] kernel/fork.c: make mm_cachep static Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2004-12-12 19:23 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox