git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Speed up cache loading time
@ 2014-06-10 13:24 Nguyễn Thái Ngọc Duy
  2014-06-10 13:24 ` [PATCH 1/5] read-cache: allow to keep mmap'd memory after reading Nguyễn Thái Ngọc Duy
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Nguyễn Thái Ngọc Duy @ 2014-06-10 13:24 UTC (permalink / raw)
  To: git; +Cc: Nguyễn Thái Ngọc Duy

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

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

end of thread, other threads:[~2014-06-10 18:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-10 13:24 [PATCH v2 0/5] Speed up cache loading time Nguyễn Thái Ngọc Duy
2014-06-10 13:24 ` [PATCH 1/5] read-cache: allow to keep mmap'd memory after reading Nguyễn Thái Ngọc Duy
2014-06-10 13:24 ` [PATCH 2/5] index-helper: new daemon for caching index and related stuff Nguyễn Thái Ngọc Duy
2014-06-10 18:44   ` David Turner
2014-06-10 13:24 ` [PATCH 3/5] index-helper: add Windows support Nguyễn Thái Ngọc Duy
2014-06-10 13:24 ` [PATCH 4/5] daemonize(): set a flag before exiting the main process Nguyễn Thái Ngọc Duy
2014-06-10 13:24 ` [PATCH 5/5] index-helper: add --detach Nguyễn Thái Ngọc Duy

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 NNTP newsgroup(s).