The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.44 / (download) - annotate - [select for diffs], Sun Feb 10 17:13:33 2019 UTC (9 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, netbsd-9, isaki-audio2-base, isaki-audio2, HEAD
Changes since 1.43: +3 -4 lines
Diff to previous 1.43 (colored)

Introduce PR_ZERO to avoid open-coding memset()s everywhere. OK riastradh@.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jun 1 02:45:13 2017 UTC (2 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-merge-20190127, pgoyette-compat-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, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: phil-wifi
Changes since 1.42: +2 -4 lines
Diff to previous 1.42 (colored)

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.42 / (download) - annotate - [select for diffs], Fri Apr 21 15:10:35 2017 UTC (2 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, bouyer-socketcan-base1
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

- Propagate the signal mask from the ucontext_t to the newly created thread
  as specified by _lwp_create(2)
- Reset the signal stack for threads created with _lwp_create(2)

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jul 7 06:55:43 2016 UTC (3 years, 4 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

KNF. Remove extra spaces. No functional change.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Sep 5 09:20:59 2014 UTC (5 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

Try not to use f_data, use f_{vnode,socket,pipe,mqueue,kqueue,ksem} to get
a correctly typed pointer.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Feb 25 18:30:11 2014 UTC (5 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Changes since 1.38: +2 -11 lines
Diff to previous 1.38 (colored)

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.38 / (download) - annotate - [select for diffs], Fri Oct 25 16:23:46 2013 UTC (6 years ago) by martin
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Mark a diagnostic-only variable

Revision 1.37 / (download) - annotate - [select for diffs], Thu Feb 17 19:02:50 2011 UTC (8 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, 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, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

Remove curproc == NULL test.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Dec 17 22:05:36 2010 UTC (8 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.35: +3 -2 lines
Diff to previous 1.35 (colored)

aio_worker: add an assertion

Revision 1.35 / (download) - annotate - [select for diffs], Fri Aug 6 18:36:09 2010 UTC (9 years, 3 months ago) by jruoho
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.34: +45 -13 lines
Diff to previous 1.34 (colored)

Like with mqueue(3), create and remove the aio(3) sysctl nodes dynamically.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:11 2010 UTC (9 years, 4 months ago) by hannken
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

Clean up vnode lock operations pass 2:

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

Welcome to 5.99.32.

Discussed on tech-kern.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Jun 13 04:45:50 2010 UTC (9 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.32: +2 -9 lines
Diff to previous 1.32 (colored)

aio_enqueue_job: don't bother to check curjob.
- it's an undefined behaviour anyway.
- the check sometimes prevent legal reuse of userland aiocb.
  note that the userland can notice the i/o completion and reuse the aiocb
  before the aio_worker kernel thread clears curjob.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Jun 13 04:13:31 2010 UTC (9 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.31: +2 -3 lines
Diff to previous 1.31 (colored)

increment p_nrlwps in lwp_create rather than letting callers do so
as it's always decremented by lwp_exit.  this fixes error recovery of
eg. aio_procinit.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Jan 30 21:23:46 2010 UTC (9 years, 9 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.30: +18 -20 lines
Diff to previous 1.30 (colored)

aio_suspend1: remove wrong comment, add one new.
Tidy up a little, while here.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Nov 22 19:09:16 2009 UTC (9 years, 11 months ago) by mbalmer
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

more s/the the/the/

Revision 1.29 / (download) - annotate - [select for diffs], Wed Oct 21 21:12:06 2009 UTC (10 years ago) by rmind
Branch: MAIN
CVS Tags: jym-xensuspend-nbase
Changes since 1.28: +5 -6 lines
Diff to previous 1.28 (colored)

Remove uarea swap-out functionality:

- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code.  Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.

Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).

Discussed on <tech-kern>, reviewed by <ad>.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Oct 12 23:43:13 2009 UTC (10 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.27: +8 -8 lines
Diff to previous 1.27 (colored)

sys___aio_suspend50, sys_lio_listio:
	- fix the buffer sizes.
	- use kmem_alloc instead of kmem_zalloc for buffers which we will
	  overwrite soon.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Oct 12 23:38:08 2009 UTC (10 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.26: +16 -9 lines
Diff to previous 1.26 (colored)

wrap long lines.  no functional changes.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Oct 12 23:36:56 2009 UTC (10 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

make aio_worker static.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Oct 12 23:31:59 2009 UTC (10 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.24: +2 -5 lines
Diff to previous 1.24 (colored)

aio_suspend1: fix a double free bug.

Revision 1.24 / (download) - annotate - [select for diffs], Sun May 24 21:41:26 2009 UTC (10 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, jymxensuspend-base
Changes since 1.23: +6 -5 lines
Diff to previous 1.23 (colored)

More changes to improve kern_descrip.c.

- Avoid atomics in more places.
- Remove the per-descriptor mutex, and just use filedesc_t::fd_lock.
  It was only being used to synchronize close, and in any case we needed
  to take fd_lock to free the descriptor slot.
- Optimize certain paths for the <NDFDFILE case.
- Sprinkle more comments and assertions.
- Cache more stuff in filedesc_t.
- Fix numerous minor bugs spotted along the way.
- Restructure how the open files array is maintained, for clarity and so
  that we can eliminate the membar_consumer() call in fd_getfile().  This is
  mostly syntactic sugar; the main functional change is that fd_nfiles now
  lives alongside the open file array.

Some measurements with libmicro:

- simple file syscalls are like close() are between 1 to 10% faster.
- some nice improvements, e.g. poll(1000) which is ~50% faster.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Feb 22 20:28:06 2009 UTC (10 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, jym-xensuspend-base
Changes since 1.22: +2 -6 lines
Diff to previous 1.22 (colored)

PR kern/26878 FFSv2 + softdep = livelock (no free ram)
PR kern/16942 panic with softdep and quotas
PR kern/19565 panic: softdep_write_inodeblock: indirect pointer #1 mismatch
PR kern/26274 softdep panic: allocdirect_merge: ...
PR kern/26374 Long delay before non-root users can write to softdep partitions
PR kern/28621 1.6.x "vp != NULL" panic in ffs_softdep.c:4653 while unmounting a softdep (+quota) filesystem
PR kern/29513 FFS+Softdep panic with unfsck-able file-corruption
PR kern/31544 The ffs softdep code appears to fail to write dirty bits to disk
PR kern/31981 stopping scsi disk can cause panic (softdep)
PR kern/32116 kernel panic in softdep (assertion failure)
PR kern/32532 softdep_trackbufs deadlock
PR kern/37191 softdep: locking against myself
PR kern/40474 Kernel panic after remounting raid root with softdep

Retire softdep, pass 2. As discussed and later formally announced on the
mailing lists.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Jan 11 02:45:52 2009 UTC (10 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.21: +35 -25 lines
Diff to previous 1.21 (colored)

merge christos-time_t

Revision 1.21 / (download) - annotate - [select for diffs], Sun Nov 16 19:34:29 2008 UTC (11 years ago) by pooka
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, christos-time_t-nbase, christos-time_t-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.20: +3 -2 lines
Diff to previous 1.20 (colored)

more <sys/buf.h> police

Revision 1.20 / (download) - annotate - [select for diffs], Fri Nov 14 23:33:45 2008 UTC (11 years ago) by ad
Branch: MAIN
Changes since 1.19: +94 -13 lines
Diff to previous 1.19 (colored)

Make POSIX AIO loadable as a module.

Revision 1.19 / (download) - annotate - [select for diffs], Mon May 26 17:45:51 2008 UTC (11 years, 5 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-1-RELEASE, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5-0, netbsd-5, matt-nb5-mips64, haad-dm
Changes since 1.18: +15 -16 lines
Diff to previous 1.18 (colored)

Adjust and thus unify my license.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Apr 24 18:39:24 2008 UTC (11 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, yamt-nfs-mp-base, hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp, wrstuden-revivesa
Changes since 1.17: +7 -9 lines
Diff to previous 1.17 (colored)

Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since
we no longer need to guard against access from hardware interrupt handlers.

Additionally, if cloning a process with CLONE_SIGHAND, arrange to have the
child process share the parent's lock so that signal state may be kept in
sync. Partially addresses PR kern/37437.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Apr 24 15:35:29 2008 UTC (11 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)

Network protocol interrupts can now block on locks, so merge the globals
proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock).
Implications:

- Inspecting process state requires thread context, so signals can no longer
  be sent from a hardware interrupt handler. Signal activity must be
  deferred to a soft interrupt or kthread.

- As the proc state locking is simplified, it's now safe to take exit()
  and wait() out from under kernel_lock.

- The system spends less time at IPL_SCHED, and there is less lock activity.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Mar 21 21:55:00 2008 UTC (11 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, ad-socklock-base1
Branch point for: yamt-pf42, christos-time_t
Changes since 1.15: +13 -13 lines
Diff to previous 1.15 (colored)

Catch up with descriptor handling changes. See kern_descrip.c revision
1.173 for details.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Dec 21 12:04:19 2007 UTC (11 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

KM_NOSLEEP -> KM_SLEEP

Revision 1.14 / (download) - annotate - [select for diffs], Thu Dec 20 23:03:10 2007 UTC (11 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.13: +26 -26 lines
Diff to previous 1.13 (colored)

Convert all the system call entry points from:
    int foo(struct lwp *l, void *v, register_t *retval)
to:
    int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Nov 30 17:39:43 2007 UTC (11 years, 11 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: vmlocking2, bouyer-xeni386
Changes since 1.12: +4 -7 lines
Diff to previous 1.12 (colored)

aio_enqueue_job: Fix the mix of previous commits, that is, increase
aio_jobs_count only once; also, decrease it in second error case too.

Noted by <ad>.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Nov 29 18:17:01 2007 UTC (11 years, 11 months ago) by rmind
Branch: MAIN
Changes since 1.11: +12 -10 lines
Diff to previous 1.11 (colored)

Finish the usage of atomic operations:
- Leave non-accurate pre-checks;
- Use atomic_inc_uint_nv() with re-check;

Reviewed by <ad>.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Nov 29 17:52:27 2007 UTC (11 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.10: +7 -7 lines
Diff to previous 1.10 (colored)

Use atomics to maintain aio_jobs_count. XXX There is still a race, we
should should use atomic_inc_uint_nv() before setup to ensure that we
don't exceed the max number of concurrent jobs.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Nov 28 19:30:56 2007 UTC (11 years, 11 months ago) by rmind
Branch: MAIN
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored)

Unify the license: All rights reserved.
No functional change.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 26 19:02:04 2007 UTC (11 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

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.8 / (download) - annotate - [select for diffs], Tue Nov 6 00:42:44 2007 UTC (12 years ago) by ad
Branch: MAIN
CVS Tags: jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Changes since 1.7: +9 -7 lines
Diff to previous 1.7 (colored)

Merge scheduler changes from the vmlocking branch. All discussed on
tech-kern:

- Invert priority space so that zero is the lowest priority. Rearrange
  number and type of priority levels into bands. Add new bands like
  'kernel real time'.
- Ignore the priority level passed to tsleep. Compute priority for
  sleep dynamically.
- For SCHED_4BSD, make priority adjustment per-LWP, not per-process.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Sep 1 23:40:23 2007 UTC (12 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5
Branch point for: yamt-lazymbuf, mjf-devfs, bouyer-xenamd64
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

Make bioops a pointer and point it to the softdeps struct in softdep
init.  Decouples "options SOFTDEP" from the main kernel and ffs code.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jul 11 00:40:42 2007 UTC (12 years, 4 months ago) by rmind
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, mjf-ufs-trans, matt-armv6, jmcneill-pm
Changes since 1.5: +7 -4 lines
Diff to previous 1.5 (colored)

According to POSIX, signal should be sent in aio_cancel() case too.

Revision 1.5 / (download) - annotate - [select for diffs], Thu May 31 06:24:23 2007 UTC (12 years, 5 months ago) by rmind
Branch: MAIN
Branch point for: vmlocking
Changes since 1.4: +17 -21 lines
Diff to previous 1.4 (colored)

Make AIO initialization MP-safe.

Actually, lwp_exit() with (l != curlwp) will not work.
This fix might be pulled up from vmlocking branch.

Revision 1.4 / (download) - annotate - [select for diffs], Thu May 31 05:29:43 2007 UTC (12 years, 5 months ago) by rmind
Branch: MAIN
Changes since 1.3: +93 -91 lines
Diff to previous 1.3 (colored)

- Make aio_worker to handle pending exits and coredumps
- Allow aio_suspend() to be ended early by a signal
- Fix reference counting on LIO structures (remove hack)
- Use two global pools for AIO structures
- Minor cleanups

Patch provided by <ad>. Some additional modifications by me.
Reviewed by <yamt>.

Revision 1.3 / (download) - annotate - [select for diffs], Mon May 21 15:35:48 2007 UTC (12 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

rename si_sigval -> si_value to match POSIX RTS.

Revision 1.2 / (download) - annotate - [select for diffs], Thu May 17 14:51:41 2007 UTC (12 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

merge yamt-idlelwp branch.  asked by core@.  some ports still needs work.

from doc/BRANCHES:

	idle lwp, and some changes depending on it.

	1. separate context switching and thread scheduling.
	   (cf. gmcgarry_ctxsw)
	2. implement idle lwp.
	3. clean up related MD/MI interfaces.
	4. make scheduler(s) modular.

Revision 1.1 / (download) - annotate - [select for diffs], Mon May 7 22:22:21 2007 UTC (12 years, 6 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Branch point for: yamt-idlelwp

Rename vfs_aio.c to sys_aio.c as decided in <tech-kern>.

Please note, that <tech-kern> people should note about
file names before commit. Otherwise, function may fail
with errno set to EDIRTY, and return -1. ;)

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




CVSweb <webmaster@jp.NetBSD.org>