From: Ævar Arnfjörð Bjarmason Date: Wed, 30 Jun 2021 06:06:21 GMT Subject: Re: [PATCH 2/4] map_loose_object_1: attempt to handle ENOMEM from mmap Message-ID: <87czs3ga1f.fsf@evledraar.gmail.com> In-Reply-To: <20210629081108.28657-3-e@80x24.org> On Tue, Jun 29 2021, Eric Wong wrote: > This benefits unprivileged users who lack permissions to raise > the `sys.vm.max_map_count' sysctl and/or RLIMIT_DATA resource > limit. > > Multi-threaded callers to map_loose_object_1 (e.g. "git grep") > appear to guard against thread-safety problems. Other > multi-core aware pieces of code (e.g. parallel-checkout) uses > child processes s/uses/use/ & missing full-stop.