Annotation of wikisrc/projects/project/mlockin.mdwn, revision 1.1

1.1     ! dholland    1: [[!template id=project
        !             2: 
        !             3: title="Locking pages into memory, redux"
        !             4: 
        !             5: contact="""
        !             6: [tech-kern](mailto:tech-kern@NetBSD.org)
        !             7: """
        !             8: 
        !             9: category="kernel"
        !            10: difficulty="medium"
        !            11: duration="1-2 months"
        !            12: 
        !            13: description="""
        !            14: The mlock() system call locks pages in memory; however, it's meant for
        !            15: real-time applications that wish to avoid _pageins_.
        !            16: 
        !            17: There's a second class of applications that want to lock pages in
        !            18: memory: databases and anything else doing journaling, logging, or
        !            19: ordered writes of any sort want to lock pages in memory to avoid
        !            20: _pageouts_.
        !            21: That is, it should be possible to lock a (dirty) page in memory so
        !            22: that it does not get written out until after it's unlocked.
        !            23: 
        !            24: It is a bad idea to try to make mlock() serve this purpose as well as
        !            25: the purpose it already serves, so add a new call, perhaps mlockin(),
        !            26: and implement support in UVM.
        !            27: 
        !            28: Then for extra credit ram it through POSIX and make Linux implement it :-)
        !            29: """
        !            30: ]]

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb