Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jun 2016 17:50:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-fs@FreeBSD.org
Subject:   [Bug 204764] Filesystem deadlock, process in vodead state
Message-ID:  <bug-204764-3630-yTp7gOIP2S@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204764-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204764-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204764

--- Comment #26 from commit-hook@freebsd.org ---
A commit references this bug:

Author: kib
Date: Tue Jun 21 17:49:33 UTC 2016
New revision: 302063
URL: https://svnweb.freebsd.org/changeset/base/302063

Log:
  The vmtotal sysctl handler marks active vm objects to calculate
  statistics.  Marking is done by setting the OBJ_ACTIVE flag.  The
  flags change is locked, but the problem is that many parts of system
  assume that vm object initialization ensures that no other code could
  change the object, and thus performed lockless.  The end result is
  corrupted flags in vm objects, most visible is spurious OBJ_DEAD flag,
  causing random hangs.

  Avoid the active object marking, instead provide equally inexact but
  immutable is_object_alive() definition for the object mapped state.

  Avoid iterating over the processes mappings altogether by using
  arguably improved definition of the paging thread as one which sleeps
  on the v_free_count.

  PR:   204764
  Diagnosed by: pho
  Tested by:    pho (previous version)
  Reviewed by:  alc
  Sponsored by: The FreeBSD Foundation
  MFC after:    1 week
  Approved by:  re (gjb)

Changes:
  head/sys/vm/vm_meter.c
  head/sys/vm/vm_object.h

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204764-3630-yTp7gOIP2S>