summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Avoid double-free panic.phk2003-05-051-1/+0
| | | | Tripped up: DougB
* Clean up proc locking in procfs: make sure the proc lock is held beforerwatson2003-05-053-5/+12
| | | | | | | | | | | entering sys_process.c debugging primitives, or we violate assertions. Also, be more careful about releasing the process lock around calls to uiomove() which may sleep waiting for paging machinations or related notions. We may want to defer the uiomove() in at least one case, but jhb will look into that at a later date. Reported by: Philippe Charnier <charnier@xp11.frmug.org> Reviewed by: jhb
* Write to RESET_START register if TARGET_RESET ORB doesn't work for timeout.simokawa2003-05-051-52/+138
|
* Don't panic for FWXF_START state in fw_xfer_unload().simokawa2003-05-051-2/+7
|
* Add a missing ~ when clearing flags in close.sos2003-05-051-1/+1
| | | | PR: 35392
* Things run thru the C preprocessor must use C-style comments.obrien2003-05-052-22/+22
|
* Change the semantics of sysv shm emulation to take a additionalmbr2003-05-053-108/+179
| | | | | | | | | | | | | | | | | argument to the functions shm{at,ctl}1 and shm_find_segment_by_shmid{x}. The BSD semantics didn't allow the usage of shared segment after being marked for removal through IPC_RMID. The patch involves the following functions: - shmat - shmctl - shm_find_segment_by_shmid - shm_find_segment_by_shmidx - linux_shmat - linux_shmctl Submitted by: Orlando Bassotto <orlando.bassotto@ieo-research.it> Reviewed by: marcel
* Back out rev 1.146 -- it broke the LINT build.obrien2003-05-051-1/+1
| | | | We are about to enter the 5.1 code freeze and things must be buildable.
* Revert rev 1.396 -- it broke the Alpha kernel build.obrien2003-05-051-1/+1
|
* Re-order the the initialization slightly to improve structure.phk2003-05-051-22/+22
|
* Add sector size member to subdisk, plex and volume objects.grog2003-05-051-0/+3
|
* Remove an accidental #include.grog2003-05-051-8/+30
| | | | | | | | Maintain sector sizes for all objects, not just for drives. Some of this could do with improvement: in particular, we get an error if the components of an object have different sector sizes. Clean up some comments.
* Implement DIOCGSECTORSIZE and DIOCGMEDIASIZE ioctls. It appears thatgrog2003-05-051-0/+24
| | | | they are now necessary to use newfs(8).
* Use a dedicated malloc(9) bucket for sector storage.phk2003-05-051-7/+9
|
* Add two KASSERTS which trigger if free(9) would drag the "memuse" statisticphk2003-05-051-0/+6
| | | | | for a malloc bucket under zero. This typically happens if you malloc(9) from one bucket and free to another.
* Don't warn if the rawoffset is zero, that is actually the best value itphk2003-05-051-1/+1
| | | | could have.
* regen.murray2003-05-052-2/+39
|
* Add KEYSPAN USA19QW, JRC PHONE, SANDISK SDDR75.murray2003-05-051-0/+7
| | | | PR: misc/48141, bin/51265, kern/49053, kern/50144
* Correct failed checkin. Only one of the hunks in the last checkingrog2003-05-051-1/+1
| | | | seems to have made it.
* Since we insist on loading the POS ACPI by default, give the poor userobrien2003-05-051-0/+5
| | | | instructions on the main help screen for disabling it.
* Use le32dec() instead of le32toh() because we are not guaranteed to havephk2003-05-051-1/+1
| | | | a word aligned input.
* Turn the check that rawoffset == mbroffset into a warning instead.phk2003-05-051-3/+5
|
* Clarify comments.grog2003-05-051-2/+2
|
* Add "preferred" keyword.grog2003-05-052-0/+7
|
* White space fixes.grog2003-05-051-3/+4
|
* Remove DIOCGDINFO ioctl. This almost makes newfs work again withoutgrog2003-05-051-14/+41
| | | | | | | | | | the -v option, though it's not clear that it won't bite us elsewhere. Forgotten by: phk Implement setreadpol() function for the VINUM_READPOL ioctl. Submitted by: Allan Saddi <allan@saddi.com>
* vinum_scandisk: Make sure the config is locked before we mess aroundgrog2003-05-051-15/+22
| | | | | | | | | | | | | | | | | | | | | with it. Finally implement read policies. The previous "implementation" didn't work because it referred to plexes which were almost invariably when referred to. Instead, deprecate the "prefer" keyword for volumes (though it's still there for the moment) and add a keyword "preferred" to the plex definition. The relationship is like this: Old: vol foo ... prefer foo.p3 New: plex foo.p3 volume foo preferred print_config: Print "preferred" where appropriate. No longer print "prefer" on volume config entries.
* Finally implement read policies. The previous "implementation" didn'tgrog2003-05-051-22/+52
| | | | | | | | | | | | | | | | | | | | | work because it referred to plexes which were almost invariably when referred to. Instead, deprecate the "prefer" keyword for volumes (though it's still there for the moment) and add a keyword "preferred" to the plex definition. The relationship is like this: Old: vol foo ... prefer foo.p3 New: plex foo.p3 volume foo preferred give_plex_to_volume: set preferred plex if specified on plex definition entry. This involves adding a parameter to the function to specify the preferred plex. config_plex: Implement preferred keyword.
* free_vinum: Rearrange sequence of actions to avoid potential racegrog2003-05-051-8/+7
| | | | condition when shutting down.
* Back out accidentally committed debuggingimp2003-05-041-8/+0
|
* Style fixes.kan2003-05-048-83/+86
| | | | | | | | | Remove DBL_DIG, DBL_MIN, DBL_MAX and their FLT_ counterparts, they were marked for deprecation ever since SUSv1 at least. Only define ULLONG_MIN/MAX and LLONG_MAX if long long type is supported. Restore a lost comment in MI _limits.h file and remove it from sys/limits.h where it does not belong.
* Only accept a rawoffset if it is identical to the mbroffset.phk2003-05-041-0/+4
|
* Add a way to read the current mbroffset from a BSD label class.phk2003-05-041-1/+7
|
* Add gctl_set_param() function.phk2003-05-042-0/+26
|
* Extend the scope of the vm_object lock in vm_object_terminate().alc2003-05-041-4/+4
|
* Remove debugging printfs which should not have been committed.phk2003-05-042-7/+0
|
* Change the way loadbalancing works on RAID1's.sos2003-05-042-6/+28
| | | | Based on code partially by me and by <Tor.Egge@cvsup.no.freebsd.org>.
* fix typo in TI1515 ID.imp2003-05-042-1/+9
|
* Implement dump function for ATA RAID's. Minor fixes by me...sos2003-05-041-0/+128
| | | | Submitted by: Tor Egge <Tor.Egge@cvsup.no.freebsd.org>
* Grap the ATA lock on all channels before suspend, this makes certainsos2003-05-043-0/+15
| | | | | that we have no outstanding ops in transit, which would cause problems on resume.
* Fix a bunch of typos and grammatical errors.murray2003-05-041-42/+43
| | | | | | PR: docs/40234 Submitted by: Chris Pepper <pepper@rockefeller.edu> (mostly) MFC After: 3 days
* Eliminate the separate malloc type for the sparing table.scottl2003-05-041-3/+2
|
* Add a missing __inline. Strange that gcc never complained about it.scottl2003-05-041-3/+3
| | | | Implement udf_readlblks() in terms of RDSECTOR.
* Correctly calculate the size of the extent that should be read inscottl2003-05-041-3/+3
| | | | | udf_readatoffset(). This should fixe problems with reading udf filesystems created with mkisofs.
* Forgot to update string and signal tables when some of the trap typesjake2003-05-041-4/+4
| | | | changed.
* Avoid a lock-order reversal and implement vm_object lockingalc2003-05-041-8/+8
| | | | in vm_pageout_page_free().
* Grab some of the latest TI cardbus bridge IDs. Inspired by a similarimp2003-05-041-0/+10
| | | | commit to NetBSD. I'll add these to various tables soon.
* My previous commit broke builds for restricted namespaces. Addmbr2003-05-041-1/+1
| | | | | | a underscore to fix this. Reviewed by: peter
* Update declaration of vinum_scandisk (only one parameter).grog2003-05-041-1/+1
|
* Rewrite of startup code:grog2003-05-041-0/+18
| | | | | | Add ioctl VINUM_READCONFIG which implements both the "read" and "start" commands in vinum(8). Aim for marginally better error messages when something goes wrong.
OpenPOWER on IntegriCloud