<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/tools, branch release/9.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F9.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F9.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2013-05-30T19:14:34Z</updated>
<entry>
<title>MFC 246417,247116,248584:</title>
<updated>2013-05-30T19:14:34Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2013-05-30T19:14:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=36732f381ba88f88a0cd074e34fe93b15d5e4694'/>
<id>urn:sha1:36732f381ba88f88a0cd074e34fe93b15d5e4694</id>
<content type='text'>
Rework the handling of stop signals in the NFS client.  The changes in
195702, 195703, and 195821 prevented a thread from suspending while holding
locks inside of NFS by forcing the thread to fail sleeps with EINTR or
ERESTART but defer the thread suspension to the user boundary.  However,
this had the effect that stopping a process during an NFS request could
abort the request and trigger EINTR errors that were visible to userland
processes (previously the thread would have suspended and completed the
request once it was resumed).

This change instead effectively masks stop signals while in the NFS client.
It uses the existing TDF_SBDRY flag to effect this since SIGSTOP cannot
be masked directly.  Instead of setting PBDRY on individual sleeps, change
the VFS_*() and VOP_*() methods to defer stop signals for filesystems which
request this behavior via a new VFCF_SBDRY flag.  Note that this has to be
a VFC flag rather than a MNTK flag so that it works properly with
VFS_MOUNT() when the mount is not yet fully constructed.  For now, only the
NFS clients set this new flag in VFS_SET().

A few other related changes:
- Add an assertion to ensure that TDF_SBDRY doesn't leak to userland.
- When a lookup request uses VOP_READLINK() to follow a symlink, mark
  the request as being on behalf of the thread performing the lookup
  (cnp_thread) rather than using a NULL thread pointer.  This causes
  NFS to properly handle signals during this VOP on an interruptible
  mount.
- Ignore thread suspend requests due to SIGSTOP if stop signals are
  currently deferred.  This can occur if a process is stopped via
  SIGSTOP while a thread is running or runnable but before it has set
  TDF_SBDRY.
</content>
</entry>
<entry>
<title>MFC r231975:</title>
<updated>2012-04-02T19:06:28Z</updated>
<author>
<name>Mikolaj Golub</name>
<email>trociny@FreeBSD.org</email>
</author>
<published>2012-04-02T19:06:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e77fbf47a3d9b9dc6299c4384e5b9f7d826a57c7'/>
<id>urn:sha1:e77fbf47a3d9b9dc6299c4384e5b9f7d826a57c7</id>
<content type='text'>
Make vnode_if.awk parse vnode operations with underscores, like VOP_FOO_BAR.

Reviewed by:	kib
</content>
</entry>
<entry>
<title>GNU awk does not output escaped newlines in multi-line printc statements. This</title>
<updated>2011-03-31T21:33:33Z</updated>
<author>
<name>Ryan Stone</name>
<email>rstone@FreeBSD.org</email>
</author>
<published>2011-03-31T21:33:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=04af6e96037e5d0ef149d1f90c35af3e8b28569c'/>
<id>urn:sha1:04af6e96037e5d0ef149d1f90c35af3e8b28569c</id>
<content type='text'>
leads to compile errors when trying to compile firmware(9) stubs created with
gawk, as multiple #include statements end up on the same line.  Replace the
multi-line printc statement that outputs all of the #includes with one printc
per #include.  This allows modules compatible with firmware(9) to be cross-built
from a Linux machine without requiring the one true awk to be installed.

I've intentionally done the minimal set of changes necessary to make gawk
produce valid (but not pretty) C code, to reduce the churn and keep fw_stubs.awk
as readable as possible.

Approved by:	emaste (mentor)
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Add an extra comment to the SDT probes definition. This allows us to get</title>
<updated>2010-08-22T11:18:57Z</updated>
<author>
<name>Rui Paulo</name>
<email>rpaulo@FreeBSD.org</email>
</author>
<published>2010-08-22T11:18:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=79856499bd6f3f11cd2bd6b140d36a1183cd49ad'/>
<id>urn:sha1:79856499bd6f3f11cd2bd6b140d36a1183cd49ad</id>
<content type='text'>
use '-' in probe names, matching the probe names in Solaris.[1]

Add userland SDT probes definitions to sys/sdt.h.

Sponsored by:	The FreeBSD Foundation
Discussed with:	rwaston [1]
</content>
</entry>
<entry>
<title>Flattened Device Tree helper scripts.</title>
<updated>2010-06-02T17:22:38Z</updated>
<author>
<name>Rafal Jaworowski</name>
<email>raj@FreeBSD.org</email>
</author>
<published>2010-06-02T17:22:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=847ae2120301b0f7e5e7f8eb232a2cef102a7c0f'/>
<id>urn:sha1:847ae2120301b0f7e5e7f8eb232a2cef102a7c0f</id>
<content type='text'>
Reviewed by:	imp
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>Output a comment on top of each generated file explaining where it came</title>
<updated>2009-10-25T09:48:21Z</updated>
<author>
<name>Rui Paulo</name>
<email>rpaulo@FreeBSD.org</email>
</author>
<published>2009-10-25T09:48:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f91c218bf8c55ac87e0467a2227101d8edff8cf8'/>
<id>urn:sha1:f91c218bf8c55ac87e0467a2227101d8edff8cf8</id>
<content type='text'>
from.
</content>
</entry>
<entry>
<title>Rename default to default_function, for compatibility with GNU awk.</title>
<updated>2009-10-22T20:57:17Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2009-10-22T20:57:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=97aa4d9845cbecf61909aca7b779251641bb1792'/>
<id>urn:sha1:97aa4d9845cbecf61909aca7b779251641bb1792</id>
<content type='text'>
(For cross-compiling out-of-tree kernel modules, for example.)
</content>
</entry>
<entry>
<title>Allow KMOD with hypens and dots.</title>
<updated>2009-10-20T11:54:06Z</updated>
<author>
<name>Max Khon</name>
<email>fjoe@FreeBSD.org</email>
</author>
<published>2009-10-20T11:54:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b352b7ccb93dc46009cc6864d75d94b8a6458802'/>
<id>urn:sha1:b352b7ccb93dc46009cc6864d75d94b8a6458802</id>
<content type='text'>
MFC after:	1 week
</content>
</entry>
<entry>
<title>- Increase dynamic range of filter coefficients from 28bit to 30bit.</title>
<updated>2009-07-05T18:15:06Z</updated>
<author>
<name>Ariff Abdullah</name>
<email>ariff@FreeBSD.org</email>
</author>
<published>2009-07-05T18:15:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=96831ae59b2ea8f3a617d18b889028ac80ea0d5e'/>
<id>urn:sha1:96831ae59b2ea8f3a617d18b889028ac80ea0d5e</id>
<content type='text'>
  This cause dramatic effect in overall precision and conversion quality
  by pushing down most aliasing artifacts around -180 dB.

  Spectrogram analysis/comparison:

  	http://people.freebsd.org/~ariff/z_comparison/z_28vs30/

- Guard against possible 64bit overflow during accumulation process by
  slightly normalize and saturate sample and coefficient multiplication,
  possible during extreme 32bit downsampling (eg. 380KHz -&gt; 8KHz) with
  custom preset that require more than ~7000 taps filter (which is
  overkill).

- Add knobs through FEEDER_RATE_PRESETS to set dynamic range of filter
  coefficients/accumulator and prefered polynomial interpolator:

  	COEFFICIENT_BIT:X
	(where 1 &lt;= X &lt;= 30, default: 30)

	ACCUMULATOR_BIT:X
	(where 32 &lt;= X &lt;=64, default: 58)

	INTERPOLATOR:I
	(where I = ZOH, LINEAR, QUADRATIC, HERMITE, BSPLINE,
 	           OPT32X, OPT16X, OPT8X, OPT4X, OPT2X)

Approved by:	re (kib)
</content>
</entry>
<entry>
<title>Slightly increase amount of bandwidth of resampling filter for</title>
<updated>2009-07-02T10:02:10Z</updated>
<author>
<name>Ariff Abdullah</name>
<email>ariff@FreeBSD.org</email>
</author>
<published>2009-07-02T10:02:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=01624369748c30eff8730252299dc7150f5af77f'/>
<id>urn:sha1:01624369748c30eff8730252299dc7150f5af77f</id>
<content type='text'>
feeder_rate_quality=3. This have the benefit of reducing aliasing
artifacts due to alias masking.

Spectrogram analysis:

 o Old preset (100:36:0.90)
	http://people.freebsd.org/~ariff/z_comparison/z_q3_old.png

 o New preset (100:36:0.92):
	http://people.freebsd.org/~ariff/z_comparison/z_q3_new.png

Approved by:	re (kib)
</content>
</entry>
</feed>
