Revision tags: v6.4.0, v6.4.0rc1, v6.5.0, v6.2.2, v6.2.1, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1 |
|
#
eca1e48f |
| 28-Mar-2020 |
Sascha Wildner <saw@online.de> |
kernel: Remove <sys/mplock2.h> from all files that do not need it.
|
Revision tags: v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1 |
|
#
0fdb7d01 |
| 15-Jan-2014 |
Sascha Wildner <saw@online.de> |
Remove a bunch of unnecessary semicolons.
|
Revision tags: v3.6.0, v3.7.1, v3.6.0rc, v3.4.3 |
|
#
fa8cc5a2 |
| 19-Jul-2013 |
Sascha Wildner <saw@online.de> |
kernel: Remove some more unused kmalloc types.
M_MPSSAS M_MPTUSER M_NETGRAPH_ITEM M_NWFSMNT M_PDU M_RDRAND M_SMBDATA M_SMBFSMNT
|
Revision tags: v3.4.2, v3.4.1, v3.4.0, v3.4.0rc, v3.5.0, v3.2.2 |
|
#
5e8a14a3 |
| 19-Nov-2012 |
Sepherosa Ziehau <sephe@dragonflybsd.org> |
mchian: Sync w/ FreeBSD a little bit
subr_mchain.c CVS 1.{6, 8, 9, 10, 16, 18}
Submitted-by: Alexey Slynko w/ modification by me DragonFly-bug: http://bugs.dragonflybsd.org/issues/80
|
Revision tags: v3.2.1, v3.2.0, v3.3.0, v3.0.3, v3.0.2, v3.0.1, v3.1.0, v3.0.0 |
|
#
86d7f5d3 |
| 26-Nov-2011 |
John Marino <draco@marino.st> |
Initial import of binutils 2.22 on the new vendor branch
Future versions of binutils will also reside on this branch rather than continuing to create new binutils branches for each new version.
|
#
4643740a |
| 15-Nov-2011 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - Major signal path adjustments to fix races, tsleep race fixes, +more
* Refactor the signal code to properly hold the lp->lwp_token. In particular the ksignal() and lwp_signotify() paths.
kernel - Major signal path adjustments to fix races, tsleep race fixes, +more
* Refactor the signal code to properly hold the lp->lwp_token. In particular the ksignal() and lwp_signotify() paths.
* The tsleep() path must also hold lp->lwp_token to properly handle lp->lwp_stat states and interlocks.
* Refactor the timeout code in tsleep() to ensure that endtsleep() is only called from the proper context, and fix races between endtsleep() and lwkt_switch().
* Rename proc->p_flag to proc->p_flags
* Rename lwp->lwp_flag to lwp->lwp_flags
* Add lwp->lwp_mpflags and move flags which require atomic ops (are adjusted when not the current thread) to the new field.
* Add td->td_mpflags and move flags which require atomic ops (are adjusted when not the current thread) to the new field.
* Add some freeze testing code to the x86-64 trap code (default disabled).
show more ...
|
Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0, v2.5.1, v2.4.1, v2.5.0, v2.4.0 |
|
#
ae8e83e6 |
| 15-Jul-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
MPSAFE - tsleep_interlock, BUF/BIO, cluster, swap_pager.
* tsleep_interlock()/tsleep() could miss wakeups during periods of heavy cpu activity. What would happen is code inbetween the two calls
MPSAFE - tsleep_interlock, BUF/BIO, cluster, swap_pager.
* tsleep_interlock()/tsleep() could miss wakeups during periods of heavy cpu activity. What would happen is code inbetween the two calls would try to send an IPI (say, issue a wakeup()), but while sending the IPI the kernel would be forced to process incoming IPIs synchronous to avoid a deadlock.
The new tsleep_interlock()/tsleep() code adds another TAILQ_ENTRY to the thread structure allowing tsleep_interlock() to formally place the thread on the appropriate sleep queue without having to deschedule the thread. Any wakeup which occurs between the interlock and the real tsleep() call will remove the thread from the queue and the later tsleep() call will recognize this and simply return without sleeping.
The new tsleep() call requires PINTERLOCKED to be passed to tsleep so tsleep() knows that the thread has already been placed on a sleep queue.
* Continue making BUF/BIO MPSAFE. Remove B_ASYNC and B_WANT from buf->b_flag and add a new bio->bio_flags field to the bio. Add BIO_SYNC, BIO_WANT, and BIO_DONE. Use atomic_cmpset_int() (aka cmpxchg) to interlock biodone() against biowait().
vn_strategy() and dev_dstrategy() call semantics now require that synchronous BIO's install a bio_done function and set BIO_SYNC in the bio.
* Clean up the cluster code a bit.
* Redo the swap_pager code. Instead of issuing I/O during the collection, which depended on critical sections to avoid races in the cluster append, we now build the entire collection first and then dispatch the I/O. This allows us to use only async completion for the BIOs, instead of a hybrid sync-or-async completion.
show more ...
|
#
d9345d3a |
| 14-Jul-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
tsleep() - Add PINTERLOCKED flag to catch edge case.
When the tsleep_interlock() + UNLOCK + tsleep() combination is used it is possible for an incoming wakeup IPI to be processed even if the combina
tsleep() - Add PINTERLOCKED flag to catch edge case.
When the tsleep_interlock() + UNLOCK + tsleep() combination is used it is possible for an incoming wakeup IPI to be processed even if the combination is used within a critical section, because operations inbetween the two may send an IPI. Under heavy loads sending an IPI can force incoming IPIs to be processed synchronously to avoid deadlocks.
It is also possible for tsleep itself to create this condition when it releases the user process schedule prior to descheduling itself.
PINTERLOCKED causes tsleep to check whether the bit set by tsleep_interlock() is still set. If it is not set we simply return without sleeping.
show more ...
|
Revision tags: v2.3.2 |
|
#
2123d4c3 |
| 06-Jul-2009 |
Jordan Gordeev <jgordeev@dir.bg> |
Merge commit '973c11b9c3cdde88fe6ca0ef2c5af56a8c49e014' into amd64
|
#
d16531ad |
| 25-Jun-2009 |
Michael Neumann <mneumann@ntecs.de> |
Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
|
#
973c11b9 |
| 24-Jun-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
AMD64 - Fix many compile-time warnings. int/ptr type mismatches, %llx, etc.
|
Revision tags: v2.3.1, v2.2.1, v2.2.0, v2.3.0, v2.1.1, v2.0.1 |
|
#
978400d3 |
| 06-Jan-2008 |
Sascha Wildner <swildner@dragonflybsd.org> |
Remove bogus checks after kmalloc(M_WAITOK) which never returns NULL.
Reviewed-by: hasso
|
#
91bd9c1e |
| 01-Mar-2007 |
Simon Schubert <corecode@dragonflybsd.org> |
1:1 Userland threading stage 4.7/4:
Add a new system call lwp_create() which spawns a new lwp with a given thread function address and given stack pointer. Rework and add some associated functions
1:1 Userland threading stage 4.7/4:
Add a new system call lwp_create() which spawns a new lwp with a given thread function address and given stack pointer. Rework and add some associated functions to realize this goal.
In-collaboration-with: Thomas E. Spanjaard <tgen@netphreax.net>
show more ...
|
#
b1b4e5a6 |
| 25-Feb-2007 |
Simon Schubert <corecode@dragonflybsd.org> |
Get rid of struct user/UAREA.
Merge procsig with sigacts and replace usage of procsig with sigacts, like it used to be in 4.4BSD.
Put signal-related inline functions in sys/signal2.h.
Reviewed-by:
Get rid of struct user/UAREA.
Merge procsig with sigacts and replace usage of procsig with sigacts, like it used to be in 4.4BSD.
Put signal-related inline functions in sys/signal2.h.
Reviewed-by: Thomas E. Spanjaard <tgen@netphreax.net>
show more ...
|
#
aa6c3de6 |
| 21-Feb-2007 |
Simon Schubert <corecode@dragonflybsd.org> |
1:1 Userland threading stage 2.20/4:
Unify access to pending threads with a new function, lwp_sigpend(), which returns pending signals for the lwp, which includes both lwp-specific signals and signa
1:1 Userland threading stage 2.20/4:
Unify access to pending threads with a new function, lwp_sigpend(), which returns pending signals for the lwp, which includes both lwp-specific signals and signals pending on the process. The new function lwp_delsig() is used to remove a certain signal from the pending set of both process and lwp.
Rework the places which access the pending signal list to either use those two functions or, where not possibly, to work on both lwp and proc signal lists.
show more ...
|
#
08f2f1bb |
| 03-Feb-2007 |
Simon Schubert <corecode@dragonflybsd.org> |
1:1 Userland threading stage 2.11/4:
Move signals into lwps, take p_lwp out of proc.
Originally-Submitted-by: David Xu <davidxu@freebsd.org> Reviewed-by: Thomas E. Spanjaard <tgen@netphreax.net>
|
#
fde7ac71 |
| 01-Jan-2007 |
Simon Schubert <corecode@dragonflybsd.org> |
1:1 Userland threading stage 2.10/4:
Separate p_stats into p_ru and lwp_ru.
proc.p_ru keeps track of all statistics directly related to a proc. This consists of RSS usage and nswap information and
1:1 Userland threading stage 2.10/4:
Separate p_stats into p_ru and lwp_ru.
proc.p_ru keeps track of all statistics directly related to a proc. This consists of RSS usage and nswap information and aggregate numbers for all former lwps of this proc.
proc.p_cru is the sum of all stats of reaped children.
lwp.lwp_ru contains the stats directly related to one specific lwp, meaning packet, scheduler switch or page fault counts, etc. This information gets added to lwp.lwp_proc.p_ru when the lwp exits.
show more ...
|
#
a6ec04bc |
| 22-Dec-2006 |
Sascha Wildner <swildner@dragonflybsd.org> |
Rename printf -> kprintf in sys/ and add some defines where necessary (files which are used in userland, too).
|
#
379210cb |
| 18-Dec-2006 |
Matthew Dillon <dillon@dragonflybsd.org> |
Rename kvprintf -> kvcprintf (call-back version) Rename vprintf -> kvprintf Rename vsprintf -> kvsprintf Rename vsnprintf -> kvsnprintf
|
#
ae10516a |
| 30-Sep-2006 |
Simon Schubert <corecode@dragonflybsd.org> |
Fix smb panic, td might be NULL
Reported-by: Rumcic
|
#
bb3cd951 |
| 19-Sep-2006 |
Simon Schubert <corecode@dragonflybsd.org> |
1:1 Userland threading stage 2.9/4:
Push out p_thread a little bit more
|
#
efda3bd0 |
| 05-Sep-2006 |
Matthew Dillon <dillon@dragonflybsd.org> |
Rename malloc->kmalloc, free->kfree, and realloc->krealloc. Pass 1
|
#
fcf5f48c |
| 08-Dec-2005 |
Matthew Dillon <dillon@dragonflybsd.org> |
Clean up more spinlock conversion issues and fix related panics.
Reported-by: "Adrian M. Nida" <nida@musc.edu>
|
#
8886b1fc |
| 06-Dec-2005 |
Matthew Dillon <dillon@dragonflybsd.org> |
The new lockmgr() function requires spinlocks, not tokens. Take this opportunity to convert all use of tokens in SMB to spinlocks since they are only used to wrap very low level operations.
Report
The new lockmgr() function requires spinlocks, not tokens. Take this opportunity to convert all use of tokens in SMB to spinlocks since they are only used to wrap very low level operations.
Reported-by: "Adrian M. Nida" <nida@musc.edu>
show more ...
|
#
6b69ab88 |
| 03-Dec-2005 |
Matthew Dillon <dillon@dragonflybsd.org> |
Fix a bogus proc0 test that is no longer accurate. This should allow the smb module to be loaded.
Reported-by: Adrian Nida <nida@musc.edu>
|