public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Q] don't allow tmpfs to page out
@ 2004-07-14 14:54 Michael Buesch
  2004-07-14 15:42 ` William Stearns
  0 siblings, 1 reply; 12+ messages in thread
From: Michael Buesch @ 2004-07-14 14:54 UTC (permalink / raw)
  To: linux kernel mailing list

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Is it possible to disable the tmpfs feature to page out
memory to swap?
I didn't find any mount option or something like that
for it in the documentation.

- --
Regards Michael Buesch  [ http://www.tuxsoft.de.vu ]


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA9UklFGK1OIvVOP4RAvlyAKC0Aoug0HRSa8zRQuFAH8ufFY1C+wCg0ycG
uMXEYVntwUiiueZloUnizPo=
=t1IM
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: [Q] don't allow tmpfs to page out
@ 2004-07-15  7:58 christophe.varoqui
  2004-07-15  8:00 ` Arjan van de Ven
  0 siblings, 1 reply; 12+ messages in thread
From: christophe.varoqui @ 2004-07-15  7:58 UTC (permalink / raw)
  To: arjanv, dm-devel; +Cc: linux-kernel

> 
> just do 
> mount -t ramfs none /mnt/point
> 
Would that be a suitable solution to store callout binaries for daemons like
multipathd that need to work in case of system-disk outage (/bin & swap on SAN
for example) ?

If so, is it possible and/or correct for the daemon to do a private ramfs mount
for this purpose ?

And while I'm at throwing all the questions I have on my mind :
* how can I disable on-demand loading for the daemon ?
* does mlockall() provides all the necessary garanties ?
* what explains the "offset-by-4" between VSZ and RSS I see when running
mlockall'ed daemon ?

Thanks for the educational work :)

regards,
cvaroqui

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2004-07-15 10:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-14 14:54 [Q] don't allow tmpfs to page out Michael Buesch
2004-07-14 15:42 ` William Stearns
2004-07-14 15:51   ` Michael Buesch
2004-07-14 16:01     ` Arjan van de Ven
2004-07-14 16:03       ` Michael Buesch
2004-07-14 16:04         ` Arjan van de Ven
2004-07-14 16:07           ` Michael Buesch
2004-07-14 16:08             ` Arjan van de Ven
2004-07-14 16:11               ` Michael Buesch
  -- strict thread matches above, loose matches on Subject: below --
2004-07-15  7:58 christophe.varoqui
2004-07-15  8:00 ` Arjan van de Ven
2004-07-15 10:00   ` christophe.varoqui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox