options NO_SWAPPING, still wants swap

Bernd Walter ticso at cicely9.cicely.de
Mon Apr 14 02:11:20 PDT 2003


On Sat, Apr 12, 2003 at 09:42:42PM +0200, Lucky Green wrote:
> On Fri, 11 Apr 2003, Bruce Evans wrote:
> 
> > On Thu, 10 Apr 2003, Lucky Green wrote:
> >
> > > I compiled a kernel with "options NO_SWAPPING", yet CURRENT still
> > > attempts to allocate swap space:
> >
> > NO_SWAPPING has nothing to do with not allocating swap space.  It prevents
> > swapping of upages and stack pages only.
> >
> > Unfortunately, NOTES' description of NO_SWAPPING says that it disables
> > swapping without explaining what swapping is (it is just swapping of
> > upages and stack, and has nothing to do with generic VM paging).
> > NO_SWAPPING is documented mainlly in the commitlog for the change that
> > added it:
> 
> Perhaps a kind comitter could modify NOTES to help make users aware that
> NO_SWAPPING does not disable swapping of memory to disk and to look to man
> rc.conf for information about the latter?

Well - in fact *NO_SWAPPING* does not disable *paging* memory to disk.
It more a naming problem that the swap partition serves paging and
swapping.

-- 
B.Walter                   BWCT                http://www.bwct.de
ticso at bwct.de                                  info at bwct.de



More information about the freebsd-current mailing list