- 30 Jan, 2013 13 commits
-
-
Hans Petter Selasky authored
into the FreeBSD boot loader, typically for non-USB aware BIOSes, EFI systems or embedded platforms. This is also useful for out of the system compilation of the FreeBSD USB stack for various purposes. The USB kernel files can now optionally include a global header file which should include all needed definitions required to compile the FreeBSD USB stack. When the global USB header file is included, no other USB header files will be included by default. Add new file containing the USB stack configuration for the FreeBSD loader build. Replace some __FBSDID()'s by /* $FreeBSD$ */ comments. Now all USB files follow the same style. Use cases: - console in loader via USB - loading kernel via USB Discussed with: Hiroki Sato, hrs @ EuroBSDCon
-
Ian Lepore authored
their socket connection any time, and devd only notices that when it gets an error trying to write an event to the client. On a system with no device change activity, clients could connect and disappear repeatedly without devd noticing, leading to an ever-growing list of open socket descriptors in devd. Now devd uses poll(2) looking for POLLHUP on all existing clients every time a new client connection is established, and also periodically (once a minute) to proactively find zombie clients and reap the socket descriptors. It also now has a connection limit, configurable with a new -l <num> command line arg. When the maximum number of connections is reached it stops accepting new connections until some current clients drop off. Reviewed by: imp Approved by: cognet (mentor)
-
Pietro Cerutti authored
with the respective regression test. See http://pubs.opengroup.org/onlinepubs/9699919799/functions/fmemopen.html Reviewed by: cognet Approved by: cognet
-
Konstantin Belousov authored
trivial handler for SIGCHLD is installed, and SIGCHLD is blocked, to not abandon our zombies to init(8). This way, the zombies are around slightly longer, allowing to actually exercise the logic for p_pwait use by the test. MFC after: 1 week
-
Konstantin Belousov authored
in kern_wait6(), which is called by kern_wait(). Remove the redundand check, introduced in r243136, and add a comment noting this, to make the code less confusing. The blank lines are added to properly delineate the scope of the preceeding comments. Noted by: "Jukka A. Ukkonen" <jau@iki.fi> MFC after: 1 week
-
Konstantin Belousov authored
but use normal references instead of weak. This makes the statically linked binaries to use fast gettimeofday(2) by forcing the linker to resolve references and providing the neccessary functions. Reported by: bde Tested by: marius (sparc64) MFC after: 2 weeks
-
Konstantin Belousov authored
timecounter to 1, and correspondingly increase the precision of the gettimeofday(2) and related functions in the default configuration. The motivation for the TSC-low timecounter, as described in the r222866, seems to provide a workaround for the non-serializing behaviour of the RDTSC on some Intel hardware. Tests demonstrate that even with the pre-shift of 8, the cross-core non-monotonicity of the RDTSC is still observed reliably, e.g. on the Nehalems. The r238755 and r238973 implemented the proper fix for the issue. The pre-shift of 1 is applied to keep TSC not overflowing for the frequency of hardclock down to 2 sec/intr. The pre-shift is made a tunable to allow the easy debugging of the issues users could see with the shift being too low. Reviewed by: bde MFC after: 2 weeks
-
Hans Petter Selasky authored
-
Gabor Kovesdan authored
Submitted by: jkim
-
Hans Petter Selasky authored
Reported by: Lars Engels MFC after: 1 week
-
Neel Natu authored
the default. The current behavior of advertising a single MSI vector can be requested by setting the environment variable "BHYVE_USE_MSI" to "true". The use of MSI is not compliant with the virtio specification and will be eventually phased out. Submitted by: Gopakumar T Obtained from: NetApp
-
Neel Natu authored
This instruction moves a byte from a register to a memory location. Tested by: tycho nightingale at pluribusnetworks com
-
Sean Bruno authored
debug is set very high (like -d15 in my case). Obtained from: Yahoo! Inc MFC after: 2 weeks
-
- 29 Jan, 2013 15 commits
-
-
Brooks Davis authored
Make cat a bootstrap tool to facilitate this.
-
Brooks Davis authored
ITOOLS when we will be using the host copy. Fix installkernel when -DNO_ROOT is set.
-
Gleb Smirnoff authored
points to a sockaddr of AF_LINK family. Assert this instead of checking.
-
Gleb Smirnoff authored
-
Navdeep Parhar authored
txq's buf_ring. The aggregate for all the queues of a port is already provided in ifnet->if_snd.ifq_drops. MFC after: 3 days.
-
Brooks Davis authored
Reported by: lev, jmg
-
Xin LI authored
- Remove $DragonFly$ tags as they are using git nowadays and VCS tags will not help merging. - Other changes to Copyright headers to make them consistent with other source code, we intend to fork from this point. Reviewed by: pfg
-
Joel Dahl authored
-
Gleb Smirnoff authored
-
John Baldwin authored
by moving bits that are MI out into headers in compat/linux. Reviewed by: Chagin Dmitry dmitry | gmail MFC after: 2 weeks
-
Brooks Davis authored
-
Brooks Davis authored
set an exclusive advisory lock on stdout. This will be used to guarantee orderly writing to METALOG. Sponsored by: DARPA, AFRL Obtained from: NetBSD (mason)
-
Gabor Kovesdan authored
-
Gabor Kovesdan authored
DragonflyBSD and install it as bsdpatch. WITH_BSD_PATCH makes it default and installs GNU patch as gnupatch. Submitted by: pfg Obtained from: The DragonflyBSD Project
-
Ganbold Tsagaankhuu authored
Update dts and kernel config Approved by: gonzo@
-
- 28 Jan, 2013 12 commits
-
-
Jung-uk Kim authored
Noticed by: avg
-
Jung-uk Kim authored
-
Jung-uk Kim authored
Reported by: pjd
-
Jung-uk Kim authored
-
John Baldwin authored
compiler from caching their values in tight loops. Reviewed by: bde MFC after: 1 week
-
John Baldwin authored
array of loaded objects to avoid a buffer overrun. - Use reallocf() to avoid leaking memory if the realloc() fails. PR: kern/175648 Submitted by: yuri@rawbw.com (1) MFC after: 1 week
-
Andrey Zonov authored
Reviewed by: alc MFC after: 2 weeks
-
Andrey Zonov authored
Reviewed by: alc MFC after: 2 weeks
-
Andrey Zonov authored
Reviewed by: alc MFC after: 2 weeks
-
Andrey Zonov authored
MFC after: 2 weeks
-
Andrey Zonov authored
MFC after: 2 weeks
-