lkml.org 
[lkml]   [2000]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: is there a limit on bss size?
It is not so difficult as it looks.
The master pgd looking as:

.org 0x1000
ENTRY(swapper_pg_dir)
.long 0x00102007
.long 0x00103007
.fill BOOT_USER_PGD_PTRS-2,4,0
/* default: 766 entries */
.long 0x00102007
.long 0x00103007
/* default: 254 entries */
.fill BOOT_KERNEL_PGD_PTRS-2,4,0


should become:


.org 0x1000
ENTRY(swapper_pg_dir)
.long 0x00102007
.long 0x00103007
.... # every entry addresses 4 MB exactly
.... # so add as much as you want
.long 0x0010X007
.fill BOOT_USER_PGD_PTRS-X+2,4,0
/* default: 766-X entries */
.long 0x00102007
.long 0x00103007
.... # every entry addresses 4 MB exactly
.... # so add as much as you want
/* default: 254-X entries */
.fill BOOT_KERNEL_PGD_PTRS-X+2,4,0


empty_zero_page, empty_bad_page, etc... offsets should be also
appropriately changed and the corresponding code in mm init as
well.


But i honestly don't see the point of all that.


best,
Petkan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.054 / U:2.524 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site