1 .\" Hey Emacs! This file is -*- nroff -*- source.
3 .\" Copyright (C) Markus Kuhn, 1996
5 .\" This is free documentation; you can redistribute it and/or
6 .\" modify it under the terms of the GNU General Public License as
7 .\" published by the Free Software Foundation; either version 2 of
8 .\" the License, or (at your option) any later version.
10 .\" The GNU General Public License's references to "object code"
11 .\" and "executables" are to be interpreted as the output of any
12 .\" document formatting or typesetting system, including
13 .\" intermediate and printed output.
15 .\" This manual is distributed in the hope that it will be useful,
16 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
17 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 .\" GNU General Public License for more details.
20 .\" You should have received a copy of the GNU General Public
21 .\" License along with this manual; if not, write to the Free
22 .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
25 .\" 1995-11-26 Markus Kuhn <mskuhn@cip.informatik.uni-erlangen.de>
26 .\" First version written
28 .\" Japanese Version Copyright (c) 1997 HANATAKA Shinya
29 .\" all rights reserved.
30 .\" Translated Sun Feb 23 19:48:34 JST 1997
31 .\" by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
33 .\"WORD: paging ¥Ú¡¼¥¸¥ó¥°
34 .\"WORD: process ¥×¥í¥»¥¹
36 .\"WORD: unlock ¥¢¥ó¥í¥Ã¥¯
38 .TH MUNLOCKALL 2 "1995-11-26" "Linux 1.3.43" "Linux Programmer's Manual"
40 munlockall \- ¸Æ¤Ó½Ð¤·¤¿¥×¥í¥»¥¹¤Î¥Ú¡¼¥¸¥ó¥°¤òºÆ³«¤¹¤ë
43 .B #include <sys/mman.h>
45 \fBint munlockall(void);
49 ¤Ï¸Æ¤Ó½Ð¤·¤¿¥×¥í¥»¥¹¤Î¥¢¥É¥ì¥¹¶õ´Ö¤Ë¥Þ¥Ã¥×¤µ¤ì¤Æ¤¤¤ëÁ´¤Æ¤Î¥Ú¡¼¥¸¤Î
50 ¥Ú¡¼¥¸¥ó¥°(paging)¤òºÆ³«(reenable)¤¹¤ë¡£
52 ¥á¥â¥ê¤Î¥í¥Ã¥¯(lock)¤ÏÎßÀѤ·¤Ê¤¤¡£Î㤨¤ÐÊ£¿ô²ó
56 ¤ò¸Æ¤Ó½Ð¤·¤Æ¥í¥Ã¥¯¤µ¤ì¤¿¥Ú¡¼¥¸¤â°ì²ó¤Î
58 ¤Ë¤è¤Ã¤Æ¥¢¥ó¥í¥Ã¥¯(unlock)¤µ¤ì¤ë¡£
59 Ê£¿ô¤Î¾ì½ê¤äÊ£¿ô¤Î¥×¥í¥»¥¹¤Ë¥Þ¥Ã¥×¤µ¤ì¤Æ¤¤¤ë¥Ú¡¼¥¸¤Ï¡¢¾¯¤Ê¤¯¤È¤â°ì¤Ä¤Î¾ì½ê¡¢
60 °ì¤Ä¤Î¥×¥í¥»¥¹¤Ç¥í¥Ã¥¯¤µ¤ì¤Æ¤¤¤ë¸Â¤ê¤Ï RAM ¤Ë»Ä¤ê³¤±¤ë¡£
65 ¤¬»ÈÍѲÄǽ¤Ç¤¢¤ë POSIX ¥·¥¹¥Æ¥à¤Ç¤Ï
67 ¤¬ <unistd.h> ¤ËÄêµÁ¤µ¤ì¤Æ¤¤¤ë¡£
71 ¤Ï¥¼¥í¤òÊÖ¤¹¡£¥¨¥é¡¼¤Î¾ì¹ç¤Ï¡¢\-1 ¤òÊÖ¤·
73 ¤ËŬÀÚ¤ÊÃͤòÀßÄꤹ¤ë¡£