unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH 0/7] cindex: fix FreeBSD freezes
@ 2023-04-05 11:26 Eric Wong
  2023-04-05 11:26 ` [PATCH 1/7] ipc: support awaitpid in WQ workers Eric Wong
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Eric Wong @ 2023-04-05 11:26 UTC (permalink / raw)
  To: meta

PATCH 6/7 is the fix.  It took me a while to realize how to fix it.

1-5 improve parallelism and reduce resource usage while limiting
the workaround to a single callsite in #6.  And #7 is just a
cleanliness fix.

Eric Wong (7):
  ipc: support awaitpid in WQ workers
  cindex: do prune work while waiting for `git log -p'
  cindex: share PktOp socket across prune workers
  cindex: share PktOp across indexing workers
  cindex: enter event loop once per run
  cindex: workaround for FreeBSD missing SIGCHLD
  cindex: reset DS internals on cidx_run completion

 MANIFEST                         |   1 +
 lib/PublicInbox/CidxLogP.pm      |  29 ++++
 lib/PublicInbox/CodeSearchIdx.pm | 290 ++++++++++++++++---------------
 lib/PublicInbox/IPC.pm           |  11 +-
 4 files changed, 184 insertions(+), 147 deletions(-)
 create mode 100644 lib/PublicInbox/CidxLogP.pm

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-04-05 11:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-05 11:26 [PATCH 0/7] cindex: fix FreeBSD freezes Eric Wong
2023-04-05 11:26 ` [PATCH 1/7] ipc: support awaitpid in WQ workers Eric Wong
2023-04-05 11:26 ` [PATCH 2/7] cindex: do prune work while waiting for `git log -p' Eric Wong
2023-04-05 11:26 ` [PATCH 3/7] cindex: share PktOp socket across prune workers Eric Wong
2023-04-05 11:26 ` [PATCH 4/7] cindex: share PktOp across indexing workers Eric Wong
2023-04-05 11:26 ` [PATCH 5/7] cindex: enter event loop once per run Eric Wong
2023-04-05 11:26 ` [PATCH 6/7] cindex: workaround for FreeBSD missing SIGCHLD Eric Wong
2023-04-05 11:26 ` [PATCH 7/7] cindex: reset DS internals on cidx_run completion Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).