From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward500a.mail.yandex.net (forward500a.mail.yandex.net [178.154.239.80]) by sourceware.org (Postfix) with ESMTPS id 7663C3858CDB for ; Sat, 1 Apr 2023 09:28:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7663C3858CDB Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.ru Received: from mail-nwsmtp-smtp-production-main-64.vla.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-64.vla.yp-c.yandex.net [IPv6:2a02:6b8:c0f:170e:0:640:d60c:0]) by forward500a.mail.yandex.net (Yandex) with ESMTP id 5B5F45EB41; Sat, 1 Apr 2023 12:28:05 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-64.vla.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id 2SHJ67ODemI0-ttWd9F2C; Sat, 01 Apr 2023 12:28:05 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1680341285; bh=KKlVLv53SAGLw8TmpKp7xDog7XH9qTRX2vfMVOzJ+aw=; h=In-Reply-To:Date:References:To:From:Subject:Message-ID; b=D77d+5Khnn4zTndQQ/jQ4xPaltEhzzap+s8/+nUm5xbmXLa9gayzAFpDI0x2NO1qi T6uJamL34UNIfMJRQ4xnJ0dWpFEchQh9tsLZ899bi5w0euq5xepez9grC5Sm6MiYik f8t/NgO4Rp/ilrsDzZjNRtLoYkgV1LJs9bj7tV+0= Authentication-Results: mail-nwsmtp-smtp-production-main-64.vla.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: Date: Sat, 1 Apr 2023 14:28:01 +0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH v9 0/13] implement dlmem() function Content-Language: en-US From: stsp To: Szabolcs Nagy , Adhemerval Zanella Netto , libc-alpha@sourceware.org, janderson@rice.edu, Carlos O'Donell , Rich Felker References: <20230318165110.3672749-1-stsp2@yandex.ru> <2f3a10fa-4f79-7f9a-6407-d227dbf31935@yandex.ru> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 31.03.2023 22:36, stsp пишет: > There is already such flag. Namely, LD_PREFER_MAP_32BIT_EXEC. > Unfortunately my setup is much more > complicated than that: I need to force > the mapping under 4Gb AND I need to > force it into the shared buffer which I > then mmap() to another address... > Yes, this may sound weird, and I am not > sure if you want to read my entire discussion > with Jonathon on why is that needed. > But he did a good small summary here: > https://sourceware.org/bugzilla/show_bug.cgi?id=30007#c8 > An additional clarification is needed that the LD_AUDIT stuff mentioned in that URL, was later replaced exactly by the premap callback (that only optionally sets the mapping area).