The NetBSD Project

CVS log for src/sys/kern/kern_module_vfs.c

[BACK] Up to [cvs.netbsd.org] / src / sys / kern

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.12 / (download) - annotate - [select for diffs], Wed Sep 14 12:30:20 2011 UTC (8 months, 1 week ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, netbsd-6-base, netbsd-6, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, HEAD
Changes since 1.11: +6 -10 lines
Diff to previous 1.11 (colored)

- don't if then else the same thing. print a more meaningful message
- don't leak a dictionary on failure
- minor KNF

Revision 1.11 / (download) - annotate - [select for diffs], Sat Aug 6 08:11:09 2011 UTC (9 months, 2 weeks ago) by mbalmer
Branch: MAIN
Changes since 1.10: +15 -9 lines
Diff to previous 1.10 (colored)

Do not not look for modules in the current working directory first.  This is
to prevent from accidentally loading ./module.kmod when we actually wanted to
load module from the system module area.

To load a module from a filesystem path, the module name must contain at
least on path separator character (/), to load a module from the system
module areas, the name must not contain a path separator character:

modload ./mymod.kmod      # loads mymod.kmod from the curren directory
modload mymod             # loads mymod.kmod from the system module area

Revision 1.3.4.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:15 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.3.4.2: +44 -17 lines
Diff to previous 1.3.4.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

sync with head

Revision 1.10 / (download) - annotate - [select for diffs], Sun Nov 28 00:26:38 2010 UTC (17 months, 4 weeks ago) by jnemeth
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.9: +7 -7 lines
Diff to previous 1.9 (colored)

Rename the autoloaded property list from <module>.prop to <module>.plist
as discussed on tech-kern.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Nov 19 06:44:43 2010 UTC (18 months ago) by dholland
Branch: MAIN
Changes since 1.8: +20 -10 lines
Diff to previous 1.8 (colored)

Introduce struct pathbuf. This is an abstraction to hold a pathname
and the metadata required to interpret it. Callers of namei must now
create a pathbuf and pass it to NDINIT (instead of a string and a
uio_seg), then destroy the pathbuf after the namei session is
complete.

Update all namei call sites accordingly. Add a pathbuf(9) man page and
update namei(9).

The pathbuf interface also now appears in a couple of related
additional places that were passing string/uio_seg pairs that were
later fed into NDINIT. Update other call sites accordingly.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Nov 18 09:50:47 2010 UTC (18 months, 1 week ago) by jnemeth
Branch: MAIN
Changes since 1.7: +21 -4 lines
Diff to previous 1.7 (colored)

if autoloading check for a noautoload=true property and if found,
deny the autoload

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:28 2010 UTC (21 months, 1 week ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.2.2.1: +7 -1 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:39 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.3.2.2: +14 -13 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

sync with head.

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:53 2010 UTC (22 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.3.4.1: +3 -3 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored)

sync with head

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:11 2010 UTC (23 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

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.

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:57 2010 UTC (23 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.3: +13 -12 lines
Diff to previous 1.3 (colored)

sync with head

Revision 1.6 / (download) - annotate - [select for diffs], Mon May 24 16:37:17 2010 UTC (2 years ago) by pgoyette
Branch: MAIN
Changes since 1.5: +2 -4 lines
Diff to previous 1.5 (colored)

Move definition of module_load_vfs_vec from kern_module_vfs.c to
kern_module.c - keeps rump happy.

Thanks, pooka!

Revision 1.5 / (download) - annotate - [select for diffs], Mon May 24 15:34:49 2010 UTC (2 years ago) by pgoyette
Branch: MAIN
Changes since 1.4: +10 -2 lines
Diff to previous 1.4 (colored)

Clean up kern_module.c rev 1.66, thanks to pooka@ for review & suggestions

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:09 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.2: +9 -13 lines
Diff to previous 1.2 (colored)

Sync with HEAD.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Apr 4 17:18:04 2010 UTC (2 years, 1 month ago) by jnemeth
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.3: +7 -12 lines
Diff to previous 1.3 (colored)

don't leak a vnode and don't call namei (implicitly) twice

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:17 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.3.2.1: +202 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)

sync with head

Revision 1.3.2.1, Tue Feb 16 05:47:52 2010 UTC (2 years, 3 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.3: +0 -202 lines
FILE REMOVED

file kern_module_vfs.c was added on branch yamt-nfs-mp on 2010-03-11 15:04:17 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Tue Feb 16 05:47:52 2010 UTC (2 years, 3 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: yamt-nfs-mp, rmind-uvmplock
Changes since 1.2: +5 -4 lines
Diff to previous 1.2 (colored)

Don't inspect vn_stat() results until after checking that it succeeded.
If anyone's been seeing random "File too large" results from module loading,
this should fix it.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jan 19 22:17:44 2010 UTC (2 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.1: +9 -9 lines
Diff to previous 1.1 (colored)

Rename a few routines from _file() to _vfs() for consistency.
Ride 5.99.24 bump.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Nov 18 17:40:45 2009 UTC (2 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: matt-premerge-20091211

* make it possible to include kern_module in a kernel without vfs
  support, i.e. move vfs functionality to a separate module
  (kern_module_vfs.c)
* make module proplist size an MI constant (now 8k) instead of PAGE_SIZE
* change some error values to something else than the karmic EINVAL

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>