lkml.org 
[lkml]   [1998]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Patch to Memory Subsystem ... (Needed?)
    Meelis Roos wrote:
    >
    > BS> Now set the no. of freepages to say, 1024 (4 Mb on Intel-platforms) and
    > BS> run 'eat' again as normal user. Watch the amount of free memory. It
    > BS> should drop down to ~ 4Mb - not below! You're then able to login as
    > BS> root and do your stuff ... ;o)
    >
    > What if during the change there was less free pages than 1024?
    > (Sorry, too lazy to check the code)
    >
    > --
    > Meelis Roos (mroos@tartu.cyber.ee)


    Then your *users* are in trouble - as I wrote later in the mail ;o)
    There's no check to see if 'rootpages' contains some strange or high
    value.
    But 'rootpages' doesn't affect UID 0 operations. Root *can* eat all
    memory if (s)he likes ...

    OTOH, rootpages is meant to be set during initialization of the system
    (like after /proc is mounted) ...........



    Kind regards,

    Brian

    -
    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:45    [W:2.492 / U:0.116 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site