| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously the "struct disk" were owned by the device driver and this
gave us problems when the device disappared and the users of that device
were not immediately disappearing.
Now the struct disk is allocate with a new call, disk_alloc() and owned
by geom_disk and just abandonned by the device driver when disk_create()
is called.
Unfortunately, this results in a ton of "s/\./->/" changes to device
drivers.
Since I'm doing the sweep anyway, a couple of other API improvements
have been carried out at the same time:
The Giant awareness flag has been flipped from DISKFLAG_NOGIANT to
DISKFLAG_NEEDSGIANT
A version number have been added to disk_create() so that we can detect,
report and ignore binary drivers with old ABI in the future.
Manual page update to follow shortly.
|
| |
|
| |
|
|
|
|
|
| |
Approved by: ru
MFC after: 1 week
|
|
|
|
| |
thr_setschedparam.c
|
|
|
|
|
|
|
| |
in the kernel.
Submitted by: Orla McGann <orly@redbrick.dcu.ie>
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
|
| |
a PTHREAD_RWLOCK_INITIALIZER to do for rwlocks what
a similarly named symbol does for statically initialized mutexes.
This symbol was dropped in The Open Group Base Specifications Issue 6
and does not exist in IEEE Std 1003.1, 2003, but it should still be
supported for backwards compatibility.
Pointy hat: mtm
|
|
|
|
|
| |
o Move pthread_getschedparam() into the same file with it's
pthread_set* counterpart. Copyright on both files is identical.
|
|
|
|
|
|
| |
o Instead of checking both the passed in pointer and its value
for NULL, only check the latter. Any caller that passes in
a NULL pointer is obviously wrong.
|
|
|
|
|
|
|
| |
o Fix mutex priority protocols. Keep separate counts of priority
inheritance and protection mutexes to make things easier.
This will not have much affect since this is only the
userland side, and the rest involves kernel scheduling.
|
|
|
|
|
| |
format. The old code tried to produce the exact same output as the
pre-libfetch implementation, but I no longer see any value in this.
|
| |
|
|
|
|
| |
to the format of other similar files in libthr.
|
|
|
|
|
|
|
|
| |
support is partial in that it will refuse to create large files on
filesystems that haven't been upgraded to EXT2_DYN_REV or that don't
have the EXT2_FEATURE_RO_COMPAT_LARGE_FILE flag set in the superblock.
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
bridge(4) is working on a level below. Suggest
sysctl net.inet.ip.check_interface=0 instead.
MFC after: 2 weeks
|
|
|
|
| |
exhausted reader not to see non-fatal warnings.
|
|
|
|
|
|
|
| |
PR: misc/54477
Submitted by: Nicola Vitale <nivit@libero.it>
Approved by: rwatson (mentor)
Confirmed by: #freebsd, Google
|
|
|
|
|
|
| |
PR: kern/18503
Submitted by: Anatoly Vorobey <mellon@pobox.com>
Approved by: rwatson (mentor)
|
|
|
|
|
|
| |
/boot/loader.conf. Make the description flow a bit better.
Complaints by: Nate Lawson <nate@root.org>
|
|
|
|
|
|
|
|
|
| |
a patch to mention portupgrade in freebsd-tips as well; I'm not
sure if that belongs here, so I'll leave it for someone else.
PR: misc/37073
Submitted by: Sean Chittenden <sean@chittenden.org>
Approved by: rwatson (mentor)
|
| |
|
|
|
|
|
|
| |
kernel. I'm not happy with it yet - refinements are to come.
This hack allows the kern.ps_strings and kern.usrstack sysctls to respond
to a 32 bit request, such as those coming from emulated i386 binaries.
|
|
|
|
|
|
| |
not working properly with the patch in place.
Approved by: bms(mentor)
|
|
|
|
| |
Approved by: alfred
|
|
|
|
| |
ExInterlockedAddLargeStatistic().
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
device.hints kernel environment variables when disabling ACPI.
Some users are getting confused when they see hint.acpi.0.disabled.
They are confusing it with a sysctl MIB.
Finally, add a reference for device.hints(5) and kenv(1)
in the "SEE ALSO" section of the man page.
PR: docs/62974
Submitted by: Christian S.J. Peron <maneo@bsdpro.com>
|
|
|
|
|
| |
Use taskqueue_thread rather than taskqueue_swi (maybe we should have
a taskqueue_ata).
|
|
|
|
| |
Reviewed by: imp (mentor), ru
|
|
|
|
|
|
| |
list where it should have been added originally.
Prodded by: bde
|
|
|
|
|
|
| |
so merge these (IPSEC has an extra ipsecstat)
Submitted by: "Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net>
|
|
|
|
|
| |
Spotted by: Dmitry Rzhavin
MFC after: 1 week
|
|
|
|
| |
Reviewed by: alfred, tanimura
|
|
|
|
|
|
|
|
|
|
|
|
| |
value for MSGBUF_SIZE is configured. MSGBUF_SIZE =
(32768 * bootverbose ? 2 : 1) is always 1 or 2, so there is not enough space
in the buffer for metadata, and blindly using the nonexistent space tends
to cause fatal pagefaults. I think
MSGBUF_SIZE = (32768 * (bootverbose ? 2 : 1)) would be always 32768 since
bootverbose is only statically initialized to 0 early when MSGBUF_SIZE is
used. MSGBUF_SIZE = (32768 * ((boothowto & RB_VERBOSE) ? 2 : 1)) should
work, but this belongs in <sys/msgbuf.h> even less than previous versions.
MSGBUF_SIZE shouldn't be a macro.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
it means that the correct value is unknown. Since this value is just
a hint to improve performance, initially assume that the first non-reserved
cluster is free, then correct this assumption if necessary before writing
the FSInfo block back to disk.
PR: 62826
MFC after: 2 weeks
|
|
|
|
| |
Submitted by: "Christian S.J. Peron" <maneo@bsdpro.com>
|
|
|
|
| |
Repocopied by: joe
|
| |
|
|
|
|
| |
MFCs noted: libdisk fix for PC98, killall(8) -e.
|
|
|
|
|
| |
tip by default. On my systems, at least, pccard modems like to turn
up on higher addresses.
|
|
|
|
| |
commit.
|
|
|
|
|
| |
killall(1) -e, sdpd(8), awk 20040207, GNU readline patches 001-005,
GNU tar renaming, OpenPAM Eelgrass.
|
| |
|
|
|
|
|
|
| |
and DTRT.
Explain if he supplies a pathname that is not in /dev.
|
| |
|
| |
|
| |
|
|
|
|
| |
(cc toolchain use it rarely, so no surprizes should occurse)
|