Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 1996 22:05:43 -0800 (PST)
From:      Peter Wemm <peter>
To:        CVS-committers, cvs-sys
Subject:   cvs commit: src/sys/miscfs/procfs procfs_mem.c
Message-ID:  <199601250605.WAA08239@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       96/01/24 22:05:42

  Modified:    sys/miscfs/procfs  procfs_mem.c
  Log:
  This time, really make the procfs work when reading stuff from the UPAGES.
  
  This is a really ugly bandaid on the problem, but it works well enough for
  'ps -u' to start working again.  The problem was caused by the user
  address space shrinking by a little bit and the UPAGES being "cast off" to
  become a seperate entity rather than being at the top of the process's
  vmspace.  That optimization was part of John's most recent VM speedups.
  
  Now, rather than decoding the VM space, it merely ensures the pages are
  in core and accesses them the same way the ptrace(PT_READ_U..) code does,
  ie: off the p->p_addr pointer.
  
  Revision  Changes    Path
  1.17      +34 -15    src/sys/miscfs/procfs/procfs_mem.c



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