Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH 03/19] read-cache: allow to keep mmap'd memory after reading

From: David Turner <hidden>
Date: 2016-06-15 23:08:41

On Wed, 2016-03-09 at 15:02 -0800, Junio C Hamano wrote:
David Turner [off-list ref] writes:
quoted
From: Nguyễn Thái Ngọc Duy <redacted>

Signed-off-by: Nguyễn Thái Ngọc Duy <redacted>
---
As usual in Duy's patches, this one seriously lacks "why".  And also
makes the reader wonder if the memory region is ever unmapped() and
if so under what condition.
How about this:

Later, we will introduce git index-helper to share this memory with
other git processes.

Since the memory will be shared, it will never be unmapped (although
the kernel may of course choose to page it out).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help