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

[PATCH v2 0/5] Speed up cache loading time

From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Date
Jun 10, 2014, 13:24 UTC
Message-ID
<1402406665-27988-1-git-send-email-pclouds@gmail.com>
Compared to v1 [1], this is like a new series
 - git-read-cache--daemon is renamed to git-index-helper (easier to
   guess what it's for)
 - simplified locking mechanism on shared memory
 - UNIX signals are used for notification instead of UNIX sockets
 - Windows support (only tested with wine)

I think I'm getting closer to something that can finally have a chance of merging. Still don't know how to write tests for this though.

[1] http://thread.gmane.org/gmane.comp.version-control.git/247268/focus=248760
Nguyễn Thái Ngọc Duy (5):
  read-cache: allow to keep mmap'd memory after reading
  index-helper: new daemon for caching index and related stuff
  index-helper: add Windows support
  daemonize(): set a flag before exiting the main process
  index-helper: add --detach
 .gitignore                               |   1 +
 Documentation/git-index-helper.txt (new) |  26 ++++
 Makefile                                 |   7 ++
 builtin/gc.c                             |   2 +-
 cache.h                                  |   6 +-
 config.mak.uname                         |   3 +
 daemon.c                                 |   2 +-
 git-compat-util.h                        |   1 +
 index-helper.c (new)                     | 198 +++++++++++++++++++++++++++++++
 read-cache.c                             |  97 +++++++++++++--
 setup.c                                  |   4 +-
 shm.c (new)                              | 163 +++++++++++++++++++++++++
 shm.h (new)                              |  23 ++++
 13 files changed, 521 insertions(+), 12 deletions(-)
 create mode 100644 Documentation/git-index-helper.txt
 create mode 100644 index-helper.c
 create mode 100644 shm.c
 create mode 100644 shm.h
-- 
1.9.1.346.ga2b5940
Next: Nguyễn Thái Ngọc Duy
Message 1 of 7 in “Speed up cache loading time”
  1. 0/5 Speed up cache loading timeNguyễn Thái Ngọc Duy, Jun 10, 2014
  2. 1/5 read-cache: allow to keep mmap'd memory after readingNguyễn Thái Ngọc Duy, Jun 10, 2014
  3. 2/5 index-helper: new daemon for caching index and related stuffNguyễn Thái Ngọc Duy, Jun 10, 2014
  4. David TurnerJun 10, 2014
  5. 3/5 index-helper: add Windows supportNguyễn Thái Ngọc Duy, Jun 10, 2014
  6. 4/5 daemonize(): set a flag before exiting the main processNguyễn Thái Ngọc Duy, Jun 10, 2014
  7. 5/5 index-helper: add --detachNguyễn Thái Ngọc Duy, Jun 10, 2014

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.