Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 1999 22:55:41 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/vm swap_pager.c swap_pager.h vm_swap.c
Message-ID:  <199911180655.WAA97106@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       1999/11/17 22:55:41 PST

  Modified files:
    sys/vm               swap_pager.c swap_pager.h vm_swap.c 
  Log:
  Remove the non-functional "swap device" userland front-end to the
  multiplexed underlying swap devices (/dev/drum).  The only thing it did
  was to allow root to open /dev/drum, but not do anything with it.
  Various utilities used to grovel around in here, but Matt has written
  a much nicer (and clean) front-end to this for libkvm, and nothing uses
  the old system any more.
  
  The VM system was calling VOP_STRATEGY() on the vp of the first underlying
  swap device (not the /dev/drum one, the first real device), and using
  the VOP system to indirectly (and only) call swstrategy() to choose
  an underlying device and enqueue it on that device.  I have changed it
  to avoid diverting through the VOP system and to call the only possible
  target directly, saving a little bit of time and some complexity.
  
  In all, nothing much changes, except some scaffolding to support the
  roundabout way of calling swstrategy() is gone.
  
  Matt gave me the ok to do this some time ago, and I apologize for taking
  so long to get around to it.
  
  Revision  Changes    Path
  1.128     +8 -8      src/sys/vm/swap_pager.c
  1.27      +5 -1      src/sys/vm/swap_pager.h
  1.90      +4 -76     src/sys/vm/vm_swap.c



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




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