On 2020-07-01 12:30, Konstantin Belousov wrote:
I see no point in repeating the same pfind/tdfind calls, better to convert
them to pget(), and have this code in one intended place.
I wonder if we can convert all cases in linux_current.c to use pget().
Could you have a look too?
--HPS
Author: andrew
Date: Wed Jul 1 12:07:28 2020
New Revision: 362834
URL: https://svnweb.freebsd.org/changeset/base/362834
Log:
Simplify the flow when getting/setting an isrc
Rather than unlocking and returning we can just perform the needed action
only when the interrupt source is valid
On Wed, Jul 01, 2020 at 12:56:12PM +0200, Hans Petter Selasky wrote:
> On 2020-07-01 12:30, Konstantin Belousov wrote:
> > I see no point in repeating the same pfind/tdfind calls, better to convert
> > them to pget(), and have this code in one intended place.
>
> I wonder if we can convert all
On Wed, Jul 01, 2020 at 11:35:21AM +0200, Hans Petter Selasky wrote:
> On 2020-07-01 11:21, Konstantin Belousov wrote:
> > It should be expressed as pget(pid, 0); instead of duplicating.
>
> Hi,
>
> Currently the LinuxKPI style is to use tdfind() and pfind(). If you look at
> linux_current.c you
Author: trasz
Date: Wed Jul 1 10:37:08 2020
New Revision: 362833
URL: https://svnweb.freebsd.org/changeset/base/362833
Log:
Rework linux accept(2). This makes the code flow easier to follow,
and fixes a bug where calling accept(2) could result in closing fd 0.
Note that the code still
On 2020-Jul-01 18:57:47 +1000, Peter Jeremy wrote:
>On 2020-Jun-28 21:11:10 +, Oleksandr Tymoshenko wrote:
>>Log:
>> Configure rx_delay/tx_delay values for RK3399/RK3328 GMAC
>>
>> For 1000Mb mode to work reliably TX/RX delays need to be configured
>> between the TX/RX clock and the
Author: andrew
Date: Wed Jul 1 15:17:45 2020
New Revision: 362837
URL: https://svnweb.freebsd.org/changeset/base/362837
Log:
Read the arm64 ID registers earlier in the boot process.
Also move parsing the registers to just after the secondary CPUs have
started. This means the kernel
Author: markj
Date: Wed Jul 1 15:00:03 2020
New Revision: 362835
URL: https://svnweb.freebsd.org/changeset/base/362835
Log:
MFC r362582:
ipfw(8): In fill_ip6(), use a single statement for both "me" and "me6".
Modified:
stable/12/sbin/ipfw/ipv6.c
Directory Properties:
stable/12/ (props
Author: markj
Date: Wed Jul 1 15:02:56 2020
New Revision: 362836
URL: https://svnweb.freebsd.org/changeset/base/362836
Log:
MFC r362585:
ipfw(4): make O_IPVER/ipversion match IPv4 or 6, not just IPv4.
Modified:
stable/12/sys/netpfil/ipfw/ip_fw2.c
Directory Properties:
stable/12/
Author: fernape (ports committer)
Date: Wed Jul 1 16:33:32 2020
New Revision: 362843
URL: https://svnweb.freebsd.org/changeset/base/362843
Log:
printf(1): Add EXAMPLES section
* Small addition with four simple examples
* While here, remove three obsolete .Tn macros
Approved by:
> On Tue, Jun 30, 2020 at 03:56:17PM -0700, Rodney W. Grimes wrote:
> > [ Charset UTF-8 unsupported, converting... ]
> > > Author: gbe (doc committer)
> > > Date: Tue Jun 30 18:08:59 2020
> > > New Revision: 362809
> > > URL: https://svnweb.freebsd.org/changeset/base/362809
> > >
> > > Log:
> > >
Author: bofh (ports committer)
Date: Wed Jul 1 15:30:27 2020
New Revision: 362839
URL: https://svnweb.freebsd.org/changeset/base/362839
Log:
Update with the members of the 11th core team, core.xi
- Update the core-secretary role.
- Update the comment to mention that the sorting is done
Author: delphij
Date: Wed Jul 1 16:18:35 2020
New Revision: 362842
URL: https://svnweb.freebsd.org/changeset/base/362842
Log:
MFC r362258, r362279: file 5.39
Relnotes: yes
Added:
stable/12/contrib/file/libmagic.pc.in
- copied unchanged from r362258,
Author: andrew
Date: Wed Jul 1 16:17:51 2020
New Revision: 362841
URL: https://svnweb.freebsd.org/changeset/base/362841
Log:
Move ID reading signatures to a better header
The functions to read the common user and kernel ID registers should be
in cpu.h rather than undefined.h as they are
Author: markj
Date: Wed Jul 1 15:27:34 2020
New Revision: 362838
URL: https://svnweb.freebsd.org/changeset/base/362838
Log:
MFC r362789 (by gallatin):
Fix a panic when unloading firmware
Modified:
stable/12/sys/kern/subr_firmware.c
Directory Properties:
stable/12/ (props changed)
Author: markj
Date: Wed Jul 1 15:42:48 2020
New Revision: 362840
URL: https://svnweb.freebsd.org/changeset/base/362840
Log:
Fix a possible next-hop refcount leak when handling IPSec traffic.
It may be possible to fix this by deferring the lookup, but let's
keep the initial change simple
Author: delphij
Date: Wed Jul 1 16:37:08 2020
New Revision: 362844
URL: https://svnweb.freebsd.org/changeset/base/362844
Log:
MFC r362258, r362279: file 5.39
Relnotes: yes
Added:
stable/11/contrib/file/libmagic.pc.in
- copied unchanged from r362258,
Author: andrew
Date: Wed Jul 1 16:57:57 2020
New Revision: 362845
URL: https://svnweb.freebsd.org/changeset/base/362845
Log:
Read the CPU 0 arm64 ID registers early in initarm
We also update the kernel view early in the boot. This will allow the
use of the common kernel view in ifunc
Author: tuexen
Date: Wed Jul 1 19:50:03 2020
New Revision: 362857
URL: https://svnweb.freebsd.org/changeset/base/362857
Log:
MFC r354773: Improve TCP CUBIC specific after idle reaction.
The adjustments are inspired by the Linux stack, which has had a
functionally equivalent implementation
Author: tuexen
Date: Wed Jul 1 17:17:06 2020
New Revision: 362846
URL: https://svnweb.freebsd.org/changeset/base/362846
Log:
Fix the cleanup handling in a error path for TCP BBR.
Reported by: syzbot+df7899c55c4cc52f5...@syzkaller.appspotmail.com
Reviewed by: rscheff
Author: tuexen
Date: Wed Jul 1 18:08:59 2020
New Revision: 362849
URL: https://svnweb.freebsd.org/changeset/base/362849
Log:
MFC r353488: Rename sctp_dtrace_declare.h to sctp_kdtrace.h
Added:
stable/12/sys/netinet/sctp_kdtrace.h
- copied unchanged from r353488,
Author: kp
Date: Wed Jul 1 19:11:02 2020
New Revision: 362851
URL: https://svnweb.freebsd.org/changeset/base/362851
Log:
riscv: Log missing registers in dump_regs()
If we panic we dump the registers for debugging. This is very useful, but it
missed several registers (ra, sp, gp and tp).
Author: tuexen
Date: Wed Jul 1 19:23:15 2020
New Revision: 362854
URL: https://svnweb.freebsd.org/changeset/base/362854
Log:
MFC r354772: Implement a TCP CUBIC-specific after idle reaction.
This patch addresses a very common case of frequent application stalls,
where TCP runs idle and
Author: tuexen
Date: Wed Jul 1 20:41:23 2020
New Revision: 362863
URL: https://svnweb.freebsd.org/changeset/base/362863
Log:
MFC r355266:
In order for the TCP Handshake to support ECN++, and further ECN-related
improvements, the ECN bits need to be exposed to the TCP SYNcache.
This
Author: tuexen
Date: Wed Jul 1 21:37:32 2020
New Revision: 362868
URL: https://svnweb.freebsd.org/changeset/base/362868
Log:
MFC r355931:
Improve input validation for some parameters having a too small
reported length.
Thanks to Natalie Silvanovich from Google for finding one of these
Author: kp
Date: Wed Jul 1 19:15:43 2020
New Revision: 362853
URL: https://svnweb.freebsd.org/changeset/base/362853
Log:
riscv pmap: zero reserved pte bits in ppn
The top 10 bits of a pte are reserved by specification[1] and are not part of
the PPN.
[1] 'Volume II: RISC-V
Author: tuexen
Date: Wed Jul 1 19:41:10 2020
New Revision: 362855
URL: https://svnweb.freebsd.org/changeset/base/362855
Log:
MFC r353482: Add missing include which breaks builds without VIMAGE.
Modified:
stable/12/sys/net/route.c
Directory Properties:
stable/12/ (props changed)
Author: tuexen
Date: Wed Jul 1 20:09:34 2020
New Revision: 362858
URL: https://svnweb.freebsd.org/changeset/base/362858
Log:
MFC r354774:
Add boundary and overflow checks to the formulas used in the TCP CUBIC
congestion control module.
Submitted by: rscheff
Reviewed by:
Author: tuexen
Date: Wed Jul 1 21:40:27 2020
New Revision: 362869
URL: https://svnweb.freebsd.org/changeset/base/362869
Log:
MFC r356226:
Clear the flag indicating that the last received packet was marked CE also
in the case where a packet not marked was received.
Submitted by:
Author: tuexen
Date: Wed Jul 1 18:03:38 2020
New Revision: 362848
URL: https://svnweb.freebsd.org/changeset/base/362848
Log:
MFC r353480: Use event handler in SCTP
Use an event handler to notify the SCTP about IP address changes
instead of calling an SCTP specific function from the IP
Author: tuexen
Date: Wed Jul 1 20:26:35 2020
New Revision: 362859
URL: https://svnweb.freebsd.org/changeset/base/362859
Log:
MFC r355135: Plug two mbuf leaks during INIT-ACK handling.
One leak happens when there is not enough memory to allocate the
the resources for streams. The other leak
Author: tuexen
Date: Wed Jul 1 20:38:56 2020
New Revision: 362862
URL: https://svnweb.freebsd.org/changeset/base/362862
Log:
MFC r355265:
When changing the MTU of an SCTP path, not only cancel all ongoing
RTT measurements, but also scheldule new ones for the future.
Submitted by:
Author: tuexen
Date: Wed Jul 1 20:32:51 2020
New Revision: 362860
URL: https://svnweb.freebsd.org/changeset/base/362860
Log:
MFC r355172:
Really ignore the SCTP association identifier on 1-to-1 style sockets
as requiresd by the socket API specification.
Thanks to Inaki Baz Castillo, who
Author: tuexen
Date: Wed Jul 1 20:45:26 2020
New Revision: 362864
URL: https://svnweb.freebsd.org/changeset/base/362864
Log:
MFC r355268:
Add a description for the TCP sysctl variable rfc6675_pipe.
It was introduced by r290122, but no documentation was provided.
This is taken from
On Wed, Jul 01, 2020 at 11:58:05AM -0600, Warner Losh wrote:
> On Wed, Jul 1, 2020 at 8:51 AM Rodney W. Grimes
> wrote:
>
> > > On Tue, Jun 30, 2020 at 03:56:17PM -0700, Rodney W. Grimes wrote:
> > > > [ Charset UTF-8 unsupported, converting... ]
> > > > > Author: gbe (doc committer)
> > > > >
Author: tuexen
Date: Wed Jul 1 21:42:52 2020
New Revision: 362870
URL: https://svnweb.freebsd.org/changeset/base/362870
Log:
MFC r356227:
Add flags for upcoming patches related to improved ECN handling.
No functional change.
Submitted by: rscheff
Reviewed by:
Author: tuexen
Date: Wed Jul 1 17:40:11 2020
New Revision: 362847
URL: https://svnweb.freebsd.org/changeset/base/362847
Log:
MFC r350588: SCTP related cleanup
Improve consistency. No functional change.
Modified:
stable/12/sys/netinet/sctp_asconf.c
stable/12/sys/netinet/sctp_os_bsd.h
On Wed, Jul 1, 2020 at 8:51 AM Rodney W. Grimes
wrote:
> > On Tue, Jun 30, 2020 at 03:56:17PM -0700, Rodney W. Grimes wrote:
> > > [ Charset UTF-8 unsupported, converting... ]
> > > > Author: gbe (doc committer)
> > > > Date: Tue Jun 30 18:08:59 2020
> > > > New Revision: 362809
> > > > URL:
Author: tuexen
Date: Wed Jul 1 18:10:37 2020
New Revision: 362850
URL: https://svnweb.freebsd.org/changeset/base/362850
Log:
MFC r353518: Separate out SCTP related dtrace code.
This is based on work done by markj.
Modified:
stable/12/sys/netinet/in_kdtrace.c
Author: tuexen
Date: Wed Jul 1 21:57:40 2020
New Revision: 362875
URL: https://svnweb.freebsd.org/changeset/base/362875
Log:
MFC r356377:
Return -1 consistently if an error occurs.
Modified:
stable/12/sys/netinet/sctp_pcb.c
Directory Properties:
stable/12/ (props changed)
Modified:
Author: tuexen
Date: Wed Jul 1 21:59:18 2020
New Revision: 362876
URL: https://svnweb.freebsd.org/changeset/base/362876
Log:
MFC r356378:
Don't mark the sendall iterator as being up if it could not be started.
Modified:
stable/12/sys/netinet/sctp_output.c
Directory Properties:
Author: tuexen
Date: Wed Jul 1 22:00:35 2020
New Revision: 362877
URL: https://svnweb.freebsd.org/changeset/base/362877
Log:
MFC r356660:
Fix division by zero issue.
Thanks to Stas Denisov for reporting the issue for the userland stack
and providing a fix.
Modified:
> On Wed, Jul 01, 2020 at 11:58:05AM -0600, Warner Losh wrote:
> > On Wed, Jul 1, 2020 at 8:51 AM Rodney W. Grimes
> > wrote:
> >
> > > > On Tue, Jun 30, 2020 at 03:56:17PM -0700, Rodney W. Grimes wrote:
> > > > > [ Charset UTF-8 unsupported, converting... ]
> > > > > > Author: gbe (doc
On Wed, Jul 01, 2020 at 11:28:47PM +0200, Gordon Bergling wrote:
> On Wed, Jul 01, 2020 at 11:58:05AM -0600, Warner Losh wrote:
> > On Wed, Jul 1, 2020 at 8:51 AM Rodney W. Grimes wrote:
> > > ...
> > > We often have "An ls command appeared in Version 1 AT UNIX." Our source
> > > code and man
Author: tuexen
Date: Wed Jul 1 21:52:14 2020
New Revision: 362872
URL: https://svnweb.freebsd.org/changeset/base/362872
Log:
MFC r356270:
Improve input validation of the spp_pathmtu field in the
SCTP_PEER_ADDR_PARAMS socket option. The code in the stack assumes
sane values for the MTU.
Author: tuexen
Date: Wed Jul 1 21:54:39 2020
New Revision: 362873
URL: https://svnweb.freebsd.org/changeset/base/362873
Log:
MFC r356357:
Make the message size limit used for SCTP_SENDALL configurable via
a sysctl variable instead of a compiled in constant.
This is based on a patch
Author: tuexen
Date: Wed Jul 1 22:31:37 2020
New Revision: 362879
URL: https://svnweb.freebsd.org/changeset/base/362879
Log:
MFC r356796:
Remove debug code not needed anymore.
Submitted by: rscheff
Reviewed by: tuexen
Differential Revision:
> On Wed, Jul 01, 2020 at 11:28:47PM +0200, Gordon Bergling wrote:
> > On Wed, Jul 01, 2020 at 11:58:05AM -0600, Warner Losh wrote:
> > > On Wed, Jul 1, 2020 at 8:51 AM Rodney W. Grimes wrote:
> > > > ...
> > > > We often have "An ls command appeared in Version 1 AT UNIX." Our
> > > > source
> >
Author: tuexen
Date: Wed Jul 1 21:48:17 2020
New Revision: 362871
URL: https://svnweb.freebsd.org/changeset/base/362871
Log:
MFC r355272:
Make the TF_* flags easier readable by humans by adding leading zeroes
to make them aligned.
Submitted by: rscheff
Reviewed by:
Author: tuexen
Date: Wed Jul 1 22:22:26 2020
New Revision: 362878
URL: https://svnweb.freebsd.org/changeset/base/362878
Log:
MFC r356663:
Fix race when accepting TCP connections.
When expanding a SYN-cache entry to a socket/inp a two step approach was
taken:
1) The local address
On Wed, Jul 01, 2020 at 05:01:00PM -0700, Rodney W. Grimes wrote:
> Thats good, but realize the page already contains history that
> reads like:
>
> HISTORY
> Part of the functionality of whatis was already provided by the former
> manwhere utility in 1BSD. The apropos and whatis
Author: mjg
Date: Wed Jul 1 05:59:08 2020
New Revision: 362828
URL: https://svnweb.freebsd.org/changeset/base/362828
Log:
cache: lockless forward lookup with smr
This eliminates the need to take bucket locks in the common case.
Concurrent lookup utilizng the same vnodes is still
On 1 Jul 2020, at 00:03, Stefan Eßer wrote:
>
> Am 30.06.20 um 23:29 schrieb Dimitry Andric:
...
>> This is because you are supposed to commit stuff to ^/base/vendor/xxx
>> first, then svn cp it to ^/head/contrib/xxx, at least from Subversion
>> 1.8 onwards. The 'cp' action establishes the
Author: tuexen
Date: Wed Jul 1 21:56:20 2020
New Revision: 362874
URL: https://svnweb.freebsd.org/changeset/base/362874
Log:
MFC r356376:
Ensure that we don't miss a trigger for kicking off the SCTP iterator.
Reported by: nwhitehorn
Modified:
stable/12/sys/netinet/sctputil.c
Author: tuexen
Date: Wed Jul 1 23:47:51 2020
New Revision: 362880
URL: https://svnweb.freebsd.org/changeset/base/362880
Log:
MFC r349893:
This commit updates rack to what is basically being used at NF as
well as sets in some of the groundwork for committing BBR. The
hpts system is
Author: mav
Date: Thu Jul 2 01:02:40 2020
New Revision: 362881
URL: https://svnweb.freebsd.org/changeset/base/362881
Log:
MFC r362630: Fix few panics on NVMe's timing out initialization requests.
Modified:
stable/12/sys/dev/nvme/nvme_ctrlr.c
Directory Properties:
stable/12/ (props
Author: mav
Date: Thu Jul 2 01:10:18 2020
New Revision: 362882
URL: https://svnweb.freebsd.org/changeset/base/362882
Log:
Release Ryan Moeller (freqlabs) from mentorship.
Approved by: mmacy (co-mentor)
Modified:
svnadmin/conf/mentors
Modified: svnadmin/conf/mentors
Author: kp
Date: Wed Jul 1 19:12:47 2020
New Revision: 362852
URL: https://svnweb.freebsd.org/changeset/base/362852
Log:
riscv locore.S: load constant prior to loop
A very minor micro-optimization; t0 is not clobbered between the loop top and
bottom and there appear to be no other
Author: vmaffione
Date: Wed Jul 1 19:42:23 2020
New Revision: 362856
URL: https://svnweb.freebsd.org/changeset/base/362856
Log:
MFC r362204
if_vtnet: let vtnet_rx_vq_intr() and vtnet_rxq_tq_intr() share code
Since the two functions are similar, introduce a common function
Author: tuexen
Date: Wed Jul 1 20:37:06 2020
New Revision: 362861
URL: https://svnweb.freebsd.org/changeset/base/362861
Log:
MFC r355264:
Update the hostcache also for PTB messages received for SCTP/IPv6.
The corresponding code for SCTP/IPv4 was introduced in
On Tue, Jun 30, 2020 at 03:56:17PM -0700, Rodney W. Grimes wrote:
> [ Charset UTF-8 unsupported, converting... ]
> > Author: gbe (doc committer)
> > Date: Tue Jun 30 18:08:59 2020
> > New Revision: 362809
> > URL: https://svnweb.freebsd.org/changeset/base/362809
> >
> > Log:
> > Mention FreeBSD
Author: hselasky
Date: Wed Jul 1 08:23:57 2020
New Revision: 362829
URL: https://svnweb.freebsd.org/changeset/base/362829
Log:
The "pid" field in the LinuxKPI task struct is typically set to the thread ID
and not the process ID. Make sure the linux_task_exiting() function uses
tdfind()
to
On 2020-Jun-28 21:11:10 +, Oleksandr Tymoshenko wrote:
>Log:
> Configure rx_delay/tx_delay values for RK3399/RK3328 GMAC
>
> For 1000Mb mode to work reliably TX/RX delays need to be configured
> between the TX/RX clock and the respective signals on the PHY
> to compensate for differing
On 1 Jul 2020, at 0:23, Adrian Chadd wrote:
Author: adrian
Date: Wed Jul 1 00:23:49 2020
New Revision: 362815
URL: https://svnweb.freebsd.org/changeset/base/362815
Log:
[net80211] Migrate HT/legacy protection mode and preamble
calculation to per-VAP flags
can you please put these changes
On Wed, Jul 01, 2020 at 08:23:57AM +, Hans Petter Selasky wrote:
> Author: hselasky
> Date: Wed Jul 1 08:23:57 2020
> New Revision: 362829
> URL: https://svnweb.freebsd.org/changeset/base/362829
>
> Log:
> The "pid" field in the LinuxKPI task struct is typically set to the thread
> ID
>
Author: rscheff
Date: Wed Jul 1 09:28:00 2020
New Revision: 362830
URL: https://svnweb.freebsd.org/changeset/base/362830
Log:
MFC r361806: Add O_DIRECT flag to DD for cache bypass
FreeBSD DD utility has not had support for the O_DIRECT flag, which
is useful to bypass local caching, e.g.
Author: rscheff
Date: Wed Jul 1 09:32:17 2020
New Revision: 362831
URL: https://svnweb.freebsd.org/changeset/base/362831
Log:
MFC r361987: Prevent TCP Cubic to abruptly increase cwnd after slow-start
Introducing flags to track the initial Wmax dragging and exit
from slow-start in TCP
Author: rscheff
Date: Wed Jul 1 09:35:33 2020
New Revision: 362832
URL: https://svnweb.freebsd.org/changeset/base/362832
Log:
MFC r362006: Prevent TCP Cubic to abruptly increase cwnd after app-limited
Cubic calculates the new cwnd based on absolute time
elapsed since the start of an
On 2020-07-01 11:21, Konstantin Belousov wrote:
It should be expressed as pget(pid, 0); instead of duplicating.
Hi,
Currently the LinuxKPI style is to use tdfind() and pfind(). If you look
at linux_current.c you see multiple uses of the exact same syntax.
Quickly looking at the pget()
69 matches
Mail list logo