Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 1999 08:30:20 -0700 (PDT)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Bosko Milekic <bmilekic@dsuper.net>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Question(s) regarding sys/vm/swap_pager.c
Message-ID:  <199908181530.IAA47500@apollo.backplane.com>
References:   <Pine.OSF.4.05.9908181103260.2951-100000@oracle.dsuper.net>

next in thread | previous in thread | raw e-mail | index | archive | help
:This may seem to be a ridiculous question... (sorry)
:
:I have a question specifically regarding sys/vm/swap_pager.c,
:I'm not very familiar with sys/vm/*, but I've noticed that the value of
:the static int no_swap_space (which is initially set to 1) is almost never
:checked. The only times that this value appears to be changed is during
:checks of vm_swap_size in swap_pager_putpages and swap_pager_copy.
:
:Is this value actually ever checked to determine anything? What exactly is
:its purpose?
:
:Thanks,
:Bosko.

    Under -STABLE no_swap_space appears to handle the startup case where
    swap has not yet been initialized.  It prevents paging to swap from
    occuring until the swap system is both initialized and assigned at
    least one swap partition.

    Under -CURRENT this variable does not exist.  The vm/swap_pager.c
    in STABLE has been depreciated - that is, it has been completely
    rewritten in CURRENT.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908181530.IAA47500>