Re: [PATCH net] bpf: adjust verifier heuristics

2017-05-18 Thread Daniel Borkmann
On 05/18/2017 04:56 AM, David Miller wrote: [...] Ok, applied, but we should continue trying to make the pruner more effective. Yeah, agree, I was planning to look into states_equal() for the current alignment tracking we do and what we can optimize resp. what needs to be fixed there on pruning

Re: [PATCH net] bpf: adjust verifier heuristics

2017-05-17 Thread David Miller
From: Daniel Borkmann Date: Thu, 18 May 2017 03:00:06 +0200 > Current limits with regards to processing program paths do not > really reflect today's needs anymore due to programs becoming > more complex and verifier smarter, keeping track of more data > such as const ALU operations, alignment tr

[PATCH net] bpf: adjust verifier heuristics

2017-05-17 Thread Daniel Borkmann
Current limits with regards to processing program paths do not really reflect today's needs anymore due to programs becoming more complex and verifier smarter, keeping track of more data such as const ALU operations, alignment tracking, spilling of PTR_TO_MAP_VALUE_ADJ registers, and other features