Wireshark-dev: Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap?

From: Bálint Réczey <balint@xxxxxxxxxxxxxxx>
Date: Thu, 22 Aug 2013 23:02:40 +0200
Hi,

I would be happier if the applications I run did not change kernel
configuration without my consent.

Regarding Wireshark I would prefer suggesting "echo 1 >
/proc/sys/net/core/bpf_jit_enable" in the documentation
instead of adding code to enable JIT.
There may be good reasons for not enabling it by default in the Linux kernel.

Cheers,
Balint

2013/8/22 Anders Broman <a.broman@xxxxxxxxxxxx>:
> Guy Harris skrev 2013-08-22 18:16:
>
>> On Aug 22, 2013, at 4:46 AM, Anders Broman <anders.broman@xxxxxxxxxxxx>
>> wrote:
>>
>>> Should we add code to enable the JIT compiler from dumpcap?
>>
>> Should I add code to enable the JIT compiler to libpcap while I'm at it?
>>
>> Should the Linux kernel folks enable it by default?
>>
>> I'm inclined to answer "yes" to all three questions.  I think the FreeBSD
>> JIT compiler is enabled by default.  I'm surprised that the Linux one isn't.
>
> I checked in the dumpcap code. I agree that it might be useful in libpcap
> too, root privileges are required to
> change it I think. and Yes
>
>>I'm surprised that the Linux one isn't
> Regards
> Anders
>
>>
>> ___________________________________________________________________________
>> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
>> Archives:    http://www.wireshark.org/lists/wireshark-dev
>> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>>
>> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>>
>
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe