aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove double-calls to tc_get_timecount() to warm timecounters.Konstantin Belousov2020-06-104-6/+0
| | | | | | | | | | | | It seems that second call does not add any useful state change for all implemented timecounters. Discussed with: bde Sponsored by: The FreeBSD Foundation MFC after: 3 weeks Notes: svn path=/head/; revision=362033
* Add pthread_getname_np() and pthread_setname_np() aliases forKonstantin Belousov2020-06-107-22/+106
| | | | | | | | | | | | | | | pthread_get_name_np() and pthread_set_name_np(). This re-applies r361770 after compatibility fixes. Reviewed by: antoine, jkim, markj Tested by: antoine (exp-run) Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D25117 Notes: svn path=/head/; revision=362032
* amd64 pmap: reorder IPI send and local TLB flush in TLB invalidations.Konstantin Belousov2020-06-105-57/+127
| | | | | | | | | | | | | | | | | | | | | | | | Right now code first flushes all local TLB entries that needs to be flushed, then signals IPI to remote cores, and then waits for acknowledgements while spinning idle. In the VMWare article 'Don’t shoot down TLB shootdowns!' it was noted that the time spent spinning is lost, and can be more usefully used doing local TLB invalidation. We could use the same invalidation handler for local TLB as for remote, but typically for pmap == curpmap we can use INVLPG for locals instead of INVPCID on remotes, since we cannot control context switches on them. Due to that, keep the local code and provide the callbacks to be called from smp_targeted_tlb_shootdown() after IPIs are fired but before spin wait starts. Reviewed by: alc, cem, markj, Anton Rang <rang at acm.org> Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D25188 Notes: svn path=/head/; revision=362031
* Add mode selection to iMX6 IPU driverOleksandr Tymoshenko2020-06-104-40/+182
| | | | | | | | | | | | | | - Configure ipu1_di0 tob e sourced from the VIDEO_PLL(PLL5) and hardcode frequency to (455000000/3)Mhz. This value, further divided, can yield frequencies close enough to support 1080p, 720p, 1024x768, and 640x480 modes. This is not ideal but it's an improvement comparing to the only hardcoded 1024x768 mode. - Fix memory leaks if attach method failed - Print EDID when -v passed to the kernel Notes: svn path=/head/; revision=362030
* Fix reading EDID on TVs/monitors without E-DCC supportOleksandr Tymoshenko2020-06-101-1/+6
| | | | | | | | | | | | Writing segment id to I2C device 0x30 only required if the segment is non-zero. On the devices without E-DCC support writing to that address fails and whole transaction then fails too. To avoid this do not attempt write to the segment selection device unless required. MFC after: 2 weeks Notes: svn path=/head/; revision=362029
* Adjust crypto_apply function callbacks for OCF.John Baldwin2020-06-1022-141/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | - crypto_apply() is only used for reading a buffer to compute a digest, so change the data pointer to a const pointer. - To better match m_apply(), change the data pointer type to void * and the length from uint16_t to u_int. The length field in particular matters as none of the apply logic was splitting requests larger than UINT16_MAX. - Adjust the auth_xform Update callback to match the function prototype passed to crypto_apply() and crypto_apply_buf(). This removes the needs for casts when using the Update callback. - Change the Reinit and Setkey callbacks to also use a u_int length instead of uint16_t. - Update auth transforms for the changes. While here, use C99 initializers for auth_hash structures and avoid casts on callbacks. Reviewed by: cem Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D25171 Notes: svn path=/head/; revision=362028
* pci: loosen PCIe hot-plug requirementsChuck Tuffli2020-06-101-9/+1
| | | | | | | | | | | | | | | | | | | | | The original PCIe hot-plug code required a couple of things which cause PCI probing errors on the QEMU Q35 system and possibly physical systems (Dell R6515). Allocate the hot-plug interrupt as shared to support INTx interrupts. The hot-plug interrupt mechanism should normally be MSI as PCIe mandates MSI support, but QEMU's Q35 bridge only provides INTx interrupts. Second, the code required the Electromechanical Interlock (Slot Status EIS) to be engaged if present (Slot Capability EIP). Some platforms including QEMU Q35 set EIP but not EIS. Fix by deleting the check. Reviewed by: imp, mav, jhb MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D24877 Notes: svn path=/head/; revision=362027
* Read commands from stdin when -f - is passed to sed(1)Mateusz Piotrowski2020-06-103-6/+79
| | | | | | | | | | | | | | | | | | This patch teaches sed to interpret a "-" in a special way when given as an argument to the -f flag. This behavior is also present in GNU sed. PR: 244872 Tested by: antoine (exp-run) Reviewed by: pfg, tobik (older version) Approved by: pfg (src) Relnotes: yes MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D24079 Notes: svn path=/head/; revision=362017
* [net80211] ok ok if_xname won't ever be NULL.Adrian Chadd2020-06-101-1/+1
| | | | | | | | | Somewhere in net80211 if_xname is checked against NULL but it doesn't trigger a compiler warning, but this does. So DTRT for FreeBSD and the other if_xname derefences can be converted to this function at a later time. Notes: svn path=/head/; revision=362016
* Make linux(4) set the openfiles soft resource limit to 1024 for LinuxEdward Tomasz Napierala2020-06-104-1/+41
| | | | | | | | | | | | | applications, which often depend on this being the case. There's a new sysctl, compat.linux.default_openfiles, to control this behaviour. Reviewed by: kevans, emaste, bcr (manpages) MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25177 Notes: svn path=/head/; revision=362015
* Support SO_SNDBUFFORCE/SO_RCVBUFFORCE by aliasing them to theEdward Tomasz Napierala2020-06-102-0/+4
| | | | | | | | | | | | standard SO_SNDBUF/SO_RCVBUF. Mostly cosmetics, to get rid of the warning during 'apt upgrade'. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25173 Notes: svn path=/head/; revision=362014
* Fix arm64 kernel build with DEBUG onEd Maste2020-06-101-2/+2
| | | | | | | | Submitted by: Greg V <greg@unrelenting.technology>, andrew Differential Revision: https://reviews.freebsd.org/D24986 Notes: svn path=/head/; revision=362013
* All the ARM Coresight interconnect devices set ResourceProducer on memoryRuslan Bukin2020-06-101-2/+10
| | | | | | | | | | | | resources, ignore it. The devices found in the ARM Neoverse N1 System Development Platform (N1SDP). Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=362012
* ARM Coresight Funnel device:Ruslan Bukin2020-06-105-44/+215
| | | | | | | | | | | o Split-out FDT attachment to a separate file; o Add ACPI attachment; o Add support for the Static Funnel device. Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=362011
* release: Fix arm GPT imageEmmanuel Vadot2020-06-101-1/+1
| | | | | | | | | msdosfs labels are capitalized, use EFI instead of efi. MFC after: 3 days Notes: svn path=/head/; revision=362010
* Fix the efi serial console in the Arm models.Andrew Turner2020-06-101-12/+9
| | | | | | | | | | | | | | | | | On some UEFI implementations the ConsOut EFI variable is not a device path end type so we never move to the next node. Fix this by always incrementing the device path node pointer, with a sanity check that the node length is large enough so no two nodes overlap. While here return failure on malloc failure rather than a NULL pointer dereference. Reviewed by: tsoome, imp (previous version) Sponsored by: Innovate UK Differential Revision: https://reviews.freebsd.org/D25202 Notes: svn path=/head/; revision=362008
* Switch rtsock code to using newly-create rib_action() KPI call.Alexander V. Chernikov2020-06-103-43/+62
| | | | | | | | | | | | This simplifies the code and allows to further split rtentry and nexthop, removing one of the blockers for multipath code introduction, described in D24141. Reviewed by: ae Differential Revision: https://reviews.freebsd.org/D25192 Notes: svn path=/head/; revision=362007
* Prevent TCP Cubic to abruptly increase cwnd after app-limitedRichard Scheffenegger2020-06-101-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cubic calculates the new cwnd based on absolute time elapsed since the start of an epoch. A cubic epoch is started on congestion events, or once the congestion avoidance phase is started, after slow-start has completed. When a sender is application limited for an extended amount of time and subsequently a larger volume of data becomes ready for sending, Cubic recalculates cwnd with a lingering cubic epoch. This recalculation of the cwnd can induce a massive increase in cwnd, causing a burst of data to be sent at line rate by the sender. This adds a flag to reset the cubic epoch once a session transitions from app-limited to cwnd-limited to prevent the above effect. Reviewed by: chengc_netapp.com, tuexen (mentor) Approved by: tuexen (mentor), rgrimes (mentor) MFC after: 3 weeks Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D25065 Notes: svn path=/head/; revision=362006
* Add le_read_channel_map and le_read_remote_features commandTakanori Watanabe2020-06-105-2/+188
| | | | | | | | PR: 247051 Submitted by: Marc Veldman marc at bumblingdork.com Notes: svn path=/head/; revision=362005
* Add LE events:Takanori Watanabe2020-06-101-3/+57
| | | | | | | | | | | | | | | | READ_REMOTE_FEATURES_COMPL LONG_TERM_KEY_REQUEST REMOTE_CONN_PARAM_REQUEST DATA_LENGTH_CHANGE READ_LOCAL_P256_PK_COMPL GEN_DHKEY_COMPL ENH_CONN_COMPL PR: 247050 Submitted by: Marc Veldman marc at bumblingdork.com Notes: svn path=/head/; revision=362004
* powerpc/powernv: Don't use the vmem quantum cache for OPAL PCI MSI allocationsJustin Hibbits2020-06-101-1/+1
| | | | | | | | | | | vmem quantum cache is only needed when doing a lot of concurrent allocations, which doesn't happen when allocating MSIs. This wastes memory for the cache zones. Avoid this waste and don't use the quantum cache. Reported by: markj Notes: svn path=/head/; revision=362003
* powerpc/mpc85xx: Don't use the quantum cache in vmem for MPIC MSIsJustin Hibbits2020-06-101-1/+1
| | | | | | | | | | The qcache is unnecessary for this purpose, it's only needed when there are lots of concurrent allocations. Reported by: markj Notes: svn path=/head/; revision=362002
* Fixup r361997 by balancing parens. Duh.Doug Moore2020-06-101-1/+1
| | | | Notes: svn path=/head/; revision=362000
* Add missing shell script from r361995Kyle Evans2020-06-101-0/+4
| | | | | | | | | Pointy hat: kevans Reported by: rpokala X-MFC-With: r361995 Notes: svn path=/head/; revision=361999
* Add two functions that create M_EXTPG mbufs with anonymous pages.Rick Macklem2020-06-102-0/+105
| | | | | | | | | | | | | | | | These two functions are needed by nfs-over-tls, but could also be useful for other purposes. mb_alloc_ext_plus_pages() - Allocates a M_EXTPG mbuf and enough anonymous pages to store "len" data bytes. mb_mapped_to_unmapped() - Copies the data from a list of mapped (non-M_EXTPG) mbufs into a list of M_EXTPG mbufs allocated with anonymous pages. This is roughly the inverse of mb_unmapped_to_ext(). Reviewed by: gallatin Differential Revision: https://reviews.freebsd.org/D25182 Notes: svn path=/head/; revision=361998
* Restore an RB_COLOR macro, for the benefit of a bit of DIAGNOSTIC codeDoug Moore2020-06-101-0/+6
| | | | | | | | | | | that depends on it. Reported by: rpokala, mjguzik Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D25204 Notes: svn path=/head/; revision=361997
* execvPe: obviate the need for potentially large stack allocationsKyle Evans2020-06-102-21/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | Some environments in which execvPe may be called have a limited amount of stack available. Currently, it avoidably allocates a segment on the stack large enough to hold PATH so that it may be mutated and use strsep() for easy parsing. This logic is now rewritten to just operate on the immutable string passed in and do the necessary math to extract individual paths, since it will be copying out those segments to another buffer anyways and piecing them together with the name for a full path. Additional size is also needed for the stack in posix_spawnp(), because it may need to push all of argv to the stack and rebuild the command with sh in front of it. We'll make sure it's properly aligned for the new thread, but future work should likely make rfork_thread a little easier to use by ensuring proper alignment. Some trivial cleanup has been done with a couple of error writes, moving strings into char arrays for use with the less fragile sizeof(). Reported by: Andrew Gierth <andrew_tao173.riddles.org.uk> Reviewed by: jilles, kib, Andrew Gierth MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D25038 Notes: svn path=/head/; revision=361996
* execvp: fix up the ENOEXEC fallbackKyle Evans2020-06-103-4/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If execve fails with ENOEXEC, execvp is expected to rebuild the command with /bin/sh instead and try again. The previous version did this, but overlooked two details: argv[0] can conceivably be NULL, in which case memp would never get terminated. We must allocate no less than three * sizeof(char *) so we can properly terminate at all times. For the non-NULL argv standard case, we count all the non-NULL elements and actually skip the first argument, so we end up capturing the NULL terminator in our bcopy(). The second detail is that the spec is actually worded such that we should have been preserving argv[0] as passed to execvp: "[...] executed command shall be as if the process invoked the sh utility using execl() as follows: execl(<shell path>, arg0, file, arg1, ..., (char *)0); where <shell path> is an unspecified pathname for the sh utility, file is the process image file, and for execvp(), where arg0, arg1, and so on correspond to the values passed to execvp() in argv[0], argv[1], and so on." So we make this change at this time as well, while we're already touching it. We decidedly can't preserve a NULL argv[0] as this would be incredibly, incredibly fragile, so we retain our legacy behavior of using "sh" for argv[] in this specific instance. Some light tests are added to try and detect some components of handling the ENOEXEC fallback; posix_spawnp_enoexec_fallback_null_argv0 is likely not 100% reliable, but it at least won't raise false-alarms and it did result in useful failures with pre-change libc on my machine. This is a secondary change in D25038. Reported by: Andrew Gierth <andrew_tao173.riddles.org.uk> Reviewed by: jilles, kib, Andrew Gierth MFC after: 1 week Notes: svn path=/head/; revision=361995
* Add some default cases for unreachable code to silence compiler warnings.John Baldwin2020-06-102-0/+4
| | | | | | | | | | | This was caused by r361481 when the buffer type was changed from an int to an enum. Reported by: mjg, rpokala Sponsored by: Chelsio Communications Notes: svn path=/head/; revision=361994
* cred: distribute reference count per threadMateusz Guzik2020-06-096-50/+206
| | | | | | | | | | | This avoids dirtying creds in the common case, see the comment in kern_prot.c for details. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D24007 Notes: svn path=/head/; revision=361993
* ixl(4): Add FW recovery mode support and other thingsEric Joyner2020-06-0924-2193/+3134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the iflib version of ixl driver based on the OOT version ixl-1.11.29. Major changes: - Extract iflib specific functions from ixl_pf_main.c to ixl_pf_iflib.c to simplify code sharing between legacy and iflib version of driver - Add support for most recent FW API version (1.10), which extends FW LLDP Agent control by user to X722 devices - Improve handling of device global reset - Add support for the FW recovery mode - Use virtchnl function to validate virtual channel messages instead of using separate checks - Fix MAC/VLAN filters accounting Submitted by: Krzysztof Galazka <krzysztof.galazka@intel.com> Reviewed by: erj@ Tested by: Jeffrey Pieper <jeffrey.e.pieper@intel.com> MFC after: 1 week Relnotes: yes Sponsored by: Intel Corporation Differential Revision: https://reviews.freebsd.org/D24564 Notes: svn path=/head/; revision=361992
* Add a crypto capability flag for accelerated software drivers.John Baldwin2020-06-099-16/+30
| | | | | | | | | | | | | | | | | | Use this in GELI to print out a different message when accelerated software such as AESNI is used vs plain software crypto. While here, simplify the logic in GELI a bit for determing which type of crypto driver was chosen the first time by examining the capabilities of the matched driver after a single call to crypto_newsession rather than making separate calls with different flags. Reviewed by: delphij Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D25126 Notes: svn path=/head/; revision=361991
* Mark padlock(4) and cryptocteon(4) as software drivers.John Baldwin2020-06-092-2/+2
| | | | | | | | | | | Both already return the accelerated software priority from cryptodev_probesession. Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D25125 Notes: svn path=/head/; revision=361990
* powerpc/pmap: Fix wired memory leak in booke64 page directoriesJustin Hibbits2020-06-091-18/+24
| | | | | | | | | | | | Properly handle reference counts in the 64-bit pmap page directories. Otherwise all page table pages would leak due to over-referencing. This would cause a quick enter to swap on a desktop system (AmigaOne X5000) when quitting and rerunning applications, or just building world. Add an INVARIANTS check to validate no leakage at pmap release time. Notes: svn path=/head/; revision=361988
* Prevent TCP Cubic to abruptly increase cwnd after slow-startRichard Scheffenegger2020-06-091-9/+19
| | | | | | | | | | | | | | | | | | Introducing flags to track the initial Wmax dragging and exit from slow-start in TCP Cubic. This prevents sudden jumps in the caluclated cwnd by cubic, especially when the flow is application limited during slow start (cwnd can not grow as fast as expected). The downside is that cubic may remain slightly longer in the concave region before starting the convex region beyond Wmax again. Reviewed by: chengc_netapp.com, tuexen (mentor) Approved by: tuexen (mentor), rgrimes (mentor, blanket) MFC after: 3 weeks Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D23655 Notes: svn path=/head/; revision=361987
* Merge bmake-20200606Simon J. Gerraty2020-06-0919-117/+394
|\ | | | | | | | | | | | | | | | | | | Relevant items from ChangeLog: o dir.c: cached_stats - don't confuse stat and lstat results. o var.c: add :Or for reverse sort. Notes: svn path=/head/; revision=361986
| * Import bmake-20200606vendor/NetBSD/bmake/20200606Simon J. Gerraty2020-06-0916-112/+389
| | | | | | | | | | | | | | | | | | | | | | Relevant items from ChangeLog: o dir.c: cached_stats - don't confuse stat and lstat results. o var.c: add :Or for reverse sort. Notes: svn path=/vendor/NetBSD/bmake/dist/; revision=361954 svn path=/vendor/NetBSD/bmake/20200606/; revision=361955; tag=vendor/NetBSD/bmake/20200606
* | Fix boot of wandquad after DTS updateAndreas Tobler2020-06-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | In the recent dts sync the name of the aips-bus@ changed to bus@. Reflect this change and add an additional OF_finddevice in fix_fdt_interrupt_data() and in fix_fdt_iomuxc_data() with bus@ only. Iow, keep the old naming for compatibility. Discussed with: ian@ Notes: svn path=/head/; revision=361985
* | To reduce the size of an rb_node, drop the color field. Set the leastDoug Moore2020-06-092-143/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | significant bit in the pointer to the node from its parent to indicate that the node is red. Have the tree rotation macros leave the old-parent/new-child node red and the new-parent/old-child node black. This change makes RB_LEFT and RB_RIGHT no longer assignable, and RB_COLOR no longer defined. Any code that modifies the tree or examines a node color would have to be modified after this change. Reviewed by: markj Tested by: pho Differential Revision: https://reviews.freebsd.org/D25105 Notes: svn path=/head/; revision=361984
* | iflib: netmap: honor netmap_irx_irq return valuesVincenzo Maffione2020-06-091-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the receive interrupt routine, always call netmap_rx_irq(). The latter function will return != NM_IRQ_PASS if netmap is not active on that specific receive queue, so that the driver can go on with iflib_rxeof(). Note that netmap supports partial opening, where only a subset of the RX or TX rings can be open in netmap mode. Checking the IFCAP_NETMAP flag is not enough to make sure that the queue is indeed in netmap mode. Moreover, in case netmap_rx_irq() returns NM_IRQ_RESCHED, it means that netmap expects the driver to call netmap_rx_irq() again as soon as possible. Currently, this may happen when the device is attached to a VALE switch. Reviewed by: gallatin MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D25167 Notes: svn path=/head/; revision=361982
* | release: amd64 efi boot name is bootx64Emmanuel Vadot2020-06-091-1/+1
| | | | | | | | | | | | | | | | | | | | efi_boot_name is just used for arm image so no harm done. Reported by: gonzo MFC after: 3 days Notes: svn path=/head/; revision=361980
* | libusb: improve compatibilityKyle Evans2020-06-094-1/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifically, add LIBUSB_CLASS_PHYSICAL and the libusb_has_capability API. Descriptions and functionality for these derived from the documentation at [0]. The current set of capabilities are all supported by libusb. These were detected as missing after updating net/freerdp to 2.1.1, which attempted to use both. [0] http://libusb.sourceforge.net/api-1.0/group__libusb__misc.html Reviewed by: hselasky MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D25194 Notes: svn path=/head/; revision=361977
* | Similar to UART on ThunderX2, the ARM Coresight (ETM component)Ruslan Bukin2020-06-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | set ResourceProducer on memory resources: ignore it. Tested on ARM N1SDP board. Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=361976
* | Refactor ptrace() ABI compatibility.John Baldwin2020-06-098-231/+252
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a freebsd32_ptrace() and move as many freebsd32 shims as possible to freebsd32_ptrace(). Aside from register sets, freebsd32 passes pointers to native structures to kern_ptrace() and converts to/from native/32-bit structure formats in freebsd32_ptrace() outside of kern_ptrace(). Reviewed by: kib Obtained from: CheriBSD Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D25195 Notes: svn path=/head/; revision=361975
* | ARM Embedded Trace Macrocell v4.x driver:Ruslan Bukin2020-06-095-38/+171
| | | | | | | | | | | | | | | | | | | | o Split-out FDT attachment to a separate file; o Add ACPI attachment. Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=361974
* | Fix style: wrap long lines.Ruslan Bukin2020-06-091-8/+11
| | | | | | | | | | | | | | Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=361969
* | Rename coresight drivers: use underscores in filenames.Ruslan Bukin2020-06-0910-9/+9
| | | | | | | | | | | | | | Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=361968
* | Assert on pg_jobc state.Mateusz Guzik2020-06-091-2/+4
| | | | | | | | | | | | | | Stolen from NetBSD. Notes: svn path=/head/; revision=361967
* | vm: rework swap_pager_status to execute in constant timeMateusz Guzik2020-06-091-9/+3
| | | | | | | | | | | | | | | | | | | | The lock-protected iteration is trivially avoidable. This removes a serialisation point from Linux binaries (which end up calling here from the sysinfo syscall). Notes: svn path=/head/; revision=361965
* | coufreq_dt: Rename DEBUG to DPRINTFEmmanuel Vadot2020-06-091-22/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | DEBUG is a kernel configuration flag and if used cpufreq_dt.c will fail the build of kernel. PR: 246867 Submitted by: Oskar Holmund (oskar.holmlund@ohdata.se) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D25080 Notes: svn path=/head/; revision=361964