<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/netsmb, branch releng/7.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F7.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F7.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2009-08-13T08:31:15Z</updated>
<entry>
<title>Silence this module.</title>
<updated>2009-08-13T08:31:15Z</updated>
<author>
<name>Nick Hibma</name>
<email>n_hibma@FreeBSD.org</email>
</author>
<published>2009-08-13T08:31:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=132627fa077febe9ecbe7cbe4d2e04ede1c04205'/>
<id>urn:sha1:132627fa077febe9ecbe7cbe4d2e04ede1c04205</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MFC ver. 1.20:</title>
<updated>2008-05-16T19:44:50Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2008-05-16T19:44:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7111f3b1d1b651aef4ab16ecfb1a4a2799e138a9'/>
<id>urn:sha1:7111f3b1d1b651aef4ab16ecfb1a4a2799e138a9</id>
<content type='text'>
Currently, smb_co_init() uses the same lock name for the mutex interlock
and the lockmgr. Use different names in order to avoid WITNESS conflicts.
</content>
</entry>
<entry>
<title>MFC:</title>
<updated>2008-05-05T15:58:44Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2008-05-05T15:58:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ef97551642a4f1f9415c95dcbb1cf56678fa7039'/>
<id>urn:sha1:ef97551642a4f1f9415c95dcbb1cf56678fa7039</id>
<content type='text'>
Use LOCK_FILE and LOCK_LINE with lockmgr(), add the wrapper protecting for
the public namespace for userland inclusion.
Now lockmgr depends by sys/lock.h header on RELENG_7 too.
</content>
</entry>
<entry>
<title>MFC rev. 1.21:</title>
<updated>2008-03-29T23:00:29Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2008-03-29T23:00:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c906fdd44a15deff2d360e9e0899e40ab3208b4e'/>
<id>urn:sha1:c906fdd44a15deff2d360e9e0899e40ab3208b4e</id>
<content type='text'>
Drop Giant lock before to destroy the kthread.
</content>
</entry>
<entry>
<title>Merge smb_conn.h:1.13 from HEAD to RELENG_7:</title>
<updated>2008-03-13T10:29:35Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2008-03-13T10:29:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=233bda577dcfc65f89e5b93f955cfbc731dc2fb7'/>
<id>urn:sha1:233bda577dcfc65f89e5b93f955cfbc731dc2fb7</id>
<content type='text'>
  Remove unused vc_tnode field from struct smb_vc.
</content>
</entry>
<entry>
<title>Fixing the mount_smbfs(8) hanging by utilising the destroy_dev_sched() KPI.</title>
<updated>2007-07-10T09:23:10Z</updated>
<author>
<name>Tai-hwa Liang</name>
<email>avatar@FreeBSD.org</email>
</author>
<published>2007-07-10T09:23:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5ee1ac46456da10a24fd822d1bb27dd0b816b488'/>
<id>urn:sha1:5ee1ac46456da10a24fd822d1bb27dd0b816b488</id>
<content type='text'>
Relevant threads:

  http://lists.freebsd.org/pipermail/freebsd-current/2007-June/074329.html

Reviewed by:	kib, bp (slightly different version)
Tested by:	Yuri Pankov &lt;yuri.pankov at gmail dot com&gt;,
		Jiawei Ye &lt;leafy7382 at gmail dot com&gt;
Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>Initialize some variables that GCC4.2 thinks might possibly be used without</title>
<updated>2007-06-15T23:49:54Z</updated>
<author>
<name>Matt Jacob</name>
<email>mjacob@FreeBSD.org</email>
</author>
<published>2007-06-15T23:49:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2d494bc6f5bfcf0867a50a8b542160ec7b99cbd2'/>
<id>urn:sha1:2d494bc6f5bfcf0867a50a8b542160ec7b99cbd2</id>
<content type='text'>
being initialized.
</content>
</entry>
<entry>
<title>Commit 14/14 of sched_lock decomposition.</title>
<updated>2007-06-05T00:00:57Z</updated>
<author>
<name>Jeff Roberson</name>
<email>jeff@FreeBSD.org</email>
</author>
<published>2007-06-05T00:00:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=982d11f836278f1e95ae1ae398aa4d1d07a19006'/>
<id>urn:sha1:982d11f836278f1e95ae1ae398aa4d1d07a19006</id>
<content type='text'>
 - Use thread_lock() rather than sched_lock for per-thread scheduling
   sychronization.
 - Use the per-process spinlock rather than the sched_lock for per-process
   scheduling synchronization.

Tested by:      kris, current@
Tested on:      i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc.
Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each)
</content>
</entry>
<entry>
<title>Replace custom file descriptor array sleep lock constructed using a mutex</title>
<updated>2007-04-04T09:11:34Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2007-04-04T09:11:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5e3f7694b189584ae30219566fcc6c4c3d059305'/>
<id>urn:sha1:5e3f7694b189584ae30219566fcc6c4c3d059305</id>
<content type='text'>
and flags with an sxlock.  This leads to a significant and measurable
performance improvement as a result of access to shared locking for
frequent lookup operations, reduced general overhead, and reduced overhead
in the event of contention.  All of these are imported for threaded
applications where simultaneous access to a shared file descriptor array
occurs frequently.  Kris has reported 2x-4x transaction rate improvements
on 8-core MySQL benchmarks; smaller improvements can be expected for many
workloads as a result of reduced overhead.

- Generally eliminate the distinction between "fast" and regular
  acquisisition of the filedesc lock; the plan is that they will now all
  be fast.  Change all locking instances to either shared or exclusive
  locks.

- Correct a bug (pointed out by kib) in fdfree() where previously msleep()
  was called without the mutex held; sx_sleep() is now always called with
  the sxlock held exclusively.

- Universally hold the struct file lock over changes to struct file,
  rather than the filedesc lock or no lock.  Always update the f_ops
  field last. A further memory barrier is required here in the future
  (discussed with jhb).

- Improve locking and reference management in linux_at(), which fails to
  properly acquire vnode references before using vnode pointers.  Annotate
  improper use of vn_fullpath(), which will be replaced at a future date.

In fcntl(), we conservatively acquire an exclusive lock, even though in
some cases a shared lock may be sufficient, which should be revisited.
The dropping of the filedesc lock in fdgrowtable() is no longer required
as the sxlock can be held over the sleep operation; we should consider
removing that (pointed out by attilio).

Tested by:	kris
Discussed with:	jhb, kris, attilio, jeff
</content>
</entry>
<entry>
<title>Backing out the wrong fix which could possibly trash the memory if devfs</title>
<updated>2007-02-09T17:22:10Z</updated>
<author>
<name>Tai-hwa Liang</name>
<email>avatar@FreeBSD.org</email>
</author>
<published>2007-02-09T17:22:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=85e7c591e00bfdb6254396041e58e33886d37414'/>
<id>urn:sha1:85e7c591e00bfdb6254396041e58e33886d37414</id>
<content type='text'>
tries to drop the reference count after our close routine returns.

A more correct fix is to defer the destroy_dev() to a taskqueue(either
in devfs or locally).

Reminded by:	jhb
</content>
</entry>
</feed>
