git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 1/2] grep: make sure NO_LIBPCRE1_JIT disable JIT in PCRE1

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 26, 2019, 18:54 UTC
Message-ID
<xmqq36hnhi4n.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20190825182223.76288-2-carenas@gmail.com>
Carlo Marcelo Arenas Belón  <carenas@gmail.com> writes:
> e87de7cab4 ("grep: un-break building with PCRE < 8.32", 2017-05-25)
> added a restriction for JIT support that is no longer needed after
> pcre_jit_exec() calls were removed.

I was initially puzzled by this statement, until I realized that the removal of pcre_jit_exec() happens in the topic still in flight that this patch builds on top of, namely 685668fa ("grep: stop using a custom JIT stack with PCRE v1", 2019-07-26).

So the logic is that because we do no longer call pcre_jit_exec() that weren't available between 8.20 and 8.32, these slightly older versions can now do JIT just like the ones post 8.32?

Thanks.  Queued.
Previous: Carlo Marcelo Arenas BelónNext: Carlo Arenas
Message 5 of 6 in “PCRE1 cleanup”
  1. 0/2 PCRE1 cleanupCarlo Marcelo Arenas Belón, Aug 25, 2019
  2. 2/2 grep: refactor and simplify PCRE1 supportCarlo Marcelo Arenas Belón, Aug 25, 2019
  3. Junio C HamanoAug 26, 2019
  4. 1/2 grep: make sure NO_LIBPCRE1_JIT disable JIT in PCRE1Carlo Marcelo Arenas Belón, Aug 25, 2019
  5. Junio C HamanoAug 26, 2019
  6. Carlo ArenasAug 27, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.