summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-06-01Check return code for resource allocation.Marco Peereboom
prompted by tedu
2007-06-01dont request zeroed memory when we allocate data regions for buffers. thisDavid Gwynne
moves memset from the 20th most expensive function in the kernel to the 331st when doing heavy io. ok tedu@ thib@ pedro@ beck@ art@
2007-06-01decouple the allocated number of vnodes from the "desiredvnodes" variableBob Beck
which is used to size a zillion other things that increasing excessively has been shown to cause problems - so that we may incrementally look at increasing those other things without making the kernel unusable. This diff effectivly increases the number of vnodes back to the number of buffers, as in the earlier dynamic buffer cache commits, without increasing anything else (namecache, softdeps, etc. etc.) ok pedro@ tedu@ art@ thib@
2007-06-01Fix cd block major numberMiod Vallat
2007-06-01Nuke ufs_time_t, okay beck@ krw@ marco@Pedro Martelletto
2007-06-01Fix macppc tags.Alexander Yurchenko
ok drahn@
2007-06-01Establish interrupt after checking the i2s subsystem, fixes a problem withGordon Willem Klok
xserve G5. ok drahn
2007-06-01really goneTheo de Raadt
2007-06-01and don't forget the other daddr var in the commentOtto Moerbeek
2007-06-01fix struct vop_bmap_args comment. ok deraadt@Otto Moerbeek
2007-06-01wrong cast checking for VOP_BMAP return value; ok miodTheo de Raadt
2007-06-01daddr_t -> daddr64_t;Thordur I. Bjornsson
Basically the usage of daddr_t was to math out arguments to nfs_getcacheblk, wich calls getblk(); ok deraadt@
2007-06-01revert previous comment "fix", must have been sleepingOtto Moerbeek
2007-06-01fix comment, fs_ipg is inode *blocks* per cylinder groupOtto Moerbeek
2007-06-01convert ufs2_daddr_t -> daddr64_t for greater clarity; ok pedro otto thibTheo de Raadt
2007-06-01Remove more Free(?)BSD and NetBSD #ifdef/#endifs. No functional norMarc Balmer
binary change. ok jsg
2007-06-01remove crufty adosfs. everytime we try to change a vfs layer interface,Theo de Raadt
adosfs has the issue and in an entirely different way. noone uses this code so this is hte best way to handle the problem diff from pedro who went to sleep but we need to move ahead; ok thib
2007-06-01Remove the hci_enable now done in a higher layer.Gordon Willem Klok
ok uwe
2007-06-01Only probe phy's at address 0; gets rid of bogus phy's on theMark Kettenis
Marvell Yukon 88E8036. ok jsg@
2007-06-01rework the sensor task handling to run in the kernels generic workq.David Gwynne
apologies to art for abusing timeouts so badly. apologies to tedu for making his head hurt. tested by and ok tedu@
2007-06-01set debug level to 0Uwe Stuehler
2007-06-01complete the sys/netbt import and adopt some more code to our interfacesUwe Stuehler
2007-06-01sc_carplladdr does not need to be dereferenced.Marco Pfatschbacher
OK mcbride@
2007-06-01save metdata in context using dlg and tedu's shiny new workq api.Marco Peereboom
detect stale metadata during bringup.
2007-06-01never attempt to tweak a file just before commitTed Unangst
2007-06-01apply the "skip ipsec if there are no flows" speedup diff to IPv6 too.Henning Brauer
we need a pointer to the inpcb to decide, which was not previously passed to ip6_output, so this diff is a little bigger. from itojun, ok ryan
2007-06-01Don't initialize d_partitions[RAW_DISK] just before callingKenneth R Westerback
readdisklabel(), since all readdisklabel()'s do that already. ok deraadt@
2007-06-01Remove code to create a carp(4) Token Ring lladdr.Marco Pfatschbacher
OK mcbride@
2007-05-31panic if mtx_leave is called on an unlocked mutex. ok kettenis@Dale Rahn
2007-05-31Enable packet flow between HCI driver and controllerUwe Stuehler
- not all platforms have generic sofintr support, use schednetisr() - enable HCI driver at attach time (for development, since we have no userland tools yet)
2007-05-31don't print debug messagesUwe Stuehler
2007-05-31intel pchb rnd support, from i386Ted Unangst
ok deraadt
2007-05-31It's the time to squash antique bugs. This has been thereTobias Weingartner
for some time. I can't believe it took a re-read for future functionality plus something I wrote and kjell@ saved from '97 for me to find this. ok tom@
2007-05-31Clean up and fix sbt_write_packet()Uwe Stuehler
2007-05-31Add Bluetooth drivers to GENERIC (not enabled - we still have ways to go)Uwe Stuehler
ok gwk, deraadt
2007-05-31Sync comment regarding rthdr0 w/ kame tree.Ryan Thomas McBride
from itojun@
2007-05-31when getting ESTALE from the server, allow the client to retry in theThordur I. Bjornsson
nfsv2 client case, this matches v3 behaviour to that extent. This is to work around the fact that when the namecache is large, we dont purge vnodes correctly out of it. ok beck@,pedro@
2007-05-31Make sure that pf_state_key and pf_state_key_cmp are in sync.Ryan Thomas McBride
I am a retard for not testing properly and owe people beers tonight.
2007-05-31some more pchb that have rnd powers, IDs from NetBSDTed Unangst
2007-05-31RAW_PART is defined to be 2 in vax (like elsewhere) so use it ratherKenneth R Westerback
than 2.
2007-05-31Well, whatever the bug was, it does not seem to appear anymore.Artur Grabowski
Remove the workaround. (krw tried to reproduce many, many times)
2007-05-31switch wskbd hotkeys over to workq. this eliminates quite a bit of code,Ted Unangst
so remove the option too. if you have audio and wskbd, you have hotkeys. ok dlg
2007-05-31further improvement of the bus space i/o. firmware loading, booting,Reyk Floeter
and card initalization works now. thanks to dlg@ who pointed me to the fact that bus_space_write_region_N and bus_space_write_raw_region_N use count of elements vs. size of buffer arguments.
2007-05-31remove p_lock from struct proc; unused debug goo for lockmgr,Thordur I. Bjornsson
wich gets set and never checked etc... ok art@,tedu@
2007-05-31Minor bounds_check_with_label nits.Kenneth R Westerback
1) Use local variable 'labelsector' not 'labelsect' to be consistant (hp300, mac68k, mvme68k, mvme88k, vax). 2) Having checked for sz == 0, the next check needs only be sz < 0, not <= 0. (mac68k, mvme68k, mvme88k) 3) Use lp->d_partitions + DISKPART(dev), rather than lp->d_partitions[DISKPART(dev)] (hp300). Assuming no typos there should be no functional change.
2007-05-31Redo the syncer to be a little smarter on interaction while shutting downMarco Peereboom
the system help and ok tedu
2007-05-31ckuethe found i missed a file in the workq update. my badTed Unangst
2007-05-31Forgot to commit the changes to this file with the rest of the ELF32+64Tom Cosgrove
pieces. Since this is where the "boot both ELF32 and ELF64" behaviour is turned on for i386, it is quite important. Bump version numbers too. Found by ckuethe@; thanks.
2007-05-31switch the flags argument to the front, requested by artTed Unangst
ok dlg
2007-05-31zap the vm_amap am_l simplelock, and amap_{lock/unlock} macros forThordur I. Bjornsson
simple_{lock/unlock}. ok art@