Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-11-01 | english | Pedro Martelletto | |
2004-11-01 | additional DIAGNOSTIC, checking for proc in lockmgr when required | marius eriksen | |
ok pedro@ tedu@ | |||
2004-11-01 | check for malloc() in bufq_default_alloc(), ok tedu@ | Pedro Martelletto | |
2004-10-29 | silly typo... | Pedro Martelletto | |
2004-10-26 | styling | Pedro Martelletto | |
2004-10-25 | remove dead 'ifdef tahoe' code, ok millert@ deraadt@ | Pedro Martelletto | |
2004-10-14 | a more reasonable limit for the stackgap_random; found by openbsd@hunger.hu | Michael Shalayeff | |
2004-10-04 | cacheing -> caching | Pedro Martelletto | |
2004-09-29 | ec_count32 was a bad idea; remove it for good. | Miod Vallat | |
2004-09-23 | change KERN_INTRCNT_CNT to return a quad; ok tedu | Theo de Raadt | |
2004-09-20 | spl dance to protect buffer flags in a sensitive context | Pedro Martelletto | |
ok millert@ tedu@ | |||
2004-09-19 | constify speedtabs and make ttspeedtab() take a const struct speedtab * | Michael Shalayeff | |
2004-09-17 | Some cleanup: | Alexander Yurchenko | |
- don't mix unsigned and u_int across the code - un'static some funcs ok art@ | |||
2004-09-16 | Don't put parens around the call to pool_put but do use parens to | Todd C. Miller | |
protect expansion of the kn parameter. OK miod@ | |||
2004-09-16 | add hint for lower layer that a sosend() is in progress (SS_ISSENDING) | Markus Friedl | |
inspired by a posting from David Borman and similar changes in net/freebsd ok mcbride | |||
2004-09-16 | check for VBAD vnodes on getvnode(). ok andreas@, tedu@ and marius@ | Pedro Martelletto | |
2004-09-15 | Check for num < 0 in sysctl_sensors(); from Patrick Latifi. | Alexander Yurchenko | |
ok millert@ | |||
2004-09-15 | Typo in #endif comment. | Alexander Yurchenko | |
2004-09-15 | Kill more netiso ghosts. | Alexander Yurchenko | |
ok millert@ | |||
2004-08-24 | back out the last change as it seems to produce problems found by brad@; ↵ | Michael Shalayeff | |
deraadt@ ok | |||
2004-08-15 | protect code dealing with the vnode sync list with splbio(). fixes the | Pedro Martelletto | |
'fsync failed' panic on amd64. discussed with and ok'd by art@, tedu@ and deraadt@. tested by many (thanks). | |||
2004-08-06 | provide md USPACE_ALIGN zero on all but mips; deradat@ pefo@ ok | Michael Shalayeff | |
2004-08-05 | Fix typos. Found by Dries Schellekens | Artur Grabowski | |
2004-08-05 | don't attempt to put processes back in a directory after unmount. | Ted Unangst | |
it could never always work, and worse, may cause other bugs/crashes. | |||
2004-08-04 | hardclock detects if ITIMER_VIRTUAL and ITIMER_PROF have expired and | Artur Grabowski | |
sends SIGVTALRM and SIGPROF to the process if they had. There is a big problem with calling psignal from hardclock on MULTIPROCESSOR machines though. It means we need to protect all signal state in the process with a lock because hardclock doesn't obtain KERNEL_LOCK. Trying to track down all the tentacles of this quickly becomes very messy. What saves us at the moment is that SCHED_LOCK (which is used to protect parts of the signal state, but not all) happens to be recursive and forgives small and big errors. That's about to change. So instead of trying to hunt down all the locking problems here, just make hardclock not send signals. Instead hardclock schedules a timeout that will send the signal later. There are many reasons why this works just as good as the previous code, all explained in a comment written in big, friendly letters in kern_clock. miod@ ok noone else dared to ok this, but noone screamed in agony either. | |||
2004-08-04 | Uninline vputonfreelist. | Artur Grabowski | |
2004-08-04 | Even when we have timecounters we still have to do the check for secondary | Artur Grabowski | |
cpus calling hardclock and the statclock emulation. Move some ifdef __HAVE_TIMECOUNTER code. | |||
2004-08-04 | - Match time_second and time_uptime prototypes. | Artur Grabowski | |
- Less chatty. | |||
2004-08-04 | better comments | Pedro Martelletto | |
2004-08-03 | Fix a minor bug where indirect config crashes the kernel | Per Fogelstrom | |
when match verbose is turend on. | |||
2004-08-03 | NFS commit coalescion: instead of sending a commit for each block, coalesce | marius eriksen | |
these into larger ranges wherever possible. this should speed up NFS writes quite a bit. ok art@ millert@ pedro@ tedu@ | |||
2004-08-03 | Print more diagnostics on fsync failure in sched_sync. | Artur Grabowski | |
2004-08-02 | - check for LK_NOWAIT on vget() | Pedro Martelletto | |
- use ltsleep() instead of the unlock + sleep combo ok art@, inspiration from free/net | |||
2004-08-01 | leave space for stackgap on growsuppers | Michael Shalayeff | |
2004-07-29 | proper condition for freeing a page and fix a comment appropriately; art@ ↵ | Michael Shalayeff | |
tedu@ ok | |||
2004-07-29 | put the scheduler in its own file. reduces clutter, and logically separates | Ted Unangst | |
"put this process to sleep" and "find a process to run" operations. no functional change. ok art@ | |||
2004-07-28 | This touches only MI code, and adds new time keeping code. The | Thorsten Lockert | |
code is all conditionalized on __HAVE_TIMECOUNTER, and not enabled on any platforms. adjtime(2) support exists, courtesy of nordin@, sysctl(2) support and a concept of quality for each time source attached exists. High quality time sources exists for PIIX4 ACPI timer as well as some AMD power management chips. This will have to be redone once we actually add ACPI support (at that time we need to use the ACPI interfaces to get at these clocks). ok art@ ken@ miod@ jmc@ and many more | |||
2004-07-28 | Call dom_dispose() for any SCM_RIGHTS message that went through the | Todd C. Miller | |
read path rather than recv. Previously, if an fd was passed via sendmsg() but was consumed by the receiver via read() the ref count was incremented and never decremented and so the ref count would never reach zero even when there was no long any processes holding the file open (this was especially bad for locked fds). OK markus@ and art@ | |||
2004-07-25 | move db_show_all_procs to kern_proc.c, proc_printit goes in DDB too. | Ted Unangst | |
shuffle functions around so that scheduler is all together. no real functional changes. ok art@ testing miod@ | |||
2004-07-22 | SIMPLELOCK -> mutex for the lock around deadproc list. | Artur Grabowski | |
Also move the whole deadproc infrastructure to kern_exit, it's only used there. miod@ ok | |||
2004-07-22 | fix cases when m_dup1() returned mbuf chain (instead of single mbuf). | Jun-ichiro itojun Hagino | |
yamt@netbsd | |||
2004-07-22 | remove p arg from fdplock | Ted Unangst | |
2004-07-21 | In pipe_read, when the pipelock fails (most likely because we catch a | Artur Grabowski | |
signal), don't jump to unlocked_error: and do things that we don't need to do (including messing up the internal state of the pipe). Just return. ok niklas@ miod@ | |||
2004-07-21 | I was wrong. The assymetry created by the proc argument to rw_enter_write | Artur Grabowski | |
is horrible and doesn't add anything. Remove it. XXX - the fdplock macro will need a separate cleanup. niklas@ markus@ ok | |||
2004-07-20 | ifdef DDB a few functions only used (or usable) from DDB. | Artur Grabowski | |
2004-07-20 | The timeout wheels are manipulated by hardclock that's not protected with | Artur Grabowski | |
biglock. We need to protect them with a mutex. | |||
2004-07-20 | protect printf with a mutex instead of SIMPLELOCK. | Artur Grabowski | |
2004-07-20 | Introducing mutexes - cpu-owned spinning locks with spl semantics. | Artur Grabowski | |
This is the MI (slightly inefficient and not MP safe) implementation. deraadt@ ok Tested by many. (this and following commits) | |||
2004-07-18 | return EINVAL if ftruncate(2) is passed a negative offset | Anil Madhavapeddy | |
ok millert@, miod@, marius@ | |||
2004-07-15 | sync | Theo de Raadt | |