Home | History | Annotate | Download | only in msdosfs
History log of /src/sys/fs/msdosfs/msdosfs_denode.c
RevisionDateAuthorComments
 1.60  23-Oct-2021  thorpej Sanitize the symbol namespace. NFC.
 1.59  23-Apr-2020  ad PR kern/54759 (vm.ubc_direct deadlock when read()/write() into mapping of itself)

- Add new flag UBC_ISMAPPED which tells ubc_uiomove() the object is mmap()ed
somewhere. Use it to decide whether to do direct-mapped copy, rather than
poking around directly in the vnode in ubc_uiomove(), which is ugly and
doesn't work for tmpfs. It would be nicer to contain all this in UVM but
the filesystem provides the needed locking here (VV_MAPPED) and to
reinvent that would suck more.

- Rename UBC_UNMAP_FLAG() to UBC_VNODE_FLAGS(). Pass in UBC_ISMAPPED where
appropriate.
 1.58  13-Apr-2020  ad Replace most uses of vp->v_usecount with a call to vrefcnt(vp), a function
that hides the details and does atomic_load_relaxed(). Signature matches
FreeBSD.
 1.57  28-May-2018  chs branches: 1.57.2; 1.57.12;
add a genfs method to allow a file system to limit the range of pages
that are given to a single GOP_WRITE() call. needed by ZFS.
 1.56  26-May-2017  riastradh branches: 1.56.8;
Eliminate crusty debugging sludge.

We have a mostly sane vnode lifecycle now. If this needs debugging,
it should be done once at the call site of VOP_RECLAIM.
 1.55  26-May-2017  riastradh Make VOP_RECLAIM do the last unlock of the vnode.

VOP_RECLAIM naturally has exclusive access to the vnode, so having it
locked on entry is not strictly necessary -- but it means if there
are any final operations that must be done on the vnode, such as
ffs_update, requiring exclusive access to it, we can now kassert that
the vnode is locked in those operations.

We can't just have the caller release the last lock because some file
systems don't use genfs_lock, and require the vnode to remain valid
for VOP_UNLOCK to work, notably unionfs.
 1.54  11-Apr-2017  riastradh Make VOP_INACTIVE preserve vnode lock on return.

Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2017/04/01/msg021751.html

Ride 7.99.68, a bumpy bus of incremental vfs improvements!
 1.53  01-Mar-2017  hannken Remove now redundant calls to fstrans_start()/fstrans_done().
 1.52  20-Aug-2016  hannken branches: 1.52.2;
Remove now obsolete operation vcache_remove().

Welcome to 7.99.36
 1.51  28-Mar-2015  maxv branches: 1.51.2;
Remove the 'cred' argument from bread(). Remove a now unused var in
ffs_snapshot.c. Update the man page accordingly.

ok hannken@
 1.50  08-Jul-2014  hannken branches: 1.50.4;
Change msdosfs from hashlist to vcache:
- Use (dir_cluster, dir_offset, dir_generation) as key, where
dir_generation is non-zero and unique for unlinked but open nodes.
- Change deget() to return a vnode as it is unsafe to return a
referenced but unlocked denode.
 1.49  30-May-2014  hannken msdosfs_reclaim(): add missing fstrans and protect change
of v_data with v_interlock as msdosfs_sync() now needs it.
 1.48  20-Dec-2012  hannken branches: 1.48.10;
Change bread() and breadn() to never return a buffer on
error and modify all callers to not brelse() on error.

Welcome to 6.99.16

PR kern/46282 (6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread -> bio_doread)
 1.47  04-Nov-2012  jakllsch Stylistic changes in comments/strings:
"FAT" and "fat" are different things, use the appropriate case.
"GEMDOS" is all caps.
 1.46  16-Jun-2011  hannken branches: 1.46.2; 1.46.12;
Rename uvm_vnp_zerorange(struct vnode *, off_t, size_t) to
ubc_zerorange(struct uvm_object *, off_t, size_t, int) changing
the first argument to an uvm_object and adding a flags argument.

Modify tmpfs_reg_resize() to zero the backing store (aobj) instead
of the vnode. Ubc_purge() no longer panics when unmounting tmpfs.

Keep uvm_vnp_zerorange() until the next kernel version bump.
 1.45  12-Jun-2011  rmind Welcome to 5.99.53! Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
kernel-lock on some ports). Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.
 1.44  19-May-2011  rmind branches: 1.44.2;
Remove cache_purge(9) calls from reclamation routines in the file systems,
as vclean(9) performs it for us since Lite2 merge.
 1.43  04-Apr-2011  hannken Msdosfs on-disk meta data is not sufficient to create or validate file handles.

Maintain a tree of file handles, create nodes from msdosfs_vptofh() and keep
them until either the file gets unlinked or the file system gets unmounted.

Fixes the msdosfs part of PR #43745 (fhopen of an unlinked file causes problems
on multiple file systems)
 1.42  22-Mar-2011  hannken When truncating a file purge the fat cache after setting the new size
and after all io but before actually updating the cluster chain.

Both uvm_vnp_zerorange() and vtruncbuf() call get/putpages -> bmap -> pcbmap
and here the fat cache gets updated with information no longer valid after
truncation.
 1.41  20-Mar-2011  hannken When extending a file, either by truncating or by writing past EOF make
sure the unallocated remainder of the last page gets zeroed.

Detected by fsx.
 1.40  21-Jul-2010  hannken branches: 1.40.2;
Make holding v_interlock mandatory for callers of vget().

Announced some time ago on tech-kern.
 1.39  24-Jun-2010  hannken Clean up vnode lock operations pass 2:

VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.

Welcome to 5.99.32.

Discussed on tech-kern.
 1.38  09-Apr-2010  hannken Add file system suspension support (vfs_suspend(9)) to msdosfs.

Reviewed by: Antti Kantee <pooka@netbsd.org>
 1.37  08-Jan-2010  pooka branches: 1.37.2; 1.37.4;
The VATTR_NULL/VREF/VHOLD/HOLDRELE() macros lost their will to live
years ago when the kernel was modified to not alter ABI based on
DIAGNOSTIC, and now just call the respective function interfaces
(in lowercase). Plenty of mix'n match upper/lowercase has creeped
into the tree since then. Nuke the macros and convert all callsites
to lowercase.

no functional change
 1.36  15-Mar-2009  cegger ansify function definitions
 1.35  14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.34  14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.33  16-May-2008  hannken branches: 1.33.6; 1.33.12;
Make sure all cached buffers with valid, not yet written data have been
run through copy-on-write. Call fscow_run() with valid data where possible.

The LP_UFSCOW hack is no longer needed to protect ffs_copyonwrite() against
endless recursion.

- Add a flag B_MODIFY to bread(), breada() and breadn(). If set the caller
intends to modify the buffer returned.

- Always run copy-on-write on buffers returned from ffs_balloc().

- Add new function ffs_getblk() that gets a buffer, assigns a new blkno,
may clear the buffer and runs copy-on-write. Process possible errors
from getblk() or fscow_run(). Part of PR kern/38664.

Welcome to 4.99.63

Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>
 1.32  05-May-2008  ad branches: 1.32.2;
- Convert hashinit() to use kmem_alloc(). The hash tables can be large
and it's better to not have them in kmem_map.
- Convert a couple of minor items along the way to kmem_alloc().
- Fix some memory leaks.
 1.31  17-Jan-2008  ad branches: 1.31.6; 1.31.8; 1.31.10;
Fix dodgy tests of v_usecount.
 1.30  02-Jan-2008  ad Merge vmlocking2 to head.
 1.29  28-Dec-2007  reinoud Use uvm_vnp_setwritesize() on file extending to instruct UVM to NOT read-in
the newly added space first. This significantly speeds up write speed for
msdosfs and making it at par with ffs wich already had this patched.

Speed increase measured on my IDE disc from 2Mb/sec to 32 Mb/sec
 1.28  08-Dec-2007  ad branches: 1.28.4;
Merge ihash locking changes from the vmlocking branch.
 1.27  26-Nov-2007  pooka branches: 1.27.2;
Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start. In case the calling lwp is desired, curlwp should
be used.

quick consensus on tech-kern
 1.26  10-Oct-2007  ad branches: 1.26.4;
Merge from vmlocking:

- Split vnode::v_flag into three fields, depending on field locking.
- simple_lock -> kmutex in a few places.
- Fix some simple locking problems.
 1.25  08-Oct-2007  ad Merge brelse() changes from the vmlocking branch.
 1.24  28-Sep-2007  pooka Release vnode being created in error branch instead of leaving it
locked. Ideally the function should be rewritten to do things in
a different order, but this tries to keep changes minimal aiming
for a possible netbsd-4 pullup.

fixes PR kern/37034
 1.23  24-Sep-2007  rumble Avoid stack allocation of large dirent structures in foo_readdir().
 1.22  23-Jul-2007  pooka branches: 1.22.4; 1.22.6; 1.22.8; 1.22.10;
Also set writesize when creating node.

noticed by Markus W Kilbinger
 1.21  30-Jun-2007  pooka branches: 1.21.2;
Using POOL_INIT here makes no sense, since file systems always have
an init method. So get rid of it and #ifdef _LKM and just always
init in the init method. Give malloc types the same treatment.
Makes file systems nicer to work with in linksetless environments
and fixes a few LKM discrepancies.
 1.20  12-Mar-2007  ad branches: 1.20.2; 1.20.4;
Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.
 1.19  04-Mar-2007  christos branches: 1.19.2;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.18  20-Feb-2007  ad Call genfs_node_destroy() where appropriate.
 1.17  25-Nov-2006  scw branches: 1.17.2; 1.17.4; 1.17.6;
Support FAT filesystems on non-DEV_BSIZE media.

Based on the patches provided in PR kern/17398 by Trevin Beattie.
 1.16  16-Nov-2006  christos __unused removal on arguments; approved by core.
 1.15  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.14  14-May-2006  elad branches: 1.14.8; 1.14.10;
integrate kauth.
 1.13  15-Apr-2006  christos Coverity CID 2508: Initialize variable
 1.12  11-Dec-2005  christos branches: 1.12.4; 1.12.6; 1.12.8; 1.12.10; 1.12.12;
merge ktrace-lwp.
 1.11  02-Nov-2005  yamt merge yamt-vop branch. remove following VOPs.

VOP_BLKATOFF
VOP_VALLOC
VOP_BALLOC
VOP_REALLOCBLKS
VOP_VFREE
VOP_TRUNCATE
VOP_UPDATE
 1.10  29-Aug-2005  xtraeme branches: 1.10.2;
Remove __P()
 1.9  23-Jul-2005  yamt update file timestamps for nfsd loaned-read and mmap.
PR/25279. discussed on tech-kern@.
 1.8  28-Jun-2005  yamt branches: 1.8.2;
- constify genfs_ops.
- use member designators.
 1.7  20-May-2004  atatat branches: 1.7.10;
Explicitly call pool_init() (and pool_destroy()) when being built as
an _LKM.

This adds pools to the list of things that lkms must do manually
because they're set up with link sets. Not that there's anything
wrong with link sets, but that we need to try harder to remember that
lkms are second class citizens. Of a sort.
 1.6  25-Apr-2004  simonb Initialise (most) pools from a link set instead of explicit calls
to pool_init. Untouched pools are ones that either in arch-specific
code, or aren't initialiased during initial system startup.

Convert struct session, ucred and lockf to pools.
 1.5  27-Mar-2004  atatat Manually attach malloc types when being built as an lkm.
 1.4  29-Jun-2003  fvdl branches: 1.4.2;
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
 1.3  29-Jun-2003  thorpej Undo part of the ktrace/lwp changes. In particular:
* Remove the "lwp *" argument that was added to vget(). Turns out
that nothing actually used it!
* Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(),
and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted
above, didn't use it).
* Remove all of the "lwp *" arguments to internal functions that were added
just to appease the above.
 1.2  28-Jun-2003  darrenr Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V
 1.1  26-Dec-2002  jdolecek branches: 1.1.2;
move msdosfs code from sys/msdosfs to sys/fs/msdosfs
 1.1.2.2  29-Dec-2002  thorpej With with HEAD.
 1.1.2.1  26-Dec-2002  thorpej file msdosfs_denode.c was added on branch nathanw_sa on 2002-12-29 19:56:01 +0000
 1.4.2.7  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.4.2.6  31-Oct-2004  skrll Fix comment that describe the argument structures.
 1.4.2.5  21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.2.4  18-Sep-2004  skrll Sync with HEAD.
 1.4.2.3  24-Aug-2004  skrll Undo part of the ktrace/lwp changes. In particular:
* Remove the "lwp *" argument that was added to vget(). Turns out
that nothing actually used it!
* Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(),
and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted
above, didn't use it).
* Remove all of the "lwp *" arguments to internal functions that were added
just to appease the above.
 1.4.2.2  03-Aug-2004  skrll Sync with HEAD
 1.4.2.1  02-Jul-2003  darrenr Apply the aborted ktrace-lwp changes to a specific branch. This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it. This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.
 1.7.10.2  04-Oct-2007  bouyer Pull up following revision(s) (requested by pooka in ticket #1849):
sys/fs/msdosfs/msdosfs_denode.c: revision 1.24
Release vnode being created in error branch instead of leaving it
locked. Ideally the function should be rewritten to do things in
a different order, but this tries to keep changes minimal aiming
for a possible netbsd-4 pullup.
fixes PR kern/37034
 1.7.10.1  24-Aug-2005  riz Pull up following revision(s) (requested by yamt in ticket #688):
sys/miscfs/genfs/genfs_vnops.c: revision 1.98 via patch
sys/ufs/ffs/ffs_vfsops.c: revision 1.165
sys/ufs/lfs/lfs_extern.h: revision 1.69
sys/fs/filecorefs/filecore_vfsops.c: revision 1.20
sys/nfs/nfs_node.c: revision 1.80
sys/fs/smbfs/smbfs_node.c: revision 1.24
sys/fs/cd9660/cd9660_vfsops.c: revision 1.24
sys/fs/msdosfs/msdosfs_denode.c: revision 1.8
sys/miscfs/genfs/genfs_node.h: revision 1.6
sys/ufs/lfs/lfs_vfsops.c: revision 1.183
sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.86
sys/fs/adosfs/advfsops.c: revision 1.23
sys/fs/ntfs/ntfs_vfsops.c: revision 1.31
- constify genfs_ops.
- use member designators.

sys/miscfs/genfs/genfs_vnops.c: revision 1.99 via patch
genfs_getpages: don't forget to put the vnode onto the syncer's work que
ue
even in the case of PGO_LOCKED.

sys/uvm/uvm_bio.c: revision 1.40
sys/uvm/uvm_pager.h: revision 1.29
sys/miscfs/genfs/genfs_vnops.c: revision 1.100 via patch
sys/ufs/ufs/ufs_inode.c: revision 1.50
- introduce PGO_NOBLOCKALLOC and use it for ubc mapping
to prevent unnecessary block allocations in the case that
page size > block size.
- ufs_balloc_range: use VM_PROT_WRITE+PGO_NOBLOCKALLOC rather than
VM_PROT_READ.

sys/uvm/uvm_fault.c: revision 1.96
sys/miscfs/genfs/genfs_vnops.c: revision 1.101 via patch
sys/uvm/uvm_object.h: revision 1.19
sys/miscfs/genfs/genfs_node.h: revision 1.7
ensure that vnodes with dirty pages are always on syncer's queue.
- genfs_putpages: wait for i/o completion of PG_RELEASED/PG_PAGEOUT pages by
setting "wasclean" false when encountering them.
suggested by Stephan Uphoff in PR/24596 (1).
- genfs_putpages: write protect pages when cleaning out, if
we're going to take the vnode off the syncer's queue.
uvm_fault: don't write-map pages unless its vnode is already on
the syncer's queue.
fix PR/24596 (3) but in the different way from the suggested fix.
(to keep our current behaviour, ie. not to require explicit msync.
discussed on tech-kern@.)
- genfs_putpages: don't mistakenly take a vnode off the queue
by introducing a generation number in genfs_node.
genfs_getpages: increment the generation number.
suggested by Stephan Uphoff in PR/24596 (2).
- add some assertions.

sys/miscfs/genfs/genfs_vnops.c: revision 1.102 via patch
genfs_putpages: don't bother to clean the vnode unless VONWORKLST.

sys/ufs/ffs/ffs_vnops.c: revision 1.71
ffs_full_fsync: because VBLK/VCHR can be mmap'ed,
do VOP_PUTPAGES for them as well.

sys/uvm/uvm_fault.c: revision 1.97
uvm_fault: check a correct object in the case of layered filesystems.
fix PR/30811 from Jukka Salmi.

sys/uvm/uvm_object.h: revision 1.20
sys/ufs/ffs/ffs_vfsops.c: revision 1.167
sys/uvm/uvm_bio.c: revision 1.41
sys/ufs/ufs/ufs_vnops.c: revision 1.129
sys/uvm/uvm_mmap.c: revision 1.92
sys/uvm/uvm_fault.c: revision 1.98
sys/kern/vfs_subr.c: revision 1.252
sys/fs/msdosfs/denode.h: revision 1.5
sys/miscfs/genfs/genfs_vnops.c: revision 1.103 via patch
sys/fs/msdosfs/msdosfs_denode.c: revision 1.9
sys/sys/vnode.h: revision 1.141
sys/ufs/ufs/ufs_inode.c: revision 1.51
sys/ufs/ufs/ufs_extern.h: revision 1.45 via patch
sys/miscfs/genfs/genfs_node.h: revision 1.8
sys/ufs/lfs/lfs_vfsops.c: revision 1.184
sys/uvm/uvm_pager.h: revision 1.30
sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.87
update file timestamps for nfsd loaned-read and mmap.
PR/25279. discussed on tech-kern@.

sys/miscfs/genfs/genfs_vnops.c: revision 1.104 via patch
don't write-protect wired pages. pointed by Chuck Silvers.
for now, leave a vnode on the syncer's queue, as suggested by him.

sys/ufs/ffs/ffs_vnops.c: revision 1.72
revert VCHR part of ffs_vnops.c 1.71.
as VCHR uses the device pager, no point to call VOP_PUTPAGES here.
pointed by Chuck Silvers.
 1.8.2.7  21-Jan-2008  yamt sync with head
 1.8.2.6  07-Dec-2007  yamt sync with head
 1.8.2.5  27-Oct-2007  yamt sync with head.
 1.8.2.4  03-Sep-2007  yamt sync with head.
 1.8.2.3  26-Feb-2007  yamt sync with head.
 1.8.2.2  30-Dec-2006  yamt sync with head.
 1.8.2.1  21-Jun-2006  yamt sync with head.
 1.10.2.1  20-Oct-2005  yamt adapt msdosfs.
 1.12.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.12.10.3  06-May-2006  christos - Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
that need it.

Approved by core.
 1.12.10.2  19-Apr-2006  elad sync with head.
 1.12.10.1  08-Mar-2006  elad Adapt to kernel authorization KPI.
 1.12.8.1  24-May-2006  yamt sync with head.
 1.12.6.2  01-Jun-2006  kardel Sync with head.
 1.12.6.1  22-Apr-2006  simonb Sync with head.
 1.12.4.1  09-Sep-2006  rpaulo sync with head
 1.14.10.2  10-Dec-2006  yamt sync with head.
 1.14.10.1  22-Oct-2006  yamt sync with head
 1.14.8.2  12-Jan-2007  ad Sync with head.
 1.14.8.1  18-Nov-2006  ad Sync with head.
 1.17.6.1  30-Sep-2007  wrstuden Catch up w/ last night's netbsd-4
 1.17.4.3  24-Mar-2007  yamt sync with head.
 1.17.4.2  12-Mar-2007  rmind Sync with HEAD.
 1.17.4.1  27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.17.2.1  29-Sep-2007  xtraeme Pull up following revision(s) (requested by pooka in ticket #909):
sys/fs/msdosfs/msdosfs_denode.c: revision 1.24

Release vnode being created in error branch instead of leaving it
locked. Ideally the function should be rewritten to do things in
a different order, but this tries to keep changes minimal aiming
for a possible netbsd-4 pullup.
fixes PR kern/37034
 1.19.2.10  25-Oct-2007  ad Fix up mnt_vnodelist handling.
 1.19.2.9  09-Oct-2007  ad Sync with head.
 1.19.2.8  09-Oct-2007  ad Sync with head.
 1.19.2.7  16-Sep-2007  ad Checkpoint work in progress on the vnode lifecycle and reference counting
stuff. This makes it work properly without kernel_lock and fixes a few
quite old bugs. See vfs_subr.c 1.283.2.17 for details.
 1.19.2.6  20-Aug-2007  ad Sync with HEAD.
 1.19.2.5  15-Jul-2007  ad Sync with head.
 1.19.2.4  17-Jun-2007  ad - Increase the number of thread priorities from 128 to 256. How the space
is set up is to be revisited.
- Implement soft interrupts as kernel threads. A generic implementation
is provided, with hooks for fast-path MD code that can run the interrupt
threads over the top of other threads executing in the kernel.
- Split vnode::v_flag into three fields, depending on how the flag is
locked (by the interlock, by the vnode lock, by the file system).
- Miscellaneous locking fixes and improvements.
 1.19.2.3  13-May-2007  ad - Pass the error number and residual count to biodone(), and let it handle
setting error indicators. Prepare to eliminate B_ERROR.
- Add a flag argument to brelse() to be set into the buf's flags, instead
of doing it directly. Typically used to set B_INVAL.
- Add a "struct cpu_info *" argument to kthread_create(), to be used to
create bound threads. Change "bool mpsafe" to "int flags".
- Allow exit of LWPs in the IDL state when (l != curlwp).
- More locking fixes & conversion to the new API.
 1.19.2.2  13-Mar-2007  ad Pull in the initial set of changes for the vmlocking branch.
 1.19.2.1  13-Mar-2007  ad Sync with head.
 1.20.4.1  09-Dec-2007  reinoud Pullup to HEAD
 1.20.2.1  11-Jul-2007  mjf Sync with head.
 1.21.2.1  15-Aug-2007  skrll Sync with HEAD.
 1.22.10.2  23-Jul-2007  pooka Also set writesize when creating node.

noticed by Markus W Kilbinger
 1.22.10.1  23-Jul-2007  pooka file msdosfs_denode.c was added on branch matt-mips64 on 2007-07-23 11:05:48 +0000
 1.22.8.2  14-Oct-2007  yamt sync with head.
 1.22.8.1  06-Oct-2007  yamt sync with head.
 1.22.6.3  23-Mar-2008  matt sync with HEAD
 1.22.6.2  09-Jan-2008  matt sync with HEAD
 1.22.6.1  06-Nov-2007  matt sync with HEAD
 1.22.4.4  09-Dec-2007  jmcneill Sync with HEAD.
 1.22.4.3  27-Nov-2007  joerg Sync with HEAD. amd64 Xen support needs testing.
 1.22.4.2  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.22.4.1  02-Oct-2007  joerg Sync with HEAD.
 1.26.4.3  18-Feb-2008  mjf Sync with HEAD.
 1.26.4.2  27-Dec-2007  mjf Sync with HEAD.
 1.26.4.1  08-Dec-2007  mjf Sync with HEAD.
 1.27.2.2  08-Dec-2007  ad Sync with head.
 1.27.2.1  04-Dec-2007  ad Pull the vmlocking changes into a new branch.
 1.28.4.2  19-Jan-2008  bouyer Sync with HEAD
 1.28.4.1  02-Jan-2008  bouyer Sync with HEAD
 1.31.10.4  11-Aug-2010  yamt sync with head.
 1.31.10.3  11-Mar-2010  yamt sync with head
 1.31.10.2  04-May-2009  yamt sync with head.
 1.31.10.1  16-May-2008  yamt sync with head.
 1.31.8.1  18-May-2008  yamt sync with head.
 1.31.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.32.2.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.33.12.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.33.6.1  28-Apr-2009  skrll Sync with HEAD.
 1.37.4.7  31-May-2011  rmind sync with head
 1.37.4.6  19-May-2011  rmind Implement sharing of vnode_t::v_interlock amongst vnodes:
- Lock is shared amongst UVM objects using uvm_obj_setlock() or getnewvnode().
- Adjust vnode cache to handle unsharing, add VI_LOCKSHARE flag for that.
- Use sharing in tmpfs and layerfs for underlying object.
- Simplify locking in ubc_fault().
- Sprinkle some asserts.

Discussed with ad@.
 1.37.4.5  21-Apr-2011  rmind sync with head
 1.37.4.4  05-Mar-2011  rmind sync with head
 1.37.4.3  03-Jul-2010  rmind sync with head
 1.37.4.2  30-May-2010  rmind sync with head
 1.37.4.1  16-Mar-2010  rmind Change struct uvm_object::vmobjlock to be dynamically allocated with
mutex_obj_alloc(). It allows us to share the locks among UVM objects.
 1.37.2.2  17-Aug-2010  uebayasi Sync with HEAD.
 1.37.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.40.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.44.2.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.46.12.4  03-Dec-2017  jdolecek update from HEAD
 1.46.12.3  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.46.12.2  25-Feb-2013  tls resync with head
 1.46.12.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.46.2.2  23-Jan-2013  yamt sync with head
 1.46.2.1  16-Jan-2013  yamt sync with (a bit old) head
 1.48.10.1  10-Aug-2014  tls Rebase.
 1.50.4.3  28-Aug-2017  skrll Sync with HEAD
 1.50.4.2  05-Oct-2016  skrll Sync with HEAD
 1.50.4.1  06-Apr-2015  skrll Sync with HEAD
 1.51.2.2  26-Apr-2017  pgoyette Sync with HEAD
 1.51.2.1  20-Mar-2017  pgoyette Sync with HEAD
 1.52.2.1  21-Apr-2017  bouyer Sync with HEAD
 1.56.8.1  25-Jun-2018  pgoyette Sync with HEAD
 1.57.12.2  25-Apr-2020  bouyer Sync with bouyer-xenpvh-base2 (HEAD)
 1.57.12.1  20-Apr-2020  bouyer Sync with HEAD
 1.57.2.1  21-Apr-2020  martin Sync with HEAD

RSS XML Feed