lkml.org 
[lkml]   [1999]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] New: AMD K6 write allocate
    Date
    From

    [...]
    > Well, looks like I know where is the problem. You have 64 MB of RAM, and
    > shadow RAM is enabled in BIOS setup. So Linux kernel sees just 65528k of
    > memory (which is < 64Mb). When my patch tris to determine memory size in
    > Mb, it gets 63. Because write allocate is enabled for 64 != 63 Mb memory,
    > it tries to re-enable write allocate. Write allocate can be enabled only in
    > 4Mb chunks, so it can enable write allocate only for 60Mb of memory.
    >
    > I can fix this, but I have two options:
    >
    > (1) Do not re-enable write allocate if it's already enabled for memory
    > size >= memory, available for kernel (= now) - maybe with the warning
    >
    > (2) Try to determine physical memory size and re-enable write allocate if
    > and only if it's not enabled for this memory size - maybe with warning
    > about shadow memory.
    >
    > What to do?

    Is there anything wrong with enabling write-allocation for
    the entire memory range, including the missing 8k? The kernel
    won't write anything to the "missing" memory anyway.
    Looks like the bios does this already in some cases,
    so it doesn't seem too wrong.
    And it enables write allocation for the last 3MB.

    Helge Hafting


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

    \
     
     \ /
      Last update: 2005-03-22 13:49    [W:2.759 / U:0.492 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site