CVS log for src/sys/net/bpfjit.c
Up to [cvs.NetBSD.org] / src / sys / net
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.46.16.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:57 2020 UTC (4 years, 10 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.46.16.1: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.16.1: +5 -6
lines
Merge changes from current as of 20200406
Revision 1.47.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:21:06 2020 UTC (4 years, 11 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +5 -6
lines
Sync with head.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Feb 1 02:54:02 2020 UTC (5 years ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
thorpej-altq-separation-base,
thorpej-altq-separation,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
ad-namecache-base3,
HEAD
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +5 -6
lines
Fix wrong memory order and switch bpf to atomic_load/store_*.
Revision 1.46.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:45 2019 UTC (5 years, 8 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -3
lines
Sync with HEAD
Revision 1.46.14.1: download - view: text, markup, annotated - select for diffs
Sat Jan 26 22:00:36 2019 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +4 -3
lines
Sync with HEAD
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Jan 20 23:36:57 2019 UTC (6 years ago) by alnsn
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
isaki-audio2-base,
isaki-audio2,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -3
lines
Add missing include.
Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:02 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.2.2.3: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.3: +266 -201
lines
update from HEAD
Revision 1.36.2.4: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:56:08 2016 UTC (8 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.36.2.3: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.2.3: +53 -39
lines
Sync with HEAD
Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 6 00:19:10 2016 UTC (8 years, 6 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +53 -39
lines
Sync with HEAD
Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Jul 29 20:29:38 2016 UTC (8 years, 6 months ago) by alnsn
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-compat-base,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: phil-wifi,
pgoyette-compat
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +53 -39
lines
Don't trigger BJ_ASSERT(false) on invalid BPF_Jxxx opcode in jmp_to_op().
This change helps survive AFL fuzzing without calling bpf_validate() first.
Also change alu_to_op() function to have a similar interface.
Revision 1.36.2.3: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:21 2016 UTC (8 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.36.2.2: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.2: +113 -113
lines
Sync with HEAD
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun May 29 17:20:22 2016 UTC (8 years, 8 months ago) by alnsn
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20160726,
nick-nhusb-base-20160907
Branch point for: pgoyette-localcount
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +113 -113
lines
Adapt to the new version of sljit@r313.
Revision 1.36.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:32 2016 UTC (8 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.36.2.1: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.2.1: +9 -16
lines
Sync with HEAD
Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Dec 29 21:49:58 2015 UTC (9 years, 1 month ago) by alnsn
Branches: MAIN
CVS tags: nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +9 -16
lines
Replace the nsaveds() function with #define NSAVEDS 3. No functional change.
Patch from Michael McConville.
Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:22 2015 UTC (9 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +55 -38
lines
Sync with HEAD
Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 16 20:48:40 2015 UTC (9 years, 11 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +50 -34
lines
Pull up following revision(s) (requested by alnsn in ticket #519):
sys/net/bpfjit.c: revision 1.39-1.41
Fix bugs found by afl fuzzer http://lcamtuf.coredump.cx/afl/.
-
Don't emit wrapped-around reads. They're dead code but dead code elimination
logic isn't smart enough to figure it out.
-
Properly track initialisation of registers for BPF_JMP instructions.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Feb 14 21:32:46 2015 UTC (10 years ago) by alnsn
Branches: MAIN
CVS tags: nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +4 -4
lines
Copyright year.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Feb 14 21:17:05 2015 UTC (10 years ago) by alnsn
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +6 -5
lines
In some implementations pc->k is signed. Cast it to uint32_t before comparing.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Feb 14 21:14:56 2015 UTC (10 years ago) by alnsn
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +8 -4
lines
Properly track initialisation of registers for BPF_JMP instructions.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Feb 13 15:59:17 2015 UTC (10 years ago) by alnsn
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +23 -16
lines
Don't emit wrapped-around reads. They're dead code but dead code elimination
logic isn't smart enough to figure it out.
Found by afl fuzzer http://lcamtuf.coredump.cx/afl/.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Feb 12 23:09:55 2015 UTC (10 years ago) by alnsn
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +26 -21
lines
Fix bugs found by afl fuzzer http://lcamtuf.coredump.cx/afl/.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Jan 15 16:31:05 2015 UTC (10 years ago) by christos
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +5 -5
lines
rename variable to avoid conflict with "div"
Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Dec 8 00:44:45 2014 UTC (10 years, 2 months ago) by justin
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +4 -4
lines
Help gcc by initialising variable
Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Nov 20 20:31:22 2014 UTC (10 years, 2 months ago) by alnsn
Branches: MAIN
CVS tags: nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +19 -13
lines
Implement BPF_MOD.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Nov 20 19:18:52 2014 UTC (10 years, 2 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +42 -26
lines
Implement BPF_ALU+BPF_MOD-BPF_K when pc->k is a power of 2. Get rid of divt
and divw arguments in emit_moddiv(), they're accessible via the pc argument.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Nov 20 14:35:01 2014 UTC (10 years, 2 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +9 -8
lines
Follow argument convension of other emit_xxx() functions.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Nov 19 19:34:43 2014 UTC (10 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +33 -15
lines
Add BPF_MOD/BPF_XOR (untested, needs work)
Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:34 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.2: +1202 -710
lines
Rebase to HEAD as of a few days ago.
Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:56:15 2014 UTC (10 years, 6 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +1203 -697
lines
Rebase.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Jul 26 11:23:46 2014 UTC (10 years, 6 months ago) by alnsn
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +88 -43
lines
Don't use saved EREG registers because sljit 0.91 can generate
bogus code on amd64. The A and X registers are saved on the stack.
The most recent version of sljit fixes bogus code generation but
it's not backward compatible with sljit 0.91.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Jul 24 22:54:38 2014 UTC (10 years, 6 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +31 -21
lines
For P[X+0] load, don't emit wrap around check and copy X intead of emitting X+0.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Jul 22 08:29:51 2014 UTC (10 years, 6 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +16 -43
lines
Two tweaks: don't use a temporary register to dereference the err agrument
after xcall and don't generate ((tmp1 & 0xf) << 2) twice in emit_msh().
Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Jul 22 08:20:08 2014 UTC (10 years, 6 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +39 -41
lines
Don't use scratch registers for X and to restore A after BPF_COPX call.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Jul 13 21:54:46 2014 UTC (10 years, 7 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +74 -74
lines
Refactor BPF_COPX code. New version doesn't load buf and buflen after copx call.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Jul 13 18:48:27 2014 UTC (10 years, 7 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +63 -71
lines
Don't use BJ_TMP2REG for 32bit packet reads. Assign this register to (buf+X)
in BPF_LD+BPF_IND and save one instruction.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Jul 12 20:14:18 2014 UTC (10 years, 7 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +24 -25
lines
emit_xcall: check overflow by comparing X with (UINT32_MAX - pk->k), restore
the A register after checking that xcall succeeded.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Jul 12 16:52:57 2014 UTC (10 years, 7 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -4
lines
Initialise status to avoid -Wuninitialized warning.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Jul 12 16:13:57 2014 UTC (10 years, 7 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +51 -45
lines
Some small changes: add missing error checks; move sjump initialisation away
from optimize(); +BJ_HINT_PKT, -BJ_HINT_IND; tweak comments.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Jul 11 20:43:33 2014 UTC (10 years, 7 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +56 -35
lines
Handle overflow in BPF_LD+BPF_IND for mbuf chains and make two minor changes:
move sljit_emit_return() to generate_insn_code() and use a different register
for checking errors after xcall.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Jul 8 11:30:31 2014 UTC (10 years, 7 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +11 -3
lines
Most filter programs in the kernel need 3 scratch registers.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Jul 5 11:13:13 2014 UTC (10 years, 7 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +16 -16
lines
Review some SLJIT_MOV instructions with respect to width.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Jul 4 21:32:08 2014 UTC (10 years, 7 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +61 -60
lines
Add optimization hints. They replace nscratches and ncopfuncs and improve
readability.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Jul 1 16:18:55 2014 UTC (10 years, 7 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +197 -169
lines
Move the main loop in bpfjit_generate_code() to a new function and make few
small changes.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jun 25 13:53:40 2014 UTC (10 years, 7 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +19 -11
lines
Default initialize external memwords.
This change doesn't affect performance of valid bpf kernel programs
because bpf_filter_ext() checks that all memwords are initialized
explicitly.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Jun 25 11:58:15 2014 UTC (10 years, 7 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -4
lines
New jitcode takes two arguments.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Jun 25 11:13:28 2014 UTC (10 years, 7 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -5
lines
Use SLJIT_MOV_P to copy extmem pointer.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Jun 25 01:21:36 2014 UTC (10 years, 7 months ago) by rmind
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -4
lines
bpfjit_generate_code: emit the instruction correctly.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Jun 24 22:19:36 2014 UTC (10 years, 7 months ago) by rmind
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +8 -8
lines
- Improve the comments in bpf.h and KNF a little.
- Rename bpf_ctx_t member noinit to preinited (reflects the meaning better).
Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Jun 24 10:53:30 2014 UTC (10 years, 7 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +371 -64
lines
Implement copfuncs and external memory in bpfjit.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Jun 17 16:52:33 2014 UTC (10 years, 7 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +26 -26
lines
Update code to the latest sljit version.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri May 23 22:04:09 2014 UTC (10 years, 8 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +24 -4
lines
Enable ABC optimization when one branch returns 0.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri May 23 19:51:16 2014 UTC (10 years, 8 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +7 -3
lines
Loads at offsets UINT32_MAX or greater are unreachable.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri May 23 19:11:22 2014 UTC (10 years, 8 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +48 -25
lines
Implement unconditional jump to "return 0" for loads at UINT32_MAX+1 or greater.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu May 22 13:35:45 2014 UTC (10 years, 8 months ago) by alnsn
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +26 -19
lines
Some small changes in preparation for a bigger change.
- typedef for ABC variables and MAX_ABC_LENGTH constant,
- cast pc->k to uint32_t in more places,
- whitespaces.
Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:08 2014 UTC (10 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.1.2.3: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.3: +32 -46
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.2.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:12 2014 UTC (10 years, 8 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +585 -543
lines
sync with head
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu May 15 22:20:08 2014 UTC (10 years, 9 months ago) by alnsn
Branches: MAIN
CVS tags: rmind-smpnet-nbase,
rmind-smpnet-base
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +581 -525
lines
Refactor bpfjit code.
- Implement Array Bounds Check Elimination for packet bytes.
- Track initialization of registers and memwords.
- Remove "bj_" prefix from struct members.
- Shorten "BPFJIT_" prefix to "BJ_".
- Other small improvements.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Dec 15 21:18:01 2013 UTC (11 years, 2 months ago) by pooka
Branches: MAIN
CVS tags: yamt-pagecache-base9,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4
lines
XXXgcc Wuninitialized kludge
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Nov 15 13:56:21 2013 UTC (11 years, 3 months ago) by rmind
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -3
lines
Fix the bpfjit build.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Nov 15 00:12:44 2013 UTC (11 years, 3 months ago) by rmind
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +7 -8
lines
- Add bpf_args_t and convert bpf_filter_ext() to use it. This allows the
caller to initialise (and re-use) the memory store.
- Add bpf_jit_generate() and bpf_jit_freecode() wrappers.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Sep 20 23:19:52 2013 UTC (11 years, 4 months ago) by rmind
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +25 -40
lines
bpfjit: replace malloc with kmem, KNF a little, add RCS ID.
Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Wed Jan 16 05:33:48 2013 UTC (12 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.2: +14 -7
lines
sync with (a bit old) head
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:02:46 2012 UTC (12 years, 2 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +1753 -0
lines
Resync to 2012-11-19 00:00:00 UTC
Revision 1.2.2.1
Sat Nov 10 22:12:31 2012 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.2: +0 -1753
lines
file bpfjit.c was added on branch tls-maxphys on 2012-11-20 03:02:46 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Nov 10 22:12:31 2012 UTC (12 years, 3 months ago) by alnsn
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
rmind-smpnet
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +14 -7
lines
Add RCSID and fix -Wsign-compare warnings.
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:22:42 2012 UTC (12 years, 3 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +1746 -0
lines
sync with head
Revision 1.1.2.1
Sat Oct 27 22:36:14 2012 UTC (12 years, 3 months ago) by yamt
Branches: yamt-pagecache
FILE REMOVED
Changes since revision 1.1: +0 -1746
lines
file bpfjit.c was added on branch yamt-pagecache on 2012-10-30 17:22:42 +0000
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Oct 27 22:36:14 2012 UTC (12 years, 3 months ago) by alnsn
Branches: MAIN
CVS tags: yamt-pagecache-base6
Branch point for: yamt-pagecache
Add bpfjit and enable it for amd64.
CVSweb <webmaster@jp.NetBSD.org>