lkml.org 
[lkml]   [2004]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Some highmem pages still in use after shrink_all_memory()?
    Arjan van de Ven wrote:
    >>Note that there are some applications for which it is a *bug* if an
    >>mlocked page gets written out to magnetic media. (gpg, for example.)
    >>
    >
    > mlock() does not guarantee things not hitting magnetic media, just as
    > mlock() doesn't guarantee that the physical address of a page doesn't
    > change.

    The mlock() man page sure seems to hint that they do, by explicitly
    describing its use by high-security data processing as a way to keep the
    information from getting to disk. There also seem to be a lot of
    references on the web about using mlock() in secure programming.

    Something is not right...

    Chris

    --
    Chris Friesen | MailStop: 043/33/F10
    Nortel Networks | work: (613) 765-0557
    3500 Carling Avenue | fax: (613) 765-2986
    Nepean, ON K2H 8E9 Canada | email: cfriesen@nortelnetworks.com

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

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