- 19 Dec, 2015 6 commits
-
-
Alan Cox authored
address and use this mechanism when: 1. kmem_alloc_{attr,contig}() can't find suitable free pages in the physical memory allocator's free page lists. This replaces the long-standing approach of scanning the inactive and inactive queues, converting clean pages into PG_CACHED pages and laundering dirty pages. In contrast, the new mechanism does not use PG_CACHED pages nor does it trigger a large number of I/O operations. 2. on 32-bit MIPS processors, uma_small_alloc() and the pmap can't find free pages in the physical memory allocator's free page lists that are covered by the direct map. Tested by: adrian 3. ttm_bo_global_init() and ttm_vm_page_alloc_dma32() can't find suitable free pages in the physical memory allocator's free page lists. In the coming months, I expect that this new mechanism will be applied in other places. For example, balloon drivers should use relocation to minimize fragmentation of the guest physical address space. Make vm_phys_alloc_contig() a little smarter (and more efficient in some cases). Specifically, use vm_phys_segs[] earlier to avoid scanning free page lists that can't possibly contain suitable pages. Reviewed by: kib, markj Glanced at: jhb Discussed with: jeff Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D4444
-
Baptiste Daroussin authored
-
Baptiste Daroussin authored
-
Baptiste Daroussin authored
-
Hajimu UMEMOTO authored
-
Nathan Whitehorn authored
reported link state is fictional (always up) since the hypervisor does not provide this information. MFC after: 1 week
-
- 18 Dec, 2015 24 commits
-
-
Pedro F. Giffuni authored
Use strlcpy instead of strncpy to guarantee NULL termination. Pointed out by: imp CID: 1007252 X-MFC with: r292454
-
Pedro F. Giffuni authored
CID: 1007252 MFC after: 2 weeks
-
Baptiste Daroussin authored
-
Hajimu UMEMOTO authored
We need to change netdb.h to make it actually enabled. PR: 198092 MFC after: 1 week
-
Hajimu UMEMOTO authored
Suggested by: hrs MFC after: 1 week
-
Hajimu UMEMOTO authored
PR: 198092 MFC after: 1 week
-
John Baldwin authored
Submitted by: luke <luke.tw@gmail.com> Pointy hat to: jhb
-
Ed Maste authored
EFI return values set the high bit to indicate an error. The log messages changed here are printed only in the case of an error, so including the error bit is redundant. Also switch to decimal to match the error definitions (in sys/boot/efi/include/efierr.h). MFC after: 1 week Sponsored by: The FreeBSD Foundation
-
Hajimu UMEMOTO authored
FreeBSD local name resolution. If /var/yp/ipnodes exists, we generate them from it for backward compatibility. Inspired by: NetBSD MFC after: 1 week
-
Mateusz Guzik authored
During fork p_starcopy - p_endcopy area of a process is populated with bcopy with only proc lock held. Another forking thread can find such a process and proceed to access p_pgrp included in said area. Fix the problem by moving the field outside. It is being properly assigned later. Reviewed by: kib Diagnosed by: kib Tested by: Fabian Keil <freebsd-listen fabiankeil.de> MFC after: 10 days
-
Nathan Whitehorn authored
message garbling was becoming very noticeable on the 64-CPU systems we now support and run on.
-
Warner Losh authored
for the softc for the delay module. Noticed by: rpokala@
-
Hajimu UMEMOTO authored
- Add comment how we handle hosts and ipnodes. (from NetBSD) MFC after: 1 week.
-
Christian Brueffer authored
MFC after: 2 weeks
-
Christian Brueffer authored
MFC after: 2 weeks
-
Christian Brueffer authored
MFC after: 2 weeks Relnotes: yes
-
Warner Losh authored
kernel. This will be used for passing in things like the system table from EFI or other similar metadata that can be used by the kernel to communicate with the firmware.
-
Warner Losh authored
though the encoding is bit-wise today...
-
Warner Losh authored
Suggested by: jmallet@
-
Adrian Chadd authored
The ci20 port (by kan@) is going to reuse almost all of the intrng code since the SoC in question looks suspiciously like someone took an ARM SoC design and replaced the ARM core with a MIPS core. * migrate out the code; * rename ARM_ -> INTR_; * rename arm_ -> intr_; * move the interrupt flush routine from intr.c / intrng.c into arm/machdep_intr.c - removing the code duplication and removing the ARM specific bits from here. Thanks to the Star Wars: The Force Awakens premiere line for allowing me a couple hours of quiet time to finish the universe builds. Tested: * make universe TODO: * The structure definitions in subr_intr.c still includes machine/intr.h which requires one duplicates all of the intrng definitions in the platform code (which kan has done, and I think we don't have to.) Instead I should break out the generic things (function declarations, common intr structures, etc) into a separate header. * Kan has requested I make the PIC based IPI stuff optional.
-
Warner Losh authored
-
Warner Losh authored
Differential Review: https://reviews.freebsd.org/D4517
-
Ian Lepore authored
bus probing during system startup.
-
Ian Lepore authored
I don't know what alternate universe I was inhabiting when I wrote it originally, but apparently the basic workings of mathematics were different than in this universe. I also can't explain how it ever worked, except "by accident", because completely bogus values were being written into the divisor register.
-
- 17 Dec, 2015 10 commits
-
-
Conrad Meyer authored
Different revisions support different operations. Refer to Intel External Design Specifications to figure out what your hardware supports. Sponsored by: EMC / Isilon Storage Division
-
Gleb Smirnoff authored
Submitted by: avos Reported by: Ev Bogdanov <evbogdanov yahoo.com> Tested by: Ivan Kormachev <ikormachev depit.ru> MFC after: 3 days
-
John Baldwin authored
current MBR. PR: 205322 Submitted by: Alexander Kuleshov <kuleshovmail@gmail.com> MFC after: 1 week
-
John Baldwin authored
instead of GMBUS access for I2C transfers. The GMBUS driver falls back to this mode when a transfer times out. However, the first transfer to timeout was sending the request back to itself resulting in an panic due to recursing on a lock. Fix it to forward the request on to the proper device. This appears to have been accidentally changed in r277487. Reported by: Joe Maloney <jmaloney@pcbsd.org> Reviewed by: adrian, dumbbell, imp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D4599
-
Dag-Erling Smørgrav authored
PR: 204769 Submitted by: David Binderman <dcb314@hotmail.com> MFC after: 1 week
-
Ruslan Bukin authored
kernel and userland. Reviewed by: andrew, imp, kib Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision: https://reviews.freebsd.org/D4554
-
Conrad Meyer authored
It turns out the callers of vm_page_replace know exactly which page they are replacing and would like to assert about it. Change those from hard panics to KASSERTs, and provide them with a wrapper so they don't have to deal with warnings from an INVARIANTS-dependent dead store of the return value of vm_page_replace. Submitted by: Ryan Libby <rlibby@gmail.com> Reviewed by: alc, kib (earlier version) Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D4497
-
Andrew Turner authored
the #address-cells property set. For this we need to read more data before the parent interrupt description. this is only enabled on arm64 for now as it's not quite compliant with the ePAPR spec. We should use a default of 2 where the #address-cells property is missing, however this will need further testing across architectures. Obtained from: ABT Systems Ltd Sponsored by: SoftIron Inc Differential Revision: https://reviews.freebsd.org/D4518
-
Steven Hartland authored
glebius has concerns about these changes so reverting those can be discussed and addressed. Sponsored by: Multiplay
-
Christian Brueffer authored
-