> Here are some notes that I have been providing based on my own
> situiation which is very similar if not exactly the same as yours.
> This is working for me. Also note that if you specify in lilo.conf
> append = "mem = 124m" that the operating system will not recognize the
> 4 meg of shared memory. It has to do with the fact that the page size
> is 4 megs. I also noticed that I used a capital M in my lilo.conf I
> do not know if this would make a difference.
>
Hi richard,
I have been using mem=124m for a while now.. and havent run into any
problems (Or have I been lucky??). (Oh the M or m wont make a diff read
source:) )
I just checked through the memory init, and I couldnt find anything there
that seemed to suggest i would run into trouble by making my shared memory
area as 4MB. Could you give me some more details on what the problem is ?
Specifically I was looking at arch/i386/mm/init.c
unsigned long paging_init(unsigned long start_mem, unsigned long end_mem)
{
---SNIP---
#endif
start_mem = PAGE_ALIGN(start_mem);
address = 0;
pg_dir = swapper_pg_dir;
while (address < end_mem) {
#ifdef USE_PENTIUM_MM
/*
* This will create page tables that
* span up to the next 4MB virtual
* memory boundary, but that's ok,
* we won't use that memory anyway.
*/
--------SNIP-----------
The above line seems to suggest, that the algorithm will map the 4MB, but
wont use it actually.
I tried to make sense of the code after that, but i am not very sure of
whether i am interpretting the working correctly.
The if (address < end_mem) might be the thing that ensures that the page
table entry isnt used/ isnt mapped?
for (tmp = 0 ; tmp < PTRS_PER_PTE ; tmp++,pg_table++) {
if (address < end_mem)
set_pte(pg_table, mk_pte(address,PAGE_SHARED));
else
pte_clear(pg_table);
address += PAGE_SIZE;
}
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/