Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 51665 Details for
Bug 82682
Patch to increase system memory to 1GB without enabling HIGHMEM
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to use 1GB Low Memory
1g_lowmem1_i386.diff (text/plain), 1.35 KB, created by
Pedro Castro
on 2005-02-20 07:05:20 UTC
(
hide
)
Description:
Patch to use 1GB Low Memory
Filename:
MIME Type:
Creator:
Pedro Castro
Created:
2005-02-20 07:05:20 UTC
Size:
1.35 KB
patch
obsolete
>Index: arch/i386/Kconfig >=================================================================== >@@ -730,6 +730,20 @@ config X86_PAE > depends on HIGHMEM64G > default y > >+config 1GLOWMEM >+ bool "1Gb Low Memory Support" >+ depends on NOHIGHMEM >+ default n >+ help >+ Linux on i386 architecture normally supports just 896Mb without >+ enabling HIGHMEM support. This option will enable you to support 1Gb >+ of ram without needing to enable HIGHMEM support. The advantage of >+ this is that you don't need the extra overhead of high memory support >+ to utilise the last 128Mb of ram. However this may break drivers such >+ as vmware. >+ >+ If unsure say "no" >+ > # Common NUMA Features > config NUMA > bool "Numa Memory Allocation and Scheduler Support" >Index: include/asm-i386/page.h >=================================================================== >@@ -120,12 +120,19 @@ extern int sysctl_legacy_va_layout; > > #endif /* __ASSEMBLY__ */ > >+#ifdef CONFIG_1GLOWMEM >+#ifdef __ASSEMBLY__ >+#define __PAGE_OFFSET (0xB0000000) >+#else >+#define __PAGE_OFFSET (0xB0000000UL) >+#endif /* __ASSEMBLY__ */ >+#else > #ifdef __ASSEMBLY__ > #define __PAGE_OFFSET (0xC0000000) > #else > #define __PAGE_OFFSET (0xC0000000UL) >-#endif >- >+#endif /* __ASSEMBLY__ */ >+#endif /* CONFIG_1GLOWMEM */ > > #define PAGE_OFFSET ((unsigned long)__PAGE_OFFSET) > #define VMALLOC_RESERVE ((unsigned long)__VMALLOC_RESERVE)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 82682
: 51665 |
51724