public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] mm/{mmap,nommu}.c: several unexports
@ 2005-03-06 14:43 Adrian Bunk
  2005-03-06 22:47 ` Christoph Hellwig
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2005-03-06 14:43 UTC (permalink / raw)
  To: linux-kernel

I didn't find any possible modular usage in the kernel.

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

---

 mm/mmap.c  |    4 ----
 mm/nommu.c |    4 ----
 2 files changed, 8 deletions(-)

--- linux-2.6.11-mm1-full/mm/mmap.c.old	2005-03-04 15:52:50.000000000 +0100
+++ linux-2.6.11-mm1-full/mm/mmap.c	2005-03-04 15:54:57.000000000 +0100
@@ -147,10 +147,6 @@
 	return -ENOMEM;
 }
 
-EXPORT_SYMBOL(sysctl_overcommit_memory);
-EXPORT_SYMBOL(sysctl_overcommit_ratio);
-EXPORT_SYMBOL(sysctl_max_map_count);
-EXPORT_SYMBOL(vm_committed_space);
 EXPORT_SYMBOL(__vm_enough_memory);
 
 /*
--- linux-2.6.11-mm1-full/mm/nommu.c.old	2005-03-04 15:53:11.000000000 +0100
+++ linux-2.6.11-mm1-full/mm/nommu.c	2005-03-04 15:56:16.000000000 +0100
@@ -44,10 +44,6 @@
 int heap_stack_gap = 0;
 
 EXPORT_SYMBOL(mem_map);
-EXPORT_SYMBOL(sysctl_max_map_count);
-EXPORT_SYMBOL(sysctl_overcommit_memory);
-EXPORT_SYMBOL(sysctl_overcommit_ratio);
-EXPORT_SYMBOL(vm_committed_space);
 EXPORT_SYMBOL(__vm_enough_memory);
 
 /* list of shareable VMAs */


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

* Re: [2.6 patch] mm/{mmap,nommu}.c: several unexports
  2005-03-06 14:43 [2.6 patch] mm/{mmap,nommu}.c: several unexports Adrian Bunk
@ 2005-03-06 22:47 ` Christoph Hellwig
  0 siblings, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2005-03-06 22:47 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-kernel

On Sun, Mar 06, 2005 at 03:43:19PM +0100, Adrian Bunk wrote:
> I didn't find any possible modular usage in the kernel.
> 
>

These were there because we had core MM dunctionality duplicated in
every security module.  They definitly shouldn't be exported.


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

* [2.6 patch] mm/{mmap,nommu}.c: several unexports
@ 2005-03-24  3:09 Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2005-03-24  3:09 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, Christoph Hellwig

I didn't find any possible modular usage in the kernel.

This patch was already ACK'ed by Christoph Hellwig.

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

---

This patch was already sent on:
- 6 Mar 2005

 mm/mmap.c  |    4 ----
 mm/nommu.c |    4 ----
 2 files changed, 8 deletions(-)

--- linux-2.6.11-mm1-full/mm/mmap.c.old	2005-03-04 15:52:50.000000000 +0100
+++ linux-2.6.11-mm1-full/mm/mmap.c	2005-03-04 15:54:57.000000000 +0100
@@ -147,10 +147,6 @@
 	return -ENOMEM;
 }
 
-EXPORT_SYMBOL(sysctl_overcommit_memory);
-EXPORT_SYMBOL(sysctl_overcommit_ratio);
-EXPORT_SYMBOL(sysctl_max_map_count);
-EXPORT_SYMBOL(vm_committed_space);
 EXPORT_SYMBOL(__vm_enough_memory);
 
 /*
--- linux-2.6.11-mm1-full/mm/nommu.c.old	2005-03-04 15:53:11.000000000 +0100
+++ linux-2.6.11-mm1-full/mm/nommu.c	2005-03-04 15:56:16.000000000 +0100
@@ -44,10 +44,6 @@
 int heap_stack_gap = 0;
 
 EXPORT_SYMBOL(mem_map);
-EXPORT_SYMBOL(sysctl_max_map_count);
-EXPORT_SYMBOL(sysctl_overcommit_memory);
-EXPORT_SYMBOL(sysctl_overcommit_ratio);
-EXPORT_SYMBOL(vm_committed_space);
 EXPORT_SYMBOL(__vm_enough_memory);
 
 /* list of shareable VMAs */


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

end of thread, other threads:[~2005-03-24  3:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-06 14:43 [2.6 patch] mm/{mmap,nommu}.c: several unexports Adrian Bunk
2005-03-06 22:47 ` Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2005-03-24  3:09 Adrian Bunk

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