public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: do not reserve brk for DMI if it's not going to be used
@ 2010-02-09 23:38 Thadeu Lima de Souza Cascardo
  2010-02-17 19:52 ` [tip:x86/mm] x86: Do " tip-bot for Thadeu Lima de Souza Cascardo
  2010-02-25 10:10 ` tip-bot for Thadeu Lima de Souza Cascardo
  0 siblings, 2 replies; 3+ messages in thread
From: Thadeu Lima de Souza Cascardo @ 2010-02-09 23:38 UTC (permalink / raw)
  To: linux-kernel
  Cc: Thadeu Lima de Souza Cascardo, Thomas Gleixner, Ingo Molnar,
	H. Peter Anvin, x86, Yinghai Lu, Jeremy Fitzhardinge

This will save 65536 bytes from memory when loading linux, which is good
for embedded systems.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
---
 arch/x86/kernel/setup.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 3499b4f..cb42109 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -121,7 +121,9 @@
 unsigned long max_low_pfn_mapped;
 unsigned long max_pfn_mapped;
 
+#ifdef CONFIG_DMI
 RESERVE_BRK(dmi_alloc, 65536);
+#endif
 
 unsigned int boot_cpu_id __read_mostly;
 
-- 
1.6.6.1


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

* [tip:x86/mm] x86: Do not reserve brk for DMI if it's not going to be used
  2010-02-09 23:38 [PATCH] x86: do not reserve brk for DMI if it's not going to be used Thadeu Lima de Souza Cascardo
@ 2010-02-17 19:52 ` tip-bot for Thadeu Lima de Souza Cascardo
  2010-02-25 10:10 ` tip-bot for Thadeu Lima de Souza Cascardo
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Thadeu Lima de Souza Cascardo @ 2010-02-17 19:52 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, cascardo, tglx

Commit-ID:  3b24826c2055bd400b321ed53f82e240b40dceb1
Gitweb:     http://git.kernel.org/tip/3b24826c2055bd400b321ed53f82e240b40dceb1
Author:     Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
AuthorDate: Tue, 9 Feb 2010 21:38:45 -0200
Committer:  H. Peter Anvin <hpa@zytor.com>
CommitDate: Wed, 17 Feb 2010 10:11:24 -0800

x86: Do not reserve brk for DMI if it's not going to be used

This will save 64K bytes from memory when loading linux if DMI is
disabled, which is good for embedded systems.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
LKML-Reference: <1265758732-19320-1-git-send-email-cascardo@holoscopio.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
---
 arch/x86/kernel/setup.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 3499b4f..cb42109 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -121,7 +121,9 @@
 unsigned long max_low_pfn_mapped;
 unsigned long max_pfn_mapped;
 
+#ifdef CONFIG_DMI
 RESERVE_BRK(dmi_alloc, 65536);
+#endif
 
 unsigned int boot_cpu_id __read_mostly;
 

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

* [tip:x86/mm] x86: Do not reserve brk for DMI if it's not going to be used
  2010-02-09 23:38 [PATCH] x86: do not reserve brk for DMI if it's not going to be used Thadeu Lima de Souza Cascardo
  2010-02-17 19:52 ` [tip:x86/mm] x86: Do " tip-bot for Thadeu Lima de Souza Cascardo
@ 2010-02-25 10:10 ` tip-bot for Thadeu Lima de Souza Cascardo
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Thadeu Lima de Souza Cascardo @ 2010-02-25 10:10 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, cascardo, tglx

Commit-ID:  e808bae2407a087bfd40200a27587898e5a9909d
Gitweb:     http://git.kernel.org/tip/e808bae2407a087bfd40200a27587898e5a9909d
Author:     Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
AuthorDate: Tue, 9 Feb 2010 21:38:45 -0200
Committer:  Ingo Molnar <mingo@elte.hu>
CommitDate: Thu, 25 Feb 2010 10:28:18 +0100

x86: Do not reserve brk for DMI if it's not going to be used

This will save 64K bytes from memory when loading linux if DMI is
disabled, which is good for embedded systems.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
LKML-Reference: <1265758732-19320-1-git-send-email-cascardo@holoscopio.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
---
 arch/x86/kernel/setup.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 3499b4f..cb42109 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -121,7 +121,9 @@
 unsigned long max_low_pfn_mapped;
 unsigned long max_pfn_mapped;
 
+#ifdef CONFIG_DMI
 RESERVE_BRK(dmi_alloc, 65536);
+#endif
 
 unsigned int boot_cpu_id __read_mostly;
 

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

end of thread, other threads:[~2010-02-25 10:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-09 23:38 [PATCH] x86: do not reserve brk for DMI if it's not going to be used Thadeu Lima de Souza Cascardo
2010-02-17 19:52 ` [tip:x86/mm] x86: Do " tip-bot for Thadeu Lima de Souza Cascardo
2010-02-25 10:10 ` tip-bot for Thadeu Lima de Souza Cascardo

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