#
331722 |
|
29-Mar-2018 |
eadler |
Revert r330897:
This was intended to be a non-functional change. It wasn't. The commit message was thus wrong. In addition it broke arm, and merged crypto related code.
Revert with prejudice.
This revert skips files touched in r316370 since that commit was since MFCed. This revert also skips files that require $FreeBSD$ property changes.
Thank you to those who helped me get out of this mess including but not limited to gonzo, kevans, rgrimes.
Requested by: gjb (re)
|
#
330897 |
|
14-Mar-2018 |
eadler |
Partial merge of the SPDX changes
These changes are incomplete but are making it difficult to determine what other changes can/should be merged.
No objections from: pfg
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
207081 |
|
22-Apr-2010 |
jkim |
If a conditional jump instruction has the same jt and jf, do not perform the test and jump unconditionally.
|
#
199721 |
|
23-Nov-2009 |
jkim |
- Add more aggressive BPF JIT optimization. This is in more favor of i386 while the previous commit was more amd64-centric. - Use calloc(3) instead of malloc(3)/memset(3) in user land[1].
Submitted by: ed[1]
|
#
199619 |
|
20-Nov-2009 |
jkim |
Add an experimental and rudimentary JIT optimizer to reduce unncessary overhead from short BPF filter programs such as "get the first 96 bytes".
|
#
199603 |
|
20-Nov-2009 |
jkim |
- Allocate scratch memory on stack instead of pre-allocating it with the filter as we do from bpf_filter()[1]. - Revert experimental use of contigmalloc(9)/contigfree(9). It has no performance benefit over malloc(9)/free(9)[2].
Requested by: rwatson[1] Pointed out by: rwatson, jhb, alc[2]
|
#
199492 |
|
18-Nov-2009 |
jkim |
- Make BPF JIT compiler working again in userland. We are limiting size of generated native binary to page size for now. - Update copyright date and fix some style nits.
|
#
182173 |
|
25-Aug-2008 |
jkim |
Fix a typo in copyrights.
|
#
181853 |
|
18-Aug-2008 |
jkim |
MFamd64: Correctly check unsignedness of all registers used for load instructions with direct or indirect offsets.
|
#
181697 |
|
13-Aug-2008 |
jkim |
- Remove unnecessary jump instruction(s) when offset(s) is/are zero(s). - Constantly use conditional jumps for unsigned integers.
|
#
181649 |
|
12-Aug-2008 |
jkim |
MFamd64: Remove unused macros.
|
#
181648 |
|
12-Aug-2008 |
jkim |
Update copyrights and fix style(9).
|
#
179978 |
|
24-Jun-2008 |
jkim |
Emit opcodes closer to GNU as(1) generated codes and micro-optimize.
|
#
179968 |
|
23-Jun-2008 |
jkim |
Rehash and clean up BPF JIT compiler macros to match AT&T notations.
|
#
153177 |
|
06-Dec-2005 |
jkim |
Fix ZERO_EDX() macro from the previous commit. It was emitting `xor %ecx, %ecx', not `xor %edx, %edx'.
|
#
153156 |
|
06-Dec-2005 |
jkim |
- Micro-optimize `mov $0, %edx' -> `xor %edx, %edx'. - Correct amd64 macro style (no functional change).
|
#
153151 |
|
06-Dec-2005 |
jkim |
Add experimental BPF Just-In-Time compiler for amd64 and i386.
Use the following kernel configuration option to enable:
options BPF_JITTER
If you want to use bpf_filter() instead (e. g., debugging), do:
sysctl net.bpf.jitter.enable=0
to turn it off.
Currently BIOCSETWF and bpf_mtap2() are unsupported, and bpf_mtap() is partially supported because 1) no need, 2) avoid expensive m_copydata(9).
Obtained from: WinPcap 3.1 (for i386)
|