lkml.org 
[lkml]   [2002]   [Feb]   [26]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromChristoph Rohland <>
SubjectRe: SHM_LOCK question
DateTue, 26 Feb 2002 14:46:37 +0100
Hi Badari,

On Mon, 25 Feb 2002, Badari Pulavarty wrote:
> I am trying to understand how SHM_LOCK works on 2.4.17.
> All I can see SHM_LOCKED set in shm_flags. I don't see how 
> it is locking the pages (that are already existing or future 
> pages). Can somebody explain ?

This flag prevents that the pages are written to swap. shmem_writepage
honors it. SHM_LOCK does _not_ force actually swapped out pages into
memory though.

Greetings
		Christoph


-
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 12:20    [from the cache]
©2003-2008