The NetBSD Project

CVS log for src/sys/dev/ccd.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.189.4.1: download - view: text, markup, annotated - select for diffs
Thu Apr 18 18:24:31 2024 UTC (7 months, 3 weeks ago) by martin
Branches: netbsd-10
Diff to: previous 1.189: preferred, colored; next MAIN 1.190: preferred, colored
Changes since revision 1.189: +43 -41 lines
Pull up following revision(s) (requested by hannken in ticket #669):

	sys/dev/ccd.c: revision 1.190

Using a ccd(4) with GPT (dk* at ccd*) the disk framework will call
ccdstrategy() -> ccdstart() -> ccdbuffer()  from softint context.

Allocating the buffer with PR_WAITOK here is forbidden.

Change ccdstart() / ccdbuffer() to report failure back to caller and
pass PR_WAITOK / PR_NOWAIT as an additional argument.

Call ccdstart() with PR_NOPWAIT from ccdstrategy() and on error defer
to the kthread.  Call ccdstart() with PR_WAITOK from kthread so requests
from kthread always succeed to allocate the buffers.

Remove the (non working) throttling on low memory as it is no longer needed.

Fixes PR kern/58043 "kernel crash in assert_sleepable() in -current,
dk(4) driver?"

Revision 1.191: download - view: text, markup, annotated - select for diffs
Fri Apr 12 05:04:02 2024 UTC (8 months ago) by pgoyette
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.190: preferred, colored
Changes since revision 1.190: +9 -7 lines
Repair handling of ccd sysctls to not use newp as an index.

This is a work-around for kern/58051.  It is not a complete fix.

Revision 1.190: download - view: text, markup, annotated - select for diffs
Sun Mar 31 14:56:41 2024 UTC (8 months, 1 week ago) by hannken
Branches: MAIN
Diff to: previous 1.189: preferred, colored
Changes since revision 1.189: +43 -41 lines
Using a ccd(4) with GPT (dk* at ccd*) the disk framework will call
ccdstrategy() -> ccdstart() -> ccdbuffer()  from softint context.
Allocating the buffer with PR_WAITOK here is forbidden.

Change ccdstart() / ccdbuffer() to report failure back to caller and
pass PR_WAITOK / PR_NOWAIT as an additional argument.

Call ccdstart() with PR_NOPWAIT from ccdstrategy() and on error defer
to the kthread.  Call ccdstart() with PR_WAITOK from kthread so requests
from kthread always succeed to allocate the buffers.

Remove the (non working) throttling on low memory as it is no longer needed.

Fixes PR kern/58043 "kernel crash in assert_sleepable() in -current,
dk(4) driver?"

Revision 1.189: download - view: text, markup, annotated - select for diffs
Mon Mar 28 12:48:35 2022 UTC (2 years, 8 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.188: preferred, colored
Changes since revision 1.188: +3 -3 lines
sys/dev/ccd.c: Restore historic RCS id.

This got munged accidentally by `git cvsexportcommit -k' -- taking
that option out of my commitbomb script!

Revision 1.188: download - view: text, markup, annotated - select for diffs
Mon Mar 28 12:33:20 2022 UTC (2 years, 8 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.187: preferred, colored
Changes since revision 1.187: +4 -4 lines
driver(9): devsw_detach never fails.  Make it return void.

Prune a whole lotta dead branches as a result of this.  (Some logic
calling this is also wrong for other reasons; devsw_detach is final
-- you should never have any reason to decide to roll it back.  To be
cleaned up in subsequent commits...)

XXX kernel ABI change to devsw_detach signature requires bump

Revision 1.187: download - view: text, markup, annotated - select for diffs
Sat Mar 12 17:27:50 2022 UTC (2 years, 9 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.186: preferred, colored
Changes since revision 1.186: +3 -3 lines
ccd(4): Only pathbuf_destroy if pathbuf_copyin succeeded.

Reported-by: syzbot+a46aadc788a80afc8742@syzkaller.appspotmail.com

Revision 1.186: download - view: text, markup, annotated - select for diffs
Fri Feb 11 23:20:09 2022 UTC (2 years, 9 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.185: preferred, colored
Changes since revision 1.185: +3 -3 lines
ccd(4): Fix typo in comment.

Revision 1.179.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 11 12:34:29 2020 UTC (4 years, 2 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Diff to: previous 1.179: preferred, colored; next MAIN 1.180: preferred, colored
Changes since revision 1.179: +122 -100 lines
Pull up following revision(s) (requested by mlelstv in ticket #1110):

	sys/dev/dkwedge/dk.c: revision 1.102
	sys/dev/ccd.c: revision 1.185
	sbin/ccdconfig/ccdconfig.c: revision 1.58

Use raw device for configuring units. This is necessary as
having a block device opened prevents autodiscovery of wedges.

Fix ioctl locking. Add dkdriver.

Check dkdriver before calling a driver function.

Revision 1.185: download - view: text, markup, annotated - select for diffs
Tue Oct 6 18:45:23 2020 UTC (4 years, 2 months ago) by mlelstv
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +122 -100 lines
Fix ioctl locking. Add dkdriver.

Revision 1.184: download - view: text, markup, annotated - select for diffs
Thu Jun 11 19:20:46 2020 UTC (4 years, 6 months ago) by ad
Branches: MAIN
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +3 -3 lines
uvm_availmem(): give it a boolean argument to specify whether a recent
cached value will do, or if the very latest total must be fetched.  It can
be called thousands of times a second and fetching the totals impacts not
only the calling LWP but other CPUs doing unrelated activity in the VM
system.

Revision 1.176.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:18 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.176.2.2: preferred, colored; branchpoint 1.176: preferred, colored; next MAIN 1.177: preferred, colored
Changes since revision 1.176.2.2: +0 -6 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.176.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:02 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.176.2.1: preferred, colored; branchpoint 1.176: preferred, colored
Changes since revision 1.176.2.1: +4 -4 lines
Merge changes from current as of 20200406

Revision 1.183: download - view: text, markup, annotated - select for diffs
Tue Dec 31 13:07:13 2019 UTC (4 years, 11 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +3 -3 lines
Rename uvm_free() -> uvm_availmem().

Revision 1.182: download - view: text, markup, annotated - select for diffs
Sat Dec 21 13:00:24 2019 UTC (4 years, 11 months ago) by ad
Branches: MAIN
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +3 -3 lines
uvmexp.free -> uvm_free()

Revision 1.181: download - view: text, markup, annotated - select for diffs
Sun Dec 8 12:14:40 2019 UTC (5 years ago) by mlelstv
Branches: MAIN
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +3 -3 lines
Switch to vn_bdev_open* functions.

Revision 1.180: download - view: text, markup, annotated - select for diffs
Wed Aug 7 00:38:01 2019 UTC (5 years, 4 months ago) by pgoyette
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +2 -8 lines
Many years ago someone created a new __link_set_sysctl_funcs to hold
the list of routines that need to be called for setting up sysctl
variables.  This worked great for all code included in the kernel
itself, but didn't deal with modules that want to create their own
sysctl data.  So, we ended up with a lot of #ifdef _MODULE blocks
so modules could explicitly call their setup functions when loaded
as non-built-in modules.

So today, we complete the task that was started so many years ago.

When modules are loaded, after we've called xxx_modcmd(INIT...) we
check if the module contains its own __link_set_sysctl_funcs, and
if so we call the functions listed.  We add a struct sysctllog member
to the struct module so we can call sysctl_teardown() when the module
gets unloaded.  (The sequence of events ensures that the sysctl stuff
doesn't get created until the rest of the module's init code does any
required memory allocation.)

So, no more need to explicitly call the sysctl setup routines when
built as a loadable module.

Revision 1.176.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:04 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +12 -5 lines
Sync with HEAD

Revision 1.172.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 5 08:40:19 2019 UTC (5 years, 8 months ago) by msaitoh
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Diff to: previous 1.172: preferred, colored; next MAIN 1.173: preferred, colored
Changes since revision 1.172: +3 -2 lines
Pull up following revision(s) (requested by martin in ticket #1223):
	sys/sys/dkio.h: revision 1.25
	sys/kern/subr_disk.c: revision 1.123
	sys/dev/dksubr.c: revision 1.107
	sys/dev/ccd.c: revision 1.179
	sys/dev/ofw/ofdisk.c: revision 1.53
Add a disk ioctl DIOCRMWEDGES to remove all wedges of a given disk
(if not busy).

Revision 1.179: download - view: text, markup, annotated - select for diffs
Wed Mar 27 19:13:34 2019 UTC (5 years, 8 months ago) by martin
Branches: MAIN
CVS tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +3 -2 lines
Add a disk ioctl DIOCRMWEDGES to remove all wedges of a given disk
(if not busy).

Revision 1.178: download - view: text, markup, annotated - select for diffs
Fri Mar 1 11:06:56 2019 UTC (5 years, 9 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +4 -4 lines
Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.

NFCI intended.

Ride the earlier kernel bump - it;s getting crowded.

Revision 1.177: download - view: text, markup, annotated - select for diffs
Sun Jan 27 02:08:41 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +11 -5 lines
Merge the [pgoyette-compat] branch

Revision 1.175.2.12: download - view: text, markup, annotated - select for diffs
Tue Jan 22 07:42:40 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.175.2.11: preferred, colored; branchpoint 1.175: preferred, colored; next MAIN 1.176: preferred, colored
Changes since revision 1.175.2.11: +10 -19 lines
Convert the MODULE_{,VOID_}HOOK_CALL macros to do everything in-line
rather than defining an intermediate hook##call function.  Almost
all of the hooks are called only once, and although we lose the
ability of doing things like

	if (MODULE_HOOK_CALL(...) == 0) ...

we simplify things quite a bit.  With this change, we no longer need
to have both declaration and definition macros, and the definition
no longer needs to have both prototype argument list and a "real"
argument list.

FWIW, the above if now needs to written as

	int ret;

	MODULE_HOOK_CALL(..., ret);
	if (ret == 0) ...

with appropriate use of braces {}.

Revision 1.175.2.11: download - view: text, markup, annotated - select for diffs
Fri Jan 18 00:01:01 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.175.2.10: preferred, colored; branchpoint 1.175: preferred, colored
Changes since revision 1.175.2.10: +8 -8 lines
Don't restrict hooks to having only int or void types.  Pass the hook's
type to the various macros, as needed.

Allows us to reduce diffs to original in at least one or two places (we
no longer have to provide an additional parameter to the hook routine
for returning a non-int return value).

Revision 1.175.2.10: download - view: text, markup, annotated - select for diffs
Mon Jan 14 13:34:27 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.175.2.9: preferred, colored; branchpoint 1.175: preferred, colored
Changes since revision 1.175.2.9: +4 -4 lines
Create a variant of the HOOK macros that handles hook routines of
type void, and use them where appropriate.

Revision 1.175.2.9: download - view: text, markup, annotated - select for diffs
Sun Jan 13 10:49:50 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.175.2.8: preferred, colored; branchpoint 1.175: preferred, colored
Changes since revision 1.175.2.8: +6 -6 lines
Remove the HOOK2 versions of the MODULE_HOOK macros.  There were
only a few uses, and using them led to some lack of clarity in the
code.  Instead, we now use two separate hooks, with names that
make it clear(er) what we're doing.

This also positions us to start unraveling some of the rtsock_50
mess, which will need (at least) five hooks.

Revision 1.175.2.8: download - view: text, markup, annotated - select for diffs
Sat Sep 29 21:36:14 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.175.2.7: preferred, colored; branchpoint 1.175: preferred, colored
Changes since revision 1.175.2.7: +3 -4 lines
In MODULE_HOOK_CALL_DECL we don't need to provide the actual argument
list for calling the hook function, nor do we need to provide the
default value (for when the hook has not been set).

Revision 1.175.2.7: download - view: text, markup, annotated - select for diffs
Tue Sep 18 23:03:54 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.175.2.6: preferred, colored; branchpoint 1.175: preferred, colored
Changes since revision 1.175.2.6: +4 -4 lines
The COMPAT_HOOK macros were renamed to MODULE_HOOK, adjust all callers

Revision 1.175.2.6: download - view: text, markup, annotated - select for diffs
Tue Sep 18 01:15:57 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.175.2.5: preferred, colored; branchpoint 1.175: preferred, colored
Changes since revision 1.175.2.5: +6 -2 lines
Split the COMPAT_CALL_HOOK to separate the declaration from the
implementation.  Some hooks are called from multiple source files,
and the old method resulted in duplicate implementations.

Implement MP-safe hooks for the usb_subr_30 code.  Pass the helper
functions as arguments to the compat code so it does not have to
determine if the kernel contains usb code.

Revision 1.175.2.5: download - view: text, markup, annotated - select for diffs
Sun Sep 16 04:57:22 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.175.2.4: preferred, colored; branchpoint 1.175: preferred, colored
Changes since revision 1.175.2.4: +15 -4 lines
Yay - we got the ccd_ioctl_60 stuff to build!

Now we can use that as a template for cleaning up all the others.

Revision 1.175.2.4: download - view: text, markup, annotated - select for diffs
Fri Mar 23 09:22:24 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.175.2.3: preferred, colored; branchpoint 1.175: preferred, colored
Changes since revision 1.175.2.3: +2 -5 lines
Remove definition of compat_ccd_ioctl_60() - this is now defined in
sys/kern/compat_stub.c (sync/merge botch)

Revision 1.175.2.3: download - view: text, markup, annotated - select for diffs
Thu Mar 22 01:44:48 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.175.2.2: preferred, colored; branchpoint 1.175: preferred, colored
Changes since revision 1.175.2.2: +5 -2 lines
Synch with HEAD, resolve conflicts

Revision 1.175.2.2: download - view: text, markup, annotated - select for diffs
Tue Mar 20 08:11:25 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.175.2.1: preferred, colored; branchpoint 1.175: preferred, colored
Changes since revision 1.175.2.1: +3 -5 lines
Initial implementation of sys/kern/kern_stup.c as discussed on tech-kern

For now, we only handle the dev/ccd and NTP needs;  more to follow.

Revision 1.175.2.1: download - view: text, markup, annotated - select for diffs
Sun Mar 18 21:41:31 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +11 -44 lines
Import compat_60 changes for dev/ccd

Revision 1.176: download - view: text, markup, annotated - select for diffs
Sun Mar 18 20:33:52 2018 UTC (6 years, 8 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +11 -48 lines
factor out the ccd COMPAT_60 code.

Revision 1.175: download - view: text, markup, annotated - select for diffs
Tue Jan 23 22:42:29 2018 UTC (6 years, 10 months ago) by pgoyette
Branches: MAIN
CVS tags: pgoyette-compat-base, pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +3 -3 lines
Add "bufq_fcfs" requirement to all those driver modules that explicitly
request it in their calls to bufq_alloc().

Revision 1.174: download - view: text, markup, annotated - select for diffs
Tue Dec 19 03:31:12 2017 UTC (6 years, 11 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +3 -3 lines
Ooppss, need an ampersand call calling LIST_EMPTY() macro

Revision 1.173: download - view: text, markup, annotated - select for diffs
Tue Dec 19 03:24:09 2017 UTC (6 years, 11 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +3 -6 lines
There is currently a counter nactive which tracks the INSERT and REMOVE
of entries in the ccds LIST.

Since the counter is checked only when the ccd module is being unloaded,
remove the counter completely and just check for LIST_EMPTY(ccds).

No functional change intended.

Revision 1.143.10.4: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:58 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.143.10.3: preferred, colored; branchpoint 1.143: preferred, colored; next MAIN 1.144: preferred, colored
Changes since revision 1.143.10.3: +222 -67 lines
update from HEAD

Revision 1.154.2.6: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:00 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.154.2.5: preferred, colored; branchpoint 1.154: preferred, colored; next MAIN 1.155: preferred, colored
Changes since revision 1.154.2.5: +51 -15 lines
Sync with HEAD

Revision 1.172: download - view: text, markup, annotated - select for diffs
Thu Jun 1 02:45:08 2017 UTC (7 years, 6 months ago) by chs
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: netbsd-8
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +3 -14 lines
remove checks for failure after memory allocation calls that cannot fail:

  kmem_alloc() with KM_SLEEP
  kmem_zalloc() with KM_SLEEP
  percpu_alloc()
  pserialize_create()
  psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.

Revision 1.171.4.2: download - view: text, markup, annotated - select for diffs
Sat Apr 29 10:50:46 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.171.4.1: preferred, colored; branchpoint 1.171: preferred, colored; next MAIN 1.172: preferred, colored
Changes since revision 1.171.4.1: +2 -3 lines
Remove explicit inclusion of <sys/localcount.h> since there is no
explicit usage of localcounts here.  <sys/conf.h> will take care of
including as needed.

Revision 1.171.4.1: download - view: text, markup, annotated - select for diffs
Sat Apr 29 09:17:58 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +5 -2 lines
Add DEVSW_MODULE_INIT to existing device-driver modules, so that they
willl have a localcount defined and thus be permitted to load.  Without
a localcount, loading the module will return EINVAL.

XXX the dtrace and drm stuff might need to be fed back upstream?

Revision 1.166.2.3: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:53:10 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.166.2.2: preferred, colored; branchpoint 1.166: preferred, colored; next MAIN 1.167: preferred, colored
Changes since revision 1.166.2.2: +48 -2 lines
Sync with HEAD

Revision 1.168.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:44 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.168: preferred, colored; next MAIN 1.169: preferred, colored
Changes since revision 1.168: +50 -3 lines
Sync with HEAD

Revision 1.171: download - view: text, markup, annotated - select for diffs
Wed Apr 5 18:34:56 2017 UTC (7 years, 8 months ago) by jdolecek
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, pgoyette-localcount-20170426, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: prg-localcount2
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +3 -3 lines
introduce DKCACHE_COMBINE() macro - it combines the flags in a way that
all common flags are retained, and flags regarding write cache are preserved
if either of the devices has it; callers can thus rely on write cache not
being possible to be used when both flags are missing

use the new macro for ccd(4)

Revision 1.170: download - view: text, markup, annotated - select for diffs
Thu Mar 30 16:50:32 2017 UTC (7 years, 8 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +48 -2 lines
support DIOCGCACHE - result is intersection of flags returned by underlying
devices; devices can't be added or removed, so the feature flags remain
static

add support for DIOCGSTRATEGY while here, mainly to make dkctl(8) output neater

Revision 1.166.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:27 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.166.2.1: preferred, colored; branchpoint 1.166: preferred, colored
Changes since revision 1.166.2.1: +4 -3 lines
Sync with HEAD

Revision 1.169: download - view: text, markup, annotated - select for diffs
Sun Mar 5 23:07:12 2017 UTC (7 years, 9 months ago) by mlelstv
Branches: MAIN
CVS tags: pgoyette-localcount-20170320
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +4 -3 lines
Enhance disk metrics by calculating a weighted sum that is incremented
by the number of concurrent I/O requests. Also introduce a new disk_wait()
function to measure requests waiting in a bufq.
iostat -y now reports data about waiting and active requests.

So far only drivers using dksubr and dk, ccd, wd and xbd collect data about
waiting requests.

Revision 1.166.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:31 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +4 -3 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.154.2.5: download - view: text, markup, annotated - select for diffs
Mon Dec 5 10:55:01 2016 UTC (8 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.154.2.4: preferred, colored; branchpoint 1.154: preferred, colored
Changes since revision 1.154.2.4: +4 -3 lines
Sync with HEAD

Revision 1.168: download - view: text, markup, annotated - select for diffs
Sun Nov 20 02:35:19 2016 UTC (8 years ago) by pgoyette
Branches: MAIN
CVS tags: pgoyette-localcount-20170107, nick-nhusb-base-20170204, nick-nhusb-base-20161204, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +4 -3 lines
Avoid calling bufq_free() from critical section.

Revision 1.154.2.4: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:39 2016 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.154.2.3: preferred, colored; branchpoint 1.154: preferred, colored
Changes since revision 1.154.2.3: +10 -2 lines
Sync with HEAD

Revision 1.167: download - view: text, markup, annotated - select for diffs
Sun Aug 7 02:40:41 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: MAIN
CVS tags: pgoyette-localcount-20161104, nick-nhusb-base-20161004, localcount-20160914
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +10 -2 lines
Create the kern.ccd sysctl sub-tree when built as a module.  Even though
the contents of the sub-tree are all structures, and thus not displayed
via sysctl(8), the info is potentially useful to programs.  (For example,
ccdconfig could use this to determine how many units are available.)

The sub-tree is already available when the module is included as built-in
module.

Revision 1.154.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:48 2015 UTC (8 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.154.2.2: preferred, colored; branchpoint 1.154: preferred, colored
Changes since revision 1.154.2.2: +3 -3 lines
Sync with HEAD (as of 26th Dec)

Revision 1.166: download - view: text, markup, annotated - select for diffs
Tue Dec 8 20:36:14 2015 UTC (9 years ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226
Branch point for: pgoyette-localcount
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +3 -3 lines
Replace DIOCGPART -> DIOCGPARTINFO which returns the data needed instead of
pointers.

Revision 1.154.2.2: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:56 2015 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.154.2.1: preferred, colored; branchpoint 1.154: preferred, colored
Changes since revision 1.154.2.1: +10 -8 lines
Sync with HEAD

Revision 1.165: download - view: text, markup, annotated - select for diffs
Thu Aug 20 14:40:17 2015 UTC (9 years, 3 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20150921
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +4 -3 lines
include "ioconf.h" to get the 'void <driver>attach(int count);' prototype.

Revision 1.151.2.3: download - view: text, markup, annotated - select for diffs
Fri Jul 31 17:29:45 2015 UTC (9 years, 4 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Diff to: previous 1.151.2.2: preferred, colored; branchpoint 1.151: preferred, colored; next MAIN 1.152: preferred, colored
Changes since revision 1.151.2.2: +3 -2 lines
Pull up following revision(s) (requested by christos in ticket #924):
	sys/dev/ccd.c: revision 1.163
initialized sc_unit (from Riastradh)
XXX: pullup-7

Revision 1.164: download - view: text, markup, annotated - select for diffs
Tue Jul 21 21:42:15 2015 UTC (9 years, 4 months ago) by skrll
Branches: MAIN
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +7 -7 lines
Trailing whitespace.

Revision 1.163: download - view: text, markup, annotated - select for diffs
Thu Jun 18 17:21:55 2015 UTC (9 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +3 -2 lines
initialized sc_unit (from Riastradh)
XXX: pullup-7

Revision 1.154.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:08 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +80 -43 lines
Sync with HEAD

Revision 1.162: download - view: text, markup, annotated - select for diffs
Fri Jan 2 19:42:06 2015 UTC (9 years, 11 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +3 -3 lines
We have three sets of DTYPE_ constants in the kernel:
	altq		Drop 		Type
	disklabel	Disk 		Type
	file		Descriptor	Type
(not to mention constants that contain the string DTYPE).
Let's make them two, by changing the disklabel one to be DisK TYPE since the
other disklabel constants seem to do that. Not many userland programs use
these constants (and the ones that they do are mostly in ifdefs). They will
be fixed shortly.

Revision 1.161: download - view: text, markup, annotated - select for diffs
Wed Dec 31 19:52:05 2014 UTC (9 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +3 -22 lines
make more drivers use disk_ioctl, and add a dev parameter to it so that
we can merge the "easy" disklabel ioctls to it. Ultimately all this will
go do dk_ioctl once all the drivers have been converted.

Revision 1.160: download - view: text, markup, annotated - select for diffs
Wed Dec 31 17:06:48 2014 UTC (9 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +2 -38 lines
Centralize wedge ioctls in disk_ioctl.

Revision 1.159: download - view: text, markup, annotated - select for diffs
Tue Dec 30 20:57:37 2014 UTC (9 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +16 -5 lines
destroy the pool and the mutex when detaching.

Revision 1.158: download - view: text, markup, annotated - select for diffs
Tue Dec 30 20:29:42 2014 UTC (9 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +42 -20 lines
- only create ccd's when we ask them to be created.
- keep track of the number of active ccd's so that we don't modunload and
  crash
- fix formatting.
- don't attach 4, the argument is not used.

Revision 1.157: download - view: text, markup, annotated - select for diffs
Tue Dec 30 19:11:05 2014 UTC (9 years, 11 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +56 -13 lines
Fix locking error.
Clear EPASSTHROUGH return value from disk_ioctl.
Add missing wedge ioctls.

Revision 1.156: download - view: text, markup, annotated - select for diffs
Tue Dec 30 12:42:16 2014 UTC (9 years, 11 months ago) by jnemeth
Branches: MAIN
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +14 -2 lines
Slowly bring this thing kicking and screaming into the 21st century:

- use struct disk_geom
- add wedge support

Revision 1.155: download - view: text, markup, annotated - select for diffs
Tue Dec 30 02:21:10 2014 UTC (9 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +6 -2 lines
call disk_ioctl.

Revision 1.151.2.2: download - view: text, markup, annotated - select for diffs
Tue Nov 11 10:42:22 2014 UTC (10 years, 1 month ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-0-RC2, netbsd-7-0-RC1
Diff to: previous 1.151.2.1: preferred, colored; branchpoint 1.151: preferred, colored
Changes since revision 1.151.2.1: +10 -5 lines
Pull up following revision(s) (requested by mlelstv in ticket #202):
	sys/dev/ccd.c: revision 1.153
	sys/dev/ccd.c: revision 1.154
	sys/dev/raidframe/rf_netbsdkintf.c: revision 1.313
	sys/dev/raidframe/rf_netbsdkintf.c: revision 1.314
	sys/dev/ld.c: revision 1.77
	sys/dev/vnd.c: revision 1.233
	sys/dev/dksubr.c: revision 1.52
	sys/dev/dksubr.c: revision 1.53
clamp total number of sectors to UINT32_MAX instead of providing the
lower 32bit of the 64bit number.
No longer warn about differences bewteen disk size and total sector count
in disklabel when the latter is just clamped to the maximum.

Revision 1.154: download - view: text, markup, annotated - select for diffs
Sat Oct 11 12:36:25 2014 UTC (10 years, 2 months ago) by mlelstv
Branches: MAIN
CVS tags: nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +5 -3 lines
No longer warn about differences bewteen disk size and total sector count
in disklabel when the latter is just clamped to the maximum.

Revision 1.153: download - view: text, markup, annotated - select for diffs
Sat Oct 11 12:01:27 2014 UTC (10 years, 2 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +7 -4 lines
clamp total number of sectors to UINT32_MAX instead of providing the
lower 32bit of the 64bit number.

Revision 1.143.6.1: download - view: text, markup, annotated - select for diffs
Wed Aug 27 14:39:19 2014 UTC (10 years, 3 months ago) by msaitoh
Branches: netbsd-6
Diff to: previous 1.143: preferred, colored; next MAIN 1.144: preferred, colored
Changes since revision 1.143: +72 -9 lines
Pull up following revision(s) (requested by sborrill in ticket #1113):
	sbin/ccdconfig/ccdconfig.c	1.54 via patch
	sys/dev/ccd.c			1.152 via patch
	sys/dev/ccdvar.h		1.34 via patch

Switch size_t to uint64_t in appropriate places to ensure that ccd(4)
works with component and total sizes of > 2TB.
Make kernel print device information when a ccd configured.
Fix some typos in comments.

Revision 1.129.10.2: download - view: text, markup, annotated - select for diffs
Wed Aug 27 05:47:43 2014 UTC (10 years, 3 months ago) by msaitoh
Branches: netbsd-5
Diff to: previous 1.129.10.1: preferred, colored; branchpoint 1.129: preferred, colored; next MAIN 1.130: preferred, colored
Changes since revision 1.129.10.1: +72 -9 lines
Pull up following revision(s) (requested by sborrill in ticket #1919):
	sbin/ccdconfig/ccdconfig.c	1.54 via patch
	sys/dev/ccd.c			1.152 via patch
	sys/dev/ccdvar.h		1.34 via patch

Switch size_t to uint64_t in appropriate places to ensure that ccd(4)
works with component and total sizes of > 2TB.
Make kernel print device information when a ccd configured.
Fix some typos in comments.

Revision 1.143.10.3: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:35 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.143.10.2: preferred, colored; branchpoint 1.143: preferred, colored
Changes since revision 1.143.10.2: +13 -24 lines
Rebase to HEAD as of a few days ago.

Revision 1.151.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 18 12:40:36 2014 UTC (10 years, 3 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +72 -9 lines
Pull up following revision(s) (requested by sborrill in ticket #38):
	sys/dev/ccd.c: revision 1.152
	sbin/ccdconfig/ccdconfig.c: revision 1.54
	sbin/ccdconfig/ccdconfig.c: revision 1.55
	sys/dev/ccdvar.h: revision 1.34
Switch size_t to uint64_t in appropriate places to ensure that ccd(4) works
with component and total sizes of > 2TB.
Add COMPAT_60 code for platforms where this alters userland-accessible
structures.
Make kernel print device information when a ccd configured.
Fix some typos in comments.
Don't print ccd_size with %zu; it no longer has type size_t.
Instead, cast to uintmax_t and print with %ju.

Revision 1.152: download - view: text, markup, annotated - select for diffs
Sat Aug 16 19:27:27 2014 UTC (10 years, 3 months ago) by sborrill
Branches: MAIN
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +72 -9 lines
Switch size_t to uint64_t in appropriate places to ensure that ccd(4) works
with component and total sizes of > 2TB.
Add COMPAT_60 code for platforms where this alters userland-accessible
structures.
Make kernel print device information when a ccd configured.
Fix some typos in comments.

Revision 1.147.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:50 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.147: preferred, colored; next MAIN 1.148: preferred, colored
Changes since revision 1.147: +10 -17 lines
Rebase.

Revision 1.151: download - view: text, markup, annotated - select for diffs
Fri Jul 25 08:10:35 2014 UTC (10 years, 4 months ago) by dholland
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +3 -2 lines
Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.

Revision 1.150: download - view: text, markup, annotated - select for diffs
Fri Jul 25 08:02:19 2014 UTC (10 years, 4 months ago) by dholland
Branches: MAIN
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +3 -2 lines
Add d_discard to all struct bdevsw instances I could find.

I've set them all to nodiscard. Some of them (wd, dk, vnd, ld,
raidframe, maybe cgd) should be implemented for real.

Revision 1.149: download - view: text, markup, annotated - select for diffs
Sat Jun 14 07:39:00 2014 UTC (10 years, 6 months ago) by hannken
Branches: MAIN
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +5 -16 lines
Change dk_lookup() to return an anonymous vnode not associated with
any file system.  Change all consumers of dk_lookup() to get the
device from "v_rdev" instead of VOP_GETATTR() as specfs does not
support VOP_GETATTR().  Devices obtained with dk_lookup() will no
longer disappear on forced unmounts.

Fix for PR kern/48849 (root mirror raid fails on shutdown)

Welcome to 6.99.44

Revision 1.142.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:19 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.142.2.1: preferred, colored; branchpoint 1.142: preferred, colored; next MAIN 1.143: preferred, colored
Changes since revision 1.142.2.1: +267 -59 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.144.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:35 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.144: preferred, colored; next MAIN 1.145: preferred, colored
Changes since revision 1.144: +10 -12 lines
sync with head

Revision 1.148: download - view: text, markup, annotated - select for diffs
Sun Apr 6 00:56:39 2014 UTC (10 years, 8 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +5 -3 lines
Don't destroy locked mutex. Don't access freed memory.

Revision 1.147: download - view: text, markup, annotated - select for diffs
Tue Feb 25 18:30:09 2014 UTC (10 years, 9 months ago) by pooka
Branches: MAIN
CVS tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +2 -8 lines
Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.

Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate
lines of code.

Revision 1.146: download - view: text, markup, annotated - select for diffs
Sat Dec 28 19:44:41 2013 UTC (10 years, 11 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +3 -3 lines
ccd module also needs dk_subr

Revision 1.145: download - view: text, markup, annotated - select for diffs
Thu Sep 12 12:22:40 2013 UTC (11 years, 3 months ago) by martin
Branches: MAIN
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +6 -4 lines
#ifdef a few variable declarations/initializations to match their use

Revision 1.143.10.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:20:16 2013 UTC (11 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.143.10.1: preferred, colored; branchpoint 1.143: preferred, colored
Changes since revision 1.143.10.1: +271 -57 lines
resync from head

Revision 1.144: download - view: text, markup, annotated - select for diffs
Sat Apr 27 17:13:32 2013 UTC (11 years, 7 months ago) by christos
Branches: MAIN
CVS tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900
Branch point for: rmind-smpnet
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +265 -55 lines
- no limit on the number of ccd devices.
- provide sysctl for getting information.

Revision 1.143.10.1: download - view: text, markup, annotated - select for diffs
Sun Dec 2 05:46:39 2012 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +27 -3 lines

Don't pass NULL struct dkdriver to disk_init.  That's seriously bogus.

Revision 1.142.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:25 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +13 -30 lines
sync with head

Revision 1.143: download - view: text, markup, annotated - select for diffs
Sun Nov 13 23:02:46 2011 UTC (13 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, 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-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: tls-maxphys, netbsd-6
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +13 -30 lines
use getdisksize

Revision 1.142: download - view: text, markup, annotated - select for diffs
Fri Oct 14 09:23:29 2011 UTC (13 years, 2 months ago) by hannken
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +6 -3 lines
Change the vnode locking protocol of VOP_GETATTR() to request at least
a shared lock.  Make all calls outside of file systems respect it.

The calls from file systems need review.

No objections from tech-kern.

Revision 1.141: download - view: text, markup, annotated - select for diffs
Mon Jul 4 16:06:45 2011 UTC (13 years, 5 months ago) by joerg
Branches: MAIN
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +3 -3 lines
Fix memset usage.

Revision 1.138.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:54 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.138: preferred, colored; next MAIN 1.139: preferred, colored
Changes since revision 1.138: +15 -14 lines
Catchup with rmind-uvmplock merge.

Revision 1.140: download - view: text, markup, annotated - select for diffs
Tue Jun 21 06:23:38 2011 UTC (13 years, 5 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +12 -11 lines
Adjust the #ifdefs such that ccd(4) and cgd(4) show in
modstat(8) even if built into the kernel.

Revision 1.139: download - view: text, markup, annotated - select for diffs
Sun Jun 12 03:35:51 2011 UTC (13 years, 6 months ago) by rmind
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +5 -5 lines
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.

Revision 1.137.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:07:38 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.137: preferred, colored; next MAIN 1.138: preferred, colored
Changes since revision 1.137: +3 -42 lines
Sync with HEAD.

Revision 1.134.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:59 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.134.4.1: preferred, colored; branchpoint 1.134: preferred, colored; next MAIN 1.135: preferred, colored
Changes since revision 1.134.4.1: +12 -44 lines
sync with head

Revision 1.137.4.1: download - view: text, markup, annotated - select for diffs
Thu Feb 17 12:00:08 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.137: preferred, colored; next MAIN 1.138: preferred, colored
Changes since revision 1.137: +3 -42 lines
Sync with HEAD

Revision 1.138: download - view: text, markup, annotated - select for diffs
Tue Feb 8 20:20:26 2011 UTC (13 years, 10 months ago) by rmind
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: cherry-xenmp
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +3 -42 lines
Remove clause 3 (UCB advertising clause) from the University of Utah
copyright.  Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.

Revision 1.137: download - view: text, markup, annotated - select for diffs
Fri Nov 19 09:11:45 2010 UTC (14 years ago) by dholland
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +4 -5 lines
Fix previous, was all wrong. noticed by enami.

Revision 1.136: download - view: text, markup, annotated - select for diffs
Fri Nov 19 06:44:39 2010 UTC (14 years ago) by dholland
Branches: MAIN
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +10 -4 lines
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.135: download - view: text, markup, annotated - select for diffs
Sun Nov 14 03:49:52 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: MAIN
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +4 -2 lines
Include uvm/uvm_extern.h to access uvmexp.  gtmpsc.c doesn't need
uvm(9) API at all.

Revision 1.134.4.1: download - view: text, markup, annotated - select for diffs
Tue Mar 16 15:38:05 2010 UTC (14 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +5 -5 lines
Change struct uvm_object::vmobjlock to be dynamically allocated with
mutex_obj_alloc().  It allows us to share the locks among UVM objects.

Revision 1.132.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:31:45 2009 UTC (15 years, 4 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.132.2.1: preferred, colored; branchpoint 1.132: preferred, colored; next MAIN 1.133: preferred, colored
Changes since revision 1.132.2.1: +37 -2 lines
Sync with HEAD.

Revision 1.128.6.3: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:19 2009 UTC (15 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.128.6.2: preferred, colored; branchpoint 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128.6.2: +37 -2 lines
sync with head

Revision 1.134: download - view: text, markup, annotated - select for diffs
Fri Jun 5 19:21:02 2009 UTC (15 years, 6 months ago) by haad
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase
Branch point for: rmind-uvmplock
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +37 -2 lines
Add work in support for compiling ccd and cgd drivers as a modules. I forgot
to committ when I have written device module autoloading stuff.

Revision 1.132.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:19:05 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +285 -198 lines
Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.128.6.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:32 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.128.6.1: preferred, colored; branchpoint 1.128: preferred, colored
Changes since revision 1.128.6.1: +291 -204 lines
sync with head.

Revision 1.129.8.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:13 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.129.8.1: preferred, colored; branchpoint 1.129: preferred, colored; next MAIN 1.130: preferred, colored
Changes since revision 1.129.8.1: +285 -198 lines
Sync with HEAD.

Revision 1.129.10.1: download - view: text, markup, annotated - select for diffs
Sat Apr 4 23:04:57 2009 UTC (15 years, 8 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +285 -198 lines
Pull up following revision(s) (requested by ad in ticket #658):
	sys/dev/ccd.c: revision 1.133 via patch
	sys/dev/ccdvar.h: revision 1.31
Fix problems with ccd:
- Pending async I/O was tossed on unconfigure (should not happen, but..)
- It could exhaust memory under heavy I/O load.
- If memory allocation failed, disk transfers could stall.
- v_numoutput was updated without v_interlock held.
Additionally:
- Make it MPSAFE.
- Use kmem_alloc().

Revision 1.133: download - view: text, markup, annotated - select for diffs
Sat Apr 4 08:29:39 2009 UTC (15 years, 8 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +285 -198 lines
Fix problems with ccd:

- Pending async I/O was tossed on unconfigure (should not happen, but..)
- It could exhaust memory under heavy I/O load.
- If memory allocation failed, disk transfers could stall.
- v_numoutput was updated without v_interlock held.

Additionally:

- Make it MPSAFE.
- Use kmem_alloc().

Revision 1.129.8.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:51 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +11 -11 lines
Sync with HEAD.

Revision 1.127.6.4: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:52 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.127.6.3: preferred, colored; branchpoint 1.127: preferred, colored; next MAIN 1.128: preferred, colored
Changes since revision 1.127.6.3: +9 -9 lines
Sync with HEAD.

Revision 1.132: download - view: text, markup, annotated - select for diffs
Tue Jan 13 13:35:52 2009 UTC (15 years, 11 months ago) by yamt
Branches: MAIN
CVS tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +5 -5 lines
g/c BUFQ_FOO() macros and use bufq_foo() directly.

Revision 1.131: download - view: text, markup, annotated - select for diffs
Sun Jan 11 09:51:38 2009 UTC (15 years, 11 months ago) by cegger
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +8 -8 lines
make this compile

Revision 1.130: download - view: text, markup, annotated - select for diffs
Sun Jan 11 02:45:50 2009 UTC (15 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +8 -8 lines
merge christos-time_t

Revision 1.128.2.2: download - view: text, markup, annotated - select for diffs
Sat Nov 1 21:22:26 2008 UTC (16 years, 1 month ago) by christos
Branches: christos-time_t
Diff to: previous 1.128.2.1: preferred, colored; branchpoint 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128.2.1: +2 -9 lines
Sync with head.

Revision 1.127.6.3: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:11 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.127.6.2: preferred, colored; branchpoint 1.127: preferred, colored
Changes since revision 1.127.6.2: +2 -9 lines
Sync with HEAD.

Revision 1.128.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:30 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128: +2 -9 lines
sync with head.

Revision 1.128.6.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:23:48 2008 UTC (16 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +2 -9 lines
sync with head.

Revision 1.129: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:46 2008 UTC (16 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, christos-time_t-nbase, christos-time_t-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.127.6.2: download - view: text, markup, annotated - select for diffs
Sat Apr 5 23:33:20 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.127.6.1: preferred, colored; branchpoint 1.127: preferred, colored
Changes since revision 1.127.6.1: +13 -3 lines
- add "file-system DEVFS" and "pseudo-device devfsctl" to conf/std seeing
  as these are always needed.

- convert many, many drivers over to the New Devfs World Order. For a
  list of device drivers yet to be converted see,
  http://www.netbsd.org/~mjf/devfs-todo.html.

- add a new device_unregister_all(device_t) function to remove all device
  names associated with a device_t, which saves us having to construct
  device names when the driver is detached.

- add a DEV_AUDIO type for devices.

Revision 1.127.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:36 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +5 -5 lines
Sync with HEAD.

Revision 1.128.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 29 20:46:59 2008 UTC (16 years, 8 months ago) by christos
Branches: christos-time_t
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +8 -8 lines
Welcome to the time_t=long long dev_t=uint64_t branch.

Revision 1.104.2.9: download - view: text, markup, annotated - select for diffs
Mon Mar 24 09:38:46 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.104.2.8: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104.2.8: +5 -5 lines
sync with head.

Revision 1.122.6.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:35 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.122.6.2: preferred, colored; branchpoint 1.122: preferred, colored; next MAIN 1.123: preferred, colored
Changes since revision 1.122.6.2: +3 -2 lines
sync with HEAD

Revision 1.128: download - view: text, markup, annotated - select for diffs
Fri Mar 21 21:54:59 2008 UTC (16 years, 8 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, christos-time_t
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +5 -5 lines
Catch up with descriptor handling changes. See kern_descrip.c revision
1.173 for details.

Revision 1.123.4.2: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:31 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.123.4.1: preferred, colored; branchpoint 1.123: preferred, colored; next MAIN 1.124: preferred, colored
Changes since revision 1.123.4.1: +8 -4 lines
Sync with HEAD.

Revision 1.104.2.8: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:23:17 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.104.2.7: preferred, colored
Changes since revision 1.104.2.7: +3 -2 lines
sync with head.

Revision 1.127: download - view: text, markup, annotated - select for diffs
Sat Feb 2 10:40:50 2008 UTC (16 years, 10 months ago) by hannken
Branches: MAIN
CVS tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base
Branch point for: mjf-devfs2
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +3 -2 lines
ccdbuffer(): add missing initialization of new bufs b_objlock.

Revision 1.104.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:42:23 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.104.2.6: preferred, colored
Changes since revision 1.104.2.6: +7 -4 lines
sync with head

Revision 1.122.6.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:52:11 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.122.6.1: preferred, colored; branchpoint 1.122: preferred, colored
Changes since revision 1.122.6.1: +11 -8 lines
sync with HEAD

Revision 1.125.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:53:45 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.125: preferred, colored; next MAIN 1.126: preferred, colored
Changes since revision 1.125: +7 -4 lines
Sync with HEAD

Revision 1.126: download - view: text, markup, annotated - select for diffs
Wed Jan 2 11:48:36 2008 UTC (16 years, 11 months ago) by ad
Branches: MAIN
CVS tags: matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +7 -4 lines
Merge vmlocking2 to head.

Revision 1.122.4.3: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:37:40 2007 UTC (17 years ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.122.4.2: preferred, colored; branchpoint 1.122: preferred, colored; next MAIN 1.123: preferred, colored
Changes since revision 1.122.4.2: +3 -3 lines
Sync with HEAD.

Revision 1.123.4.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:19:18 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +6 -6 lines
Sync with HEAD.

Revision 1.124.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:57:16 2007 UTC (17 years ago) by ad
Branches: vmlocking2
Diff to: previous 1.124.2.1: preferred, colored; branchpoint 1.124: preferred, colored; next MAIN 1.125: preferred, colored
Changes since revision 1.124.2.1: +3 -3 lines
Sync with head.

Revision 1.104.2.6: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:29:15 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.104.2.5: preferred, colored
Changes since revision 1.104.2.5: +6 -6 lines
sync with head

Revision 1.125: download - view: text, markup, annotated - select for diffs
Wed Dec 5 07:06:50 2007 UTC (17 years ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +3 -3 lines
Match the docs: MUTEX_DRIVER/SPIN are now only for porting code written
for Solaris.

Revision 1.124.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 4 13:02:54 2007 UTC (17 years ago) by ad
Branches: vmlocking2
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +7 -4 lines
Pull the vmlocking changes into a new branch.

Revision 1.122.4.2: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:36:57 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.122.4.1: preferred, colored; branchpoint 1.122: preferred, colored
Changes since revision 1.122.4.1: +5 -5 lines
Sync with HEAD. amd64 Xen support needs testing.

Revision 1.124: download - view: text, markup, annotated - select for diffs
Mon Nov 26 19:01:34 2007 UTC (17 years ago) by pooka
Branches: MAIN
CVS tags: vmlocking2-base1, vmlocking-nbase
Branch point for: vmlocking2
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +5 -5 lines
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

Revision 1.122.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:25:26 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +5 -6 lines
sync with HEAD

Revision 1.104.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:29:56 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.104.2.4: preferred, colored
Changes since revision 1.104.2.4: +5 -6 lines
sync with head.

Revision 1.122.4.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:44:08 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +5 -6 lines
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.

Revision 1.122.8.1: download - view: text, markup, annotated - select for diffs
Sun Oct 14 11:47:59 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.122: preferred, colored; next MAIN 1.123: preferred, colored
Changes since revision 1.122: +5 -6 lines
sync with head.

Revision 1.123: download - view: text, markup, annotated - select for diffs
Mon Oct 8 16:41:10 2007 UTC (17 years, 2 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, vmlocking-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +5 -6 lines
Merge disk init changes from the vmlocking branch. These seperate init /
destroy of 'struct disk' from attach / detach.

Revision 1.104.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:33:10 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.104.2.3: preferred, colored
Changes since revision 1.104.2.3: +14 -17 lines
sync with head.

Revision 1.116.4.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 07:04:18 2007 UTC (17 years, 3 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116: +4 -3 lines
Sync w/ NetBSD-4-RC_1

Revision 1.118.2.8: download - view: text, markup, annotated - select for diffs
Fri Aug 24 23:28:33 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.118.2.7: preferred, colored; next MAIN 1.119: preferred, colored
Changes since revision 1.118.2.7: +5 -3 lines
Sync with buffer cache locking changes. See buf.h/vfs_bio.c for details.
Some minor portions are incomplete and needs to be verified as a whole.

Revision 1.118.2.7: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:16:09 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.118.2.6: preferred, colored
Changes since revision 1.118.2.6: +5 -6 lines
- Alter disk attach/detach to fix a panic when closing a vnd device.
- Sync with HEAD.

Revision 1.118.2.6: download - view: text, markup, annotated - select for diffs
Sun Aug 19 19:24:19 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.118.2.5: preferred, colored
Changes since revision 1.118.2.5: +10 -12 lines
- Back out the biodone() changes.
- Eliminate B_ERROR (from HEAD).

Revision 1.121.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:48:11 2007 UTC (17 years, 4 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.121: preferred, colored; next MAIN 1.122: preferred, colored
Changes since revision 1.121: +5 -9 lines
Sync with HEAD.

Revision 1.122.10.2: download - view: text, markup, annotated - select for diffs
Sun Jul 29 12:50:18 2007 UTC (17 years, 4 months ago) by ad
Branches: matt-mips64
Diff to: previous 1.122.10.1: preferred, colored; branchpoint 1.122: preferred, colored; next MAIN 1.123: preferred, colored
Changes since revision 1.122.10.1: +1482 -0 lines
It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.

Revision 1.122.10.1
Sun Jul 29 12:50:17 2007 UTC (17 years, 4 months ago) by ad
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.122: +0 -1482 lines
file ccd.c was added on branch matt-mips64 on 2007-07-29 12:50:18 +0000

Revision 1.122: download - view: text, markup, annotated - select for diffs
Sun Jul 29 12:50:17 2007 UTC (17 years, 4 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base2, yamt-x86pmap-base, nick-csl-alignment-base5, matt-mips64-base, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-mips64, matt-armv6, jmcneill-pm
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +5 -9 lines
It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.

Revision 1.118.2.5: download - view: text, markup, annotated - select for diffs
Sun Jul 15 15:52:40 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.118.2.4: preferred, colored
Changes since revision 1.118.2.4: +4 -3 lines
Sync with head.

Revision 1.119.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:04:58 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119: +5 -4 lines
Sync with head.

Revision 1.121: download - view: text, markup, annotated - select for diffs
Mon Jul 9 21:00:28 2007 UTC (17 years, 5 months ago) by ad
Branches: MAIN
CVS tags: nick-csl-alignment-base, mjf-ufs-trans-base
Branch point for: nick-csl-alignment
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +3 -3 lines
Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.116.2.1: download - view: text, markup, annotated - select for diffs
Sun Jul 1 17:09:24 2007 UTC (17 years, 5 months ago) by bouyer
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Diff to: previous 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116: +4 -3 lines
Pull up following revision(s) (requested by cube in ticket #748):
	sys/dev/dksubr.c: revision 1.29
	sys/dev/ccd.c: revision 1.120
	sys/dev/raidframe/rf_disks.c: revision 1.66
	sys/dev/raidframe/rf_reconstruct.c: revision 1.96
	sys/dev/cgd.c: revision 1.45
	sys/dev/dkvar.h: revision 1.11
	sys/dev/raidframe/rf_copyback.c: revision 1.38
Change dk_lookup() to accept an additional argument of the type enum uio_seg
that tells whether the given path is in user space or kernel space, so it
can tell NDINIT().
While the raidframe calls were ok, both ccd(4) and cgd(4) were passing
pointers to user space data, which leads to strange error on i386, as
reported by Jukka Salmi on current-users.

Revision 1.120: download - view: text, markup, annotated - select for diffs
Tue Jun 26 15:22:24 2007 UTC (17 years, 5 months ago) by cube
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +4 -3 lines
Change dk_lookup() to accept an additional argument of the type enum uio_seg
that tells whether the given path is in user space or kernel space, so it
can tell NDINIT().

While the raidframe calls were ok, both ccd(4) and cgd(4) were passing
pointers to user space data, which leads to strange error on i386, as
reported by Jukka Salmi on current-users.

The issue has been there since last august, I'm actually a bit surprised
that no one in the meantime has used ccd(4) or cgd(4) on an arch where it
would have simply faulted.

Revision 1.118.2.4: download - view: text, markup, annotated - select for diffs
Sun Jun 17 21:30:49 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.118.2.3: preferred, colored
Changes since revision 1.118.2.3: +4 -3 lines
- 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.

Revision 1.118.2.3: download - view: text, markup, annotated - select for diffs
Sun May 13 17:36:20 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.118.2.2: preferred, colored
Changes since revision 1.118.2.2: +6 -8 lines
- 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.

Revision 1.118.2.2: download - view: text, markup, annotated - select for diffs
Fri Apr 13 20:56:20 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.118.2.1: preferred, colored
Changes since revision 1.118.2.1: +3 -3 lines
- Make the devsw interface MP safe, and add some comments.
- Allow individual block/character drivers to be marked MP safe.
- Provide wrappers around the device methods that look up the
  device, returning ENXIO if it's not found, and acquire the
  kernel lock if needed.

Revision 1.117.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 24 14:55:19 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.117.2.1: preferred, colored; branchpoint 1.117: preferred, colored; next MAIN 1.118: preferred, colored
Changes since revision 1.117.2.1: +3 -3 lines
sync with head.

Revision 1.118.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 13 16:50:21 2007 UTC (17 years, 9 months ago) by ad
Branches: vmlocking
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +3 -3 lines
Sync with head.

Revision 1.119: download - view: text, markup, annotated - select for diffs
Mon Mar 12 18:18:30 2007 UTC (17 years, 9 months ago) by ad
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: mjf-ufs-trans
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +3 -3 lines
Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.

Revision 1.117.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:53:02 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +7 -7 lines
Sync with HEAD.

Revision 1.118: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:01:41 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
Branch point for: vmlocking
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +7 -7 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.104.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:09:52 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.104.2.2: preferred, colored
Changes since revision 1.104.2.2: +13 -16 lines
sync with head.

Revision 1.117: download - view: text, markup, annotated - select for diffs
Thu Feb 15 15:40:51 2007 UTC (17 years, 9 months ago) by ad
Branches: MAIN
CVS tags: ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +13 -16 lines
Replace some uses of lockmgr() / simplelocks.

Revision 1.104.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:49 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.104.2.1: preferred, colored
Changes since revision 1.104.2.1: +11 -67 lines
sync with head.

Revision 1.113.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:53 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.113.4.1: preferred, colored; branchpoint 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113.4.1: +8 -8 lines
sync with head.

Revision 1.113.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:03 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113: +6 -3 lines
Sync with head.

Revision 1.116: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:32:44 2006 UTC (18 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base
Branch point for: wrstuden-fixsa, netbsd-4
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +8 -8 lines
__unused removal on arguments; approved by core.

Revision 1.113.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:28 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +10 -7 lines
sync with head

Revision 1.115: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:30:50 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +8 -7 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.114: download - view: text, markup, annotated - select for diffs
Fri Sep 29 14:39:09 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +4 -2 lines
Coverity CID 3801: Plug memory leak (from Arnaud Lacombe)

Revision 1.107.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:49:09 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107: +22 -76 lines
sync with head

Revision 1.108.2.4: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:23:55 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.108.2.3: preferred, colored; branchpoint 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108.2.3: +4 -60 lines
sync with head.

Revision 1.113: download - view: text, markup, annotated - select for diffs
Sun Aug 27 04:58:40 2006 UTC (18 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +4 -60 lines
Use dk_lookup.

Revision 1.108.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:43:52 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.108.2.2: preferred, colored; branchpoint 1.108: preferred, colored
Changes since revision 1.108.2.2: +9 -12 lines
sync with head

Revision 1.112: download - view: text, markup, annotated - select for diffs
Fri Jul 21 16:48:47 2006 UTC (18 years, 4 months ago) by ad
Branches: MAIN
CVS tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +9 -12 lines
- Use the LWP cached credentials where sane.
- Minor cosmetic changes.

Revision 1.108.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:50:37 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.108.2.1: preferred, colored; branchpoint 1.108: preferred, colored
Changes since revision 1.108.2.1: +6 -3 lines
sync with head.

Revision 1.104.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:02:11 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +49 -39 lines
sync with head.

Revision 1.110.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 03:58:11 2006 UTC (18 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110: +6 -3 lines
Sync with head.

Revision 1.111: download - view: text, markup, annotated - select for diffs
Mon Jun 12 22:02:45 2006 UTC (18 years, 6 months ago) by christos
Branches: MAIN
CVS tags: yamt-pdpolicy-base6, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +6 -3 lines
don't allocate > 1K on the stack.

Revision 1.107.6.2: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:36:03 2006 UTC (18 years, 6 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.107.6.1: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107.6.1: +15 -14 lines
Sync with head.

Revision 1.108.6.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:07 2006 UTC (18 years, 6 months ago) by tron
Branches: peter-altq
Diff to: previous 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108: +15 -14 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.108.2.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:57:36 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +15 -14 lines
sync with head.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Sun May 14 21:42:26 2006 UTC (18 years, 7 months ago) by elad
Branches: MAIN
CVS tags: yamt-pdpolicy-base5, simonb-timecounters-base
Branch point for: chap-midi
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +11 -10 lines
integrate kauth.

Revision 1.108.4.4: download - view: text, markup, annotated - select for diffs
Fri May 12 23:06:36 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.108.4.3: preferred, colored; branchpoint 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108.4.3: +3 -3 lines
adapt to kauth kpi, include sys/kauth.h where needed..

Revision 1.108.4.3: download - view: text, markup, annotated - select for diffs
Thu May 11 23:28:05 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.108.4.2: preferred, colored; branchpoint 1.108: preferred, colored
Changes since revision 1.108.4.2: +7 -7 lines
sync with head

Revision 1.108.4.2: download - view: text, markup, annotated - select for diffs
Sat May 6 23:31:27 2006 UTC (18 years, 7 months ago) by christos
Branches: elad-kernelauth
Diff to: previous 1.108.4.1: preferred, colored; branchpoint 1.108: preferred, colored
Changes since revision 1.108.4.1: +3 -2 lines
- 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.

Revision 1.109: download - view: text, markup, annotated - select for diffs
Mon Apr 24 21:35:57 2006 UTC (18 years, 7 months ago) by jld
Branches: MAIN
CVS tags: elad-kernelauth-base
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +7 -7 lines
Make ccdioctl work without a process context; fixes xbdback-on-ccd.
Run by tech-kern on 2006-04-24; with approval and advice from wrstuden@.

Revision 1.107.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:45 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +7 -6 lines
Sync with head.

Revision 1.108.4.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 01:44:48 2006 UTC (18 years, 9 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +13 -13 lines
Adapt to kernel authorization KPI.

Revision 1.102.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 20 15:26:49 2006 UTC (18 years, 9 months ago) by tron
Branches: netbsd-3
CVS tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1
Diff to: previous 1.102.2.1: preferred, colored; branchpoint 1.102: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102.2.1: +5 -4 lines
Pull up following revision(s) (requested by lukem in ticket #1178):
	sys/dev/ccd.c: revision 1.108
	sbin/ccdconfig/ccdconfig.c: revision 1.42
* The kernel's struct ccd_softc has extra structure members over the
  userland version; provide another ccd global variable (ccd_softc_elemsize)
  containing the kernel's size, and use that it ccdconfig(8) to convert the
  kernel's ccd_softc into userland versions.
  Fixes 'ccdconfig -g'.
* Use DISKUNIT() instead of home-grown cruft to determine the `N' of "ccdN".
  Fixes 'ccdconfig -g ccd1'.
* Use (void *) instead of (char *) in the calls to kvm_read().
XXX: ccd could be converted from nlist to sysctl.  "Someone else's yak shave".

Revision 1.107.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 15:39:02 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107: +7 -6 lines
sync with head.

Revision 1.108: download - view: text, markup, annotated - select for diffs
Thu Feb 16 23:25:18 2006 UTC (18 years, 9 months ago) by lukem
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +7 -6 lines
* The kernel's struct ccd_softc has extra structure members over the
  userland version; provide another ccd global variable (ccd_softc_elemsize)
  containing the kernel's size, and use that it ccdconfig(8) to convert the
  kernel's ccd_softc into userland versions.
  Fixes 'ccdconfig -g'.
* Use DISKUNIT() instead of home-grown cruft to determine the `N' of "ccdN".
  Fixes 'ccdconfig -g ccd1'.
* Use (void *) instead of (char *) in the calls to kvm_read().

XXX: ccd could be converted from nlist to sysctl.  "Someone else's yak shave".

Revision 1.107: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:20:53 2005 UTC (19 years ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +28 -24 lines
merge ktrace-lwp.

Revision 1.90.2.10: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:03:00 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.90.2.9: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90.2.9: +12 -11 lines
Sync with HEAD. Here we go again...

Revision 1.106: download - view: text, markup, annotated - select for diffs
Sat Oct 15 17:29:11 2005 UTC (19 years, 2 months ago) by yamt
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +8 -8 lines
- change the way to specify a bufq strategy.  (by string rather than by number)
- rather than embedding bufq_state in driver softc,
  have a pointer to the former.
- move bufq related functions from kern/subr_disk.c to kern/subr_bufq.c.
- rename method to strategy for consistency.
- move some definitions which don't need to be exposed to the rest of kernel
  from sys/bufq.h to sys/bufq_impl.h.
  (is it better to move it to kern/ or somewhere?)
- fix some obvious breakage in dev/qbus/ts.c.  (not tested)

Revision 1.105: download - view: text, markup, annotated - select for diffs
Sat Aug 20 12:01:04 2005 UTC (19 years, 3 months ago) by yamt
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +5 -4 lines
use pseudo_disk_{init,attach,detach} where appropriate.

Revision 1.104: download - view: text, markup, annotated - select for diffs
Sun May 22 15:54:46 2005 UTC (19 years, 6 months ago) by christos
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +3 -3 lines
No 0x in front of %p...

Revision 1.101.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:44 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101: +4 -10 lines
sync with -current

Revision 1.102.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 6 11:57:27 2005 UTC (19 years, 8 months ago) by tron
Branches: netbsd-3
CVS tags: netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +3 -9 lines
Pull up revision 1.103 (requested by yamt in ticket #112):
introduce a function to drain bufq and use it where appropriate.

Revision 1.90.2.9: download - view: text, markup, annotated - select for diffs
Fri Apr 1 14:29:37 2005 UTC (19 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.90.2.8: preferred, colored
Changes since revision 1.90.2.8: +3 -9 lines
Sync with HEAD.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Thu Mar 31 11:28:53 2005 UTC (19 years, 8 months ago) by yamt
Branches: MAIN
CVS tags: kent-audio2-base
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +3 -9 lines
introduce a function to drain bufq and use it where appropriate.

Revision 1.101.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:33:53 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101: +3 -3 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.90.2.8: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:40:53 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.90.2.7: preferred, colored
Changes since revision 1.90.2.7: +3 -3 lines
Sync with HEAD.

Hi Perry!

Revision 1.102: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:26:58 2005 UTC (19 years, 9 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, netbsd-3-base
Branch point for: netbsd-3
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +3 -3 lines
nuke trailing whitespace

Revision 1.90.2.7: download - view: text, markup, annotated - select for diffs
Tue Nov 2 07:51:19 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.90.2.6: preferred, colored
Changes since revision 1.90.2.6: +26 -2 lines
Sync with HEAD.

Revision 1.101: download - view: text, markup, annotated - select for diffs
Thu Oct 28 07:07:39 2004 UTC (20 years, 1 month ago) by yamt
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +3 -2 lines
move buffer queue related stuffs from buf.h to their own header, bufq.h.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Tue Oct 26 22:44:45 2004 UTC (20 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +25 -2 lines
Implement the DIOCCACHESYNC ioctl; we simply pass it through to each
underlying component.

Revision 1.90.2.6: download - view: text, markup, annotated - select for diffs
Fri Sep 24 10:53:27 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.90.2.5: preferred, colored
Changes since revision 1.90.2.5: +5 -5 lines
Sync with HEAD.

Revision 1.90.2.5: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:26:24 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.90.2.4: preferred, colored
Changes since revision 1.90.2.4: +27 -23 lines
Fix the sync with head I botched.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Sat Sep 18 16:40:11 2004 UTC (20 years, 2 months ago) by yamt
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +5 -5 lines
change some members of struct buf from long to int.
ride on 2.0H.

Revision 1.90.2.4: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:44:27 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.90.2.3: preferred, colored
Changes since revision 1.90.2.3: +23 -27 lines
Sync with HEAD.

Revision 1.90.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 25 06:57:34 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.90.2.2: preferred, colored
Changes since revision 1.90.2.2: +57 -111 lines
Sync with HEAD.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Mon Aug 23 05:38:15 2004 UTC (20 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +2 -12 lines
Remove a comment that doesn't really make sense.

Revision 1.97: download - view: text, markup, annotated - select for diffs
Mon Aug 23 04:38:42 2004 UTC (20 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +57 -101 lines
Use ANSI function decls and more use of static.

Revision 1.90.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:44:53 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.90.2.1: preferred, colored
Changes since revision 1.90.2.1: +49 -9 lines
Sync with HEAD

Revision 1.96: download - view: text, markup, annotated - select for diffs
Wed Apr 21 18:40:37 2004 UTC (20 years, 7 months ago) by itojun
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +3 -3 lines
kill sprintf, use snprintf

Revision 1.95: download - view: text, markup, annotated - select for diffs
Sun Jan 25 18:06:48 2004 UTC (20 years, 10 months ago) by hannken
Branches: MAIN
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +4 -4 lines
Make VOP_STRATEGY(bp) a real VOP as discussed on tech-kern.

VOP_STRATEGY(bp) is replaced by one of two new functions:

- VOP_STRATEGY(vp, bp)  Call the strategy routine of vp for bp.
- DEV_STRATEGY(bp)      Call the d_strategy routine of bp->b_dev for bp.

DEV_STRATEGY(bp) is used only for block-to-block device situations.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Sat Jan 10 14:39:50 2004 UTC (20 years, 11 months ago) by yamt
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +4 -2 lines
store a i/o priority hint in struct buf for buffer queue discipline.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Sun Oct 26 23:42:57 2003 UTC (21 years, 1 month ago) by chs
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +3 -3 lines
don't print an uninitialized variable.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Fri Oct 17 05:16:15 2003 UTC (21 years, 2 months ago) by lukem
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +7 -4 lines
Add user flag CCDF_NOLABEL to prevent the on-disk label from being read
during CCDIOCSET.
Use this when creating a new ccd to ignore any existing disklabel
which is probably wrong.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:30:50 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +38 -3 lines
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.90.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:25:59 2003 UTC (21 years, 5 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +32 -28 lines
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.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:29:57 2003 UTC (21 years, 5 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +26 -30 lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:30 2003 UTC (21 years, 5 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +32 -28 lines
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

Revision 1.88: download - view: text, markup, annotated - select for diffs
Sat May 17 21:42:08 2003 UTC (21 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +76 -56 lines
Use a buffer queue.  Primary advantage here is robustness in the face
of temporary resource shortages.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat May 17 16:11:52 2003 UTC (21 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +24 -5 lines
Add DIOCKLABEL support.  Fixes PR kern/21605 (Luke Mewburn).

Revision 1.86: download - view: text, markup, annotated - select for diffs
Sat May 10 23:12:43 2003 UTC (21 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +3 -3 lines
Change bounds_check_with_label() to take a pointer to the disk structure,
rather than the label itself.  This paves the way for some future changes.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Fri May 2 08:45:26 2003 UTC (21 years, 7 months ago) by dsl
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +3 -3 lines
Change return type of readdisklabel() to const char *
I hope I've found all the correct places!

Revision 1.84: download - view: text, markup, annotated - select for diffs
Fri Mar 21 23:11:21 2003 UTC (21 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +4 -4 lines
Use 'void *' instead of 'caddr_t' in prototypes of VOP_IOCTL, VOP_FCNTL
and VOP_ADVLOCK, delete casts from callers (and some to copyin/out).

Revision 1.83: download - view: text, markup, annotated - select for diffs
Tue Feb 25 20:35:33 2003 UTC (21 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +3 -4 lines
Add a new BUF_INIT() macro which initializes b_dep and b_interlock, and
use it.  This fixes a few places where either b_dep or b_interlock were
not properly initialized.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Wed Feb 5 21:38:39 2003 UTC (21 years, 10 months ago) by pk
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -2 lines
Make the buffer cache code MP-safe.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Sat Jan 25 23:09:58 2003 UTC (21 years, 10 months ago) by kleink
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +8 -6 lines
Fix further printf format warnings for DEBUG, in the wake of daddr_t
having changed.

Revision 1.71.2.9: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:08:41 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.71.2.8: preferred, colored; branchpoint 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.2.8: +4 -3 lines
Catch up to -current

Revision 1.80: download - view: text, markup, annotated - select for diffs
Fri Nov 1 11:31:55 2002 UTC (22 years, 1 month ago) by mrg
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +5 -4 lines
implement separate read/write disk statistics:
	- disk_unbusy() gets a new parameter to tell the IO direction.
	- struct disk_sysctl gets 4 new members for read/write bytes/transfers.
	when processing hw.diskstats, add the read&write bytes/transfers for
	the old combined stats to attempt to keep backwards compatibility.

unfortunately, due to multiple bugs, this will cause new kernels and old
vmstat/iostat/systat programs to fail.  however, the next time this is
change it will not fail again.

this is just the kernel portion.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Wed Oct 23 09:12:59 2002 UTC (22 years, 1 month ago) by jdolecek
Branches: MAIN
CVS tags: kqueue-aftermerge
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +3 -3 lines
merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe

Revision 1.72.2.6: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:38:18 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.72.2.5: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.2.5: +20 -3 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.71.2.8: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:19:17 2002 UTC (22 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.71.2.7: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.7: +20 -3 lines
Catch up to -current.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri Sep 6 13:18:43 2002 UTC (22 years, 3 months ago) by gehenna
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-base
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +20 -3 lines
Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.

Revision 1.71.2.7: download - view: text, markup, annotated - select for diffs
Mon Jun 24 22:09:44 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.71.2.6: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.6: +4 -4 lines
Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.72.2.5: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:44:59 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.72.2.4: preferred, colored
Changes since revision 1.72.2.4: +4 -4 lines
catch up with -current on kqueue branch

Revision 1.76.6.2: download - view: text, markup, annotated - select for diffs
Thu Jun 20 16:31:22 2002 UTC (22 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.76.6.1: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.6.1: +4 -4 lines
catch up with -current.

Revision 1.71.2.6: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:43:23 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.71.2.5: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.5: +4 -4 lines
Catch up to -current.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Sat Jun 1 23:50:57 2002 UTC (22 years, 6 months ago) by lukem
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +4 -4 lines
SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field).  whilst it's O(n),
  this mirrors the functionality of SLIST_REMOVE() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
  this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups

Revision 1.76.6.1: download - view: text, markup, annotated - select for diffs
Thu May 16 04:47:32 2002 UTC (22 years, 7 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +20 -3 lines
Add the block/character device switches.

Revision 1.71.2.5: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:45:02 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.71.2.4: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.4: +3 -3 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.72.2.4: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:00:47 2002 UTC (22 years, 9 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.72.2.3: preferred, colored
Changes since revision 1.72.2.3: +3 -3 lines
Catch up with -current.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Fri Mar 8 20:48:37 2002 UTC (22 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -3 lines
Pool deals fairly well with physical memory shortage, but it doesn't
deal with shortages of the VM maps where the backing pages are mapped
(usually kmem_map).  Try to deal with this:

* Group all information about the backend allocator for a pool in a
  separate structure.  The pool references this structure, rather than
  the individual fields.
* Change the pool_init() API accordingly, and adjust all callers.
* Link all pools using the same backend allocator on a list.
* The backend allocator is responsible for waiting for physical memory
  to become available, but will still fail if it cannot callocate KVA
  space for the pages.  If this happens, carefully drain all pools using
  the same backend allocator, so that some KVA space can be freed.
* Change pool_reclaim() to indicate if it actually succeeded in freeing
  some pages, and use that information to make draining easier and more
  efficient.
* Get rid of PR_URGENT.  There was only one use of it, and it could be
  dealt with by the caller.

From art@openbsd.org.

Revision 1.71.2.4: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:13:10 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.71.2.3: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.3: +5 -6 lines
Catch up to -current.

Revision 1.72.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 11 20:09:37 2002 UTC (22 years, 10 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.72.2.2: preferred, colored
Changes since revision 1.72.2.2: +5 -6 lines
Sync w/ -current.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sun Jan 13 19:28:06 2002 UTC (22 years, 11 months ago) by tsutsui
Branches: MAIN
CVS tags: ifpoll-base
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +5 -6 lines
Call malloc(9) with M_ZERO flag instead of memset() after malloc().

Revision 1.72.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:52:45 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.72.2.1: preferred, colored
Changes since revision 1.72.2.1: +4 -1 lines
Sync kqueue branch with -current.

Revision 1.71.2.3: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:13:40 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.71.2.2: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.2: +4 -1 lines
Catch up to -current.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue Nov 13 05:32:49 2001 UTC (23 years, 1 month ago) by lukem
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -1 lines
add RCSIDs

Revision 1.73.2.3: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:44:10 2001 UTC (23 years, 2 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.73.2.2: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.2.2: +3 -2 lines
Catch up with -current.

Revision 1.73.2.2: download - view: text, markup, annotated - select for diffs
Wed Sep 26 15:28:09 2001 UTC (23 years, 2 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.73.2.1: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.2.1: +53 -29 lines
* add a VCLONED vnode flag that indicates a vnode representing a cloned
  device.
* rename REVOKEALL to REVOKEALIAS, and add a REVOKECLONE flag, to pass
  to VOP_REVOKE
* the revoke system call will revoke all aliases, as before, but not the
  clones
* vdevgone is called when detaching a device, so make it use REVOKECLONE
  to get rid of all clones as well
* clean up all uses of VOP_OPEN wrt. locking.
* add a few VOPS to spec_vnops that need to do something when it's a
  clone vnode (access and getattr)
* add a copy of the vnode vattr structure of the original 'master' vnode
  to the specinfo of a cloned vnode. could possibly redirect getattr to
  the 'master' vnode, but this has issues with revoke
* add a vdev_reassignvp function that disassociates a vnode from its
  original device, and reassociates it with the specified dev_t. to be
  used by cloning devices only, in case a new minor is allocated.
* change all direct references in drivers to v_devcookie and v_rdev
  to vdev_privdata(vp) and vdev_rdev(vp). for diagnostic purposes
  when debugging race conditions that still exist wrt. locking and
  revoking vnodes.
* make the locking state of a vnode consistent when passed to
  d_open and d_close (unlocked). locked would be better, but has
  some deadlock issues

Revision 1.73.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 7 04:45:22 2001 UTC (23 years, 3 months ago) by thorpej
Branches: thorpej-devvp
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +58 -69 lines
Commit my "devvp" changes to the thorpej-devvp branch.  This
replaces the use of dev_t in most places with a struct vnode *.

This will form the basic infrastructure for real cloning device
support (besides being architecurally cleaner -- it'll be good
to get away from using numbers to represent objects).

Revision 1.72.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 25 06:16:08 2001 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +6 -1 lines
Merge Aug 24 -current into the kqueue branch.

Revision 1.71.2.2: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:09:02 2001 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.71.2.1: preferred, colored; branchpoint 1.71: preferred, colored
Changes since revision 1.71.2.1: +12 -7 lines
Catch up with -current.

Revision 1.69.4.2: download - view: text, markup, annotated - select for diffs
Thu Aug 16 16:10:53 2001 UTC (23 years, 4 months ago) by tv
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002
Diff to: previous 1.69.4.1: preferred, colored; branchpoint 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.4.1: +6 -1 lines
Pullup [jdolecek]:

sys/dev/ccd.c                                   1.73
sys/dev/ccdvar.h                                1.20

  Provide hard limit on the number of concatenated disks, and bounds
  check against that limit.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun Aug 5 11:20:13 2001 UTC (23 years, 4 months ago) by jdolecek
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +6 -1 lines
change ccio_ndisks and sc_nccdisks of struct ccd_ioctl from int to u_int
introduce hard limit on number of disks which can be contcatenated togetger,
CCD_MAXNDISKS

Revision 1.72: download - view: text, markup, annotated - select for diffs
Sat Jul 7 17:04:01 2001 UTC (23 years, 5 months ago) by thorpej
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +7 -7 lines
bcopy -> memcpy
bzero -> memset

Revision 1.69.4.1: download - view: text, markup, annotated - select for diffs
Tue May 1 12:27:03 2001 UTC (23 years, 7 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH001
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +53 -3 lines
Pull up revisions 1.70-1.71 (requested by fvdl):
  Increase the number of BSD disklabel partitions on i386 to 16.

Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 5 22:49:33 2001 UTC (23 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -3 lines
Initial commit of scheduler activations and lightweight process support.

Revision 1.63.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 18 09:23:15 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.63.2.1: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.2.1: +53 -3 lines
Sync with head (for UBC+NFS fixes, mostly).

Revision 1.71: download - view: text, markup, annotated - select for diffs
Mon Jan 8 02:03:46 2001 UTC (23 years, 11 months ago) by fvdl
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -3 lines
Return error in the case of using ODIOCGDINFO or ODIOCGDEFLABEL when
the number of partitions is > OLDMAXPARTITIONS. This is better
than silently truncating the label (don't want to silently throw
away partitions when using an old disklabel binary on a label with
> 8 partitions). From Enami Tsugutomo.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Sun Jan 7 18:09:01 2001 UTC (23 years, 11 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +53 -3 lines
Adapt all disk devices in MI directories to handle ODIOC* calls
for ports that have bumped MAXPARTITIONS (and thus define
__HAVE_OLD_DISKLABEL).

Revision 1.63.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:39:46 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +55 -46 lines
Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Wed Apr 5 04:03:20 2000 UTC (24 years, 8 months ago) by enami
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +12 -1 lines
Introduce new filesystem type FS_CCD so that an operator can mark the
ccd component partition.  Note that the ccd driver still allows partitions
of any types as components since an on-disk BSD disklabel isn't available
on some port.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Mar 30 12:45:27 2000 UTC (24 years, 8 months ago) by augustss
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +26 -26 lines
Remove register declarations.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu Mar 16 03:54:01 2000 UTC (24 years, 9 months ago) by enami
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +17 -17 lines
On initialization failure, free all the storage allocated to store
component pathnames rather than the last one.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Tue Feb 8 12:56:00 2000 UTC (24 years, 10 months ago) by enami
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +1 -3 lines
Since we now only allocate this one, no longer necessary to check and free().

Revision 1.63.6.2: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:34:34 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.63.6.1: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.6.1: +3 -3 lines
Pull up to last week's -current.

Revision 1.63.6.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 23:19:52 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +54 -16 lines
Initial commit of recent changes to make DEV_BSIZE go away.

Runs on i386, needs work on other arch's. Main kernel routines should be
fine, but a number of the stand programs need help.

cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512
byte block devices. vnd, raidframe, and lfs need work.

Non 2**n block support is automatic for LKM's and conditional for kernels
on "options NON_PO2_BLOCKS".

Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon Nov 15 18:49:08 1999 UTC (25 years, 1 month ago) by fvdl
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -1 lines
Add Kirk McKusick's soft updates code to the trunk. Not enabled by
default, as the copyright on the main file (ffs_softdep.c) is such
that is has been put into gnusrc. options SOFTDEP will pull this
in. This code also contains the trickle syncer.

Bump version number to 1.4O

Revision 1.63.4.2: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:40:11 1999 UTC (25 years, 1 month ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.63.4.1: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.4.1: +2 -3 lines
Sync with -current

Revision 1.62.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 5 07:39:39 1999 UTC (25 years, 1 month ago) by cgd
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +2 -3 lines
pull up rev 1.64 from trunk (requested by chs):
  Fix a dobule-biodone() panic when ccd component buffers have errors.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Wed Nov 3 16:04:03 1999 UTC (25 years, 1 month ago) by chs
Branches: MAIN
CVS tags: fvdl-softdep-base, comdex-fall-1999-base, comdex-fall-1999
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -3 lines
from jason:
avoid biodone()ing the original buf twice when a component buf
gets an error.  fixes PR 8704.

Revision 1.63.4.1: download - view: text, markup, annotated - select for diffs
Tue Oct 19 12:49:59 1999 UTC (25 years, 1 month ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -1 lines
Bring in Kirk McKusick's FFS softdep code on a branch.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Wed Aug 11 02:41:02 1999 UTC (25 years, 4 months ago) by thorpej
Branches: MAIN
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +14 -13 lines
We really only need *one* componenet buffer pool...

Revision 1.62: download - view: text, markup, annotated - select for diffs
Thu Mar 4 02:38:19 1999 UTC (25 years, 9 months ago) by mjacob
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH001, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2
Branch point for: netbsd-1-4
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +5 -4 lines
a kindler gentler fix

Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu Mar 4 02:20:13 1999 UTC (25 years, 9 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -2 lines
adjust format args for compiler changes

Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Feb 12 00:48:07 1999 UTC (25 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +5 -5 lines
Fix some printf format problems on Alpha.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Jan 21 00:35:15 1999 UTC (25 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +13 -9 lines
Fix a st00p1d bug I introduced in rev 1.57, which would cause any activity
on non-0 CCD units to crash the system.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Jan 12 12:49:53 1999 UTC (25 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -2 lines
Make this compile again with -DDEBUG

Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Jan 12 00:21:47 1999 UTC (25 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +65 -132 lines
Whole lotta cleanup wrt. how configuration data is stored internally, and
just lockmgr(), not our home-grown locking functions.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Nov 13 01:00:15 1998 UTC (26 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +28 -4 lines
Handle the case where ccdbuffer() fails due to memory shortage.  Build
a fifo of component buffers, and free them if ccdbuffer() fails.  Once
all component buffers are build, run through the fifo and fire off the
requests to the components.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Nov 13 00:35:57 1998 UTC (26 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +15 -15 lines
Simplify calling of ccdbuffer() now that the mirroring code is nuked.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Fri Nov 13 00:31:02 1998 UTC (26 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +5 -1 lines
Return EINVAL if invalid flags are passed.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Nov 13 00:26:19 1998 UTC (26 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +19 -106 lines
Nuke the mirroring code.  RAIDframe is about to go in, and is a much
better mirroring solution.

The ccd driver will stay, even in the presence of RAIDframe, for applications
where just RAID-0 is needed (much smaller code footprint).

Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu Nov 12 22:39:57 1998 UTC (26 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -2 lines
Must use PR_NOWAIT when allocating component buffers.

Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 8 03:06:46 1998 UTC (26 years, 4 months ago) by eeh
Branches: eeh-paddr_t
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +14 -64 lines
Revert cdevsw mmap routines to return int.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Fri Jul 31 01:23:56 1998 UTC (26 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc-base, chs-ubc
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +14 -64 lines
Use the pool allocator for component buffer headers.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Jul 9 20:56:12 1998 UTC (26 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +5 -5 lines
Fix int32_t overflow with large serially concatenated components,
from Noriyuki SODA <soda@sra.co.jp>, PR #5729.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Mar 1 07:15:39 1998 UTC (26 years, 9 months ago) by ross
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +5 -5 lines
Sweep up some miscellaneous leftover lite2 integration shrapnel.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Feb 22 07:14:30 1998 UTC (26 years, 9 months ago) by enami
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -5 lines
Fix message printed in case (b) in last commit; what actually shouldn't
exceeds is not a size of partition but end of partition.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Feb 22 06:50:08 1998 UTC (26 years, 9 months ago) by enami
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +27 -1 lines
Check disklabel just read from disk and warn if:
	(a) total sector size is different from the size of ccd, or
	(b) size of a partition exceeds the size of ccd.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Feb 6 08:13:07 1998 UTC (26 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +6 -17 lines
Allow a ccd component to be on any partition type.

Revision 1.42.4.2: download - view: text, markup, annotated - select for diffs
Tue Oct 14 10:22:06 1997 UTC (27 years, 2 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.42.4.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.4.1: +33 -15 lines
Update marc-pcmcia branch from trunk.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Oct 9 08:11:07 1997 UTC (27 years, 2 months ago) by jtc
Branches: MAIN
CVS tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-base
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -3 lines
Fix tipo inherited from old version of TNF copyright template.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Oct 8 23:06:59 1997 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +31 -13 lines
Implement DIOCGDEFLABEL.

Revision 1.42.4.1: download - view: text, markup, annotated - select for diffs
Sat Aug 23 07:12:47 1997 UTC (27 years, 3 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +7 -7 lines
Update marc-pcmcia branch from trunk.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Aug 4 10:00:11 1997 UTC (27 years, 4 months ago) by fair
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +7 -7 lines
%x -> 0x%x

Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Jun 26 16:28:34 1997 UTC (27 years, 5 months ago) by kleink
Branches: MAIN
CVS tags: marc-pcmcia-bp, bouyer-scsipi
Branch point for: marc-pcmcia
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +5 -4 lines
Leftover from last commit: require us to be initialized when a DIOCGDINFO
ioctl(2) is issued; the uninitialized disklabel pointer might get dereferenced
otherwise.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Jun 26 04:25:50 1997 UTC (27 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +23 -27 lines
In ccdioctl(), consolidate checks for "open for writes" and "initialized".

Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Jun 23 23:59:53 1997 UTC (27 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +16 -8 lines
Two changes to ccdsize():
- If the partition was previously open, don't do the open/close steps.
  (Sync with other disk drivers.)
- foosize()'s return value is in DEV_BSIZE units; adjust the size obtained
  from the disklabel accordingly.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Mar 12 22:31:37 1997 UTC (27 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -6 lines
Remove bogus use of splhigh(), and apparently unneeded bzero().

Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Jan 30 04:00:52 1997 UTC (27 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +67 -10 lines
A performance optimization, inspired by a conversation with Thor Simon:

	- Keep a freelist of component buffer headers, defaulting
	  to 8 headers per component (tunable with the CCDNBUF
	  kernel compile option).
	- When allocating a component buffer, try to pull a header
	  off the freelist first, falling back on MALLOC() if the
	  freelist is empty.  Use MALLOC() rather than malloc(),
	  because it will attempt to short-cut the allocation before
	  actually making a full-blown malloc() call.
	- Keep statistics on how many component buffer headers have
	  been allocated and how many of those allocations have
	  resulted in freelist misses.

With these changes, I observed measurable decreases in system and
wall clock time on operations on an 8G ccd, as well as a measurable
drop in the time spent in ccdbuffer() (measured with kernel profiling).

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Jan 30 03:32:56 1997 UTC (27 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2 lines
Fix OBOB in ccdopen() partition range check.
From Klaus Klein <kleink@layla.inka.de>, PR #3161.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Dec 18 19:22:46 1996 UTC (27 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-setroot
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +8 -5 lines
Compute the componet number properly so that error reporting is somewhat
meaningful.  Bug noticed by Marshall Midden <m4@nts.umn.edu>.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Oct 13 01:37:06 1996 UTC (28 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +35 -35 lines
backout kprintf changes

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Oct 10 22:25:07 1996 UTC (28 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +38 -38 lines
printf -> kprintf, sprintf -> ksprintf

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun May 5 04:21:14 1996 UTC (28 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
Fix bogus return value in ccdopen(); it failed to indicate an error
condition if:
	- ccd was not initialized
	- partition did not exist

Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Apr 22 01:26:39 1996 UTC (28 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +1 -2 lines
remove sys/cpu.h

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Mar 30 23:05:54 1996 UTC (28 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
Remove dependencies to dev_conf.h and the file itself.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Mar 24 01:26:57 1996 UTC (28 years, 8 months ago) by mrg
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +5 -5 lines
%d -> %ld in a few places...

Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Mar 7 15:00:11 1996 UTC (28 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +45 -53 lines
prototypes for ccd audio and ncr5380

Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Feb 28 01:08:28 1996 UTC (28 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +22 -18 lines
Copyright assigned to The NetBSD Foundation.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Feb 11 18:04:01 1996 UTC (28 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +8 -5 lines
Avoid deref'ing a bad pointer in ccdopen().  This could happen if
any partition other than RAW_PART is opened before configuring the
ccd.  Bug pointed out by Matthew Green.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Feb 10 22:27:22 1996 UTC (28 years, 10 months ago) by hpeyerl
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2 lines
detatch this spelling mistake from this source file.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Feb 6 18:15:19 1996 UTC (28 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
Fix typo, from Thorsten Frueauf <frueauf@ira.uka.de>.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Feb 1 20:47:13 1996 UTC (28 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +126 -33 lines
Add experimental data mirroring support, derived from code written by
Satoshi Asami and Nisha Talagala.  For details on using data mirroring,
see the ccd(4) manual page.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Jan 7 22:03:28 1996 UTC (28 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +52 -89 lines
New generic disk framework.  Highlights:

	- New metrics handling.  Metrics are now kept in the new
	  `struct disk'.  Busy time is now stored as a timeval, and
	  transfer count in bytes.

	- Storage for disklabels is now dynamically allocated, so that
	  the size of the disk structure is not machine-dependent.

	- Several new functions for attaching and detaching disks, and
	  handling metrics calculation.

Old-style instrumentation is still supported in drivers that did it before.
However, old-style instrumentation is being deprecated, and will go away
once the userland utilities are updated for the new framework.

For usage and architectural details, see the forthcoming disk(9) manual
page.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Dec 8 19:13:26 1995 UTC (29 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +9 -2 lines
When unconfiguring a ccd, only free as many interleave indices as
were allocated, which may not be the same as the number of components
in the ccd.  From Don Lewis <gdonl@gv.ssi1.com>.  Fixes PR #1820.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Nov 6 19:58:01 1995 UTC (29 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +7 -3 lines
Fix a race condition where if a process is asleep waiting on an
exclusive lock of a ccd device while another process is unconfiguring
that same device, the first process would never awaken (unless interrupted).

Revision 1.18.2.2: download - view: text, markup, annotated - select for diffs
Fri Nov 3 02:40:33 1995 UTC (29 years, 1 month ago) by thorpej
Branches: netbsd-1-1
CVS tags: netbsd-1-1-RELEASE, netbsd-1-1-PATCH001
Diff to: previous 1.18.2.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.2.1: +7 -3 lines
Update from trunk; don't translate block number if part != RAW_PART.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Nov 3 02:35:54 1995 UTC (29 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +7 -3 lines
In ccdstart(), only translate the block number from partition-relative
to absolute if part != RAW_PART.

Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 12 21:30:16 1995 UTC (29 years, 2 months ago) by thorpej
Branches: netbsd-1-1
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +8 -7 lines
Update from trunk: Fix bad pointer deref, memory leak, and geometry
calculation, pointed out by Jochen Pohl in PR #1588.  Change the interleave
index to an array of ints rather than an array of chars to avoid losing in
the event one has more than 127 components.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Oct 12 21:28:32 1995 UTC (29 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +8 -7 lines
Fix bad pointer deref, memory leak, and geometry calculation, pointed
out by Jochen Pohl in PR #1588.  Change the interleave index to an
array of ints rather than an array of chars to avoid losing in the event
one has more than 127 components.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Oct 9 05:37:57 1995 UTC (29 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-1-base
Branch point for: netbsd-1-1
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
Batting 1.000: fix a potential panic situation in ccdioctl() that can occur
if ccdinit() fails.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Oct 9 05:21:09 1995 UTC (29 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +7 -4 lines
Fix up a couple of comments.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Oct 9 01:45:34 1995 UTC (29 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -7 lines
Add the partition offset to the block number in ccdstart() as opposed
to ccdstrategy(), and do it in a way that doesn't corrupt the block number
for residuals.  (What was I _thinking_?!)

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Oct 9 00:46:45 1995 UTC (29 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +93 -15 lines
Implement a simple locking mechanism and use it, for sanity's sake.
In ccdopen(), don't update the disklabel if any partition is already open.
Prevents race bewteen ccdstrategy() and ccdgetdisklabel().

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Sep 6 04:15:59 1995 UTC (29 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
Fix misplaced #ifdef.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Aug 29 23:13:44 1995 UTC (29 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +16 -1 lines
Wrap dk stats stuff in `#ifdef WORKING_DISK_STATISTICS'.  Takes care
of PR #1388 until such time as dk stats works on all ports.  XXX !!

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Aug 21 18:25:52 1995 UTC (29 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
Fix typo, pointed out by cross@va.pubnix.com (Chris P. Ross).

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Aug 17 16:31:30 1995 UTC (29 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +794 -235 lines
New version of ccd.  Allows dynamic run-time configuration and
unconfiguration and supports disklabels.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jul 4 07:18:26 1995 UTC (29 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -5 lines
Make each disk and tape driver define its own read and write functions.
Deprecate rawread() and rawwrite() completely.  Remove d_strategy from cdevsw to
force the abstraction barrier.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Jun 26 05:34:44 1995 UTC (29 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +10 -3 lines
make dump stubs consistent

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Mar 9 02:20:34 1995 UTC (29 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -1 lines
spaces -> tab

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Mar 2 06:40:38 1995 UTC (29 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +37 -7 lines
from jason thorpe: add ccdclose(), make it work with the MI scsi code,
and add knowledge of i386 disk device names (XXX).

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Mar 2 06:38:11 1995 UTC (29 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +56 -44 lines
don't overload buffer structs; allocate and use a 'super-struct' instead.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Oct 30 21:47:27 1994 UTC (30 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
be more careful with types, also pull in headers where necessary.

Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 14 07:41:21 1994 UTC (30 years, 4 months ago) by mycroft
Branches: netbsd-1-0
CVS tags: netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +4 -4 lines
update from trunk

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Aug 14 07:41:08 1994 UTC (30 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -4 lines
ccdevsw --> cdevsw

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jul 2 06:03:47 1994 UTC (30 years, 5 months ago) by hpeyerl
Branches: MAIN
CVS tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +170 -72 lines
These should have been the 4.4Lite versions. duh.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jun 29 06:31:30 1994 UTC (30 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -3 lines
New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Jun 24 14:11:02 1994 UTC (30 years, 5 months ago) by hpeyerl
Branches: MAIN
Concat disk driver moved from hp300/dev to here.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>