From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailbox.box.xen0n.name (mail.xen0n.name [115.28.160.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BB9577F for ; Mon, 1 Aug 2022 10:44:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xen0n.name; s=mail; t=1659350669; bh=1EJPgP5q2q4V6iN2Gc8k3q+T6sP+TuI5mAZxt56oEQs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=v9H4tKDdubqQVOdqaUwRK8QP0jXaMIWtxKlvyIiTLreQbdA/IBUpyp9xVApCdYE31 qnwe8Onyel1WcDO1/+4Z0XsEul2UA6IJTyRB4/XKeAd93kZdLHfvvUrLFMEZHsQ/z8 l48EYuJEuTFwWCnGyEkFelCf7Y43U5Iq8m6M3BtM= Received: from [100.100.57.219] (unknown [220.248.53.61]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailbox.box.xen0n.name (Postfix) with ESMTPSA id 2590B60103; Mon, 1 Aug 2022 18:44:29 +0800 (CST) Message-ID: Date: Mon, 1 Aug 2022 18:44:28 +0800 Precedence: bulk X-Mailing-List: loongarch@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:105.0) Gecko/20100101 Thunderbird/105.0a1 Subject: Re: [PATCH v4 0/4] LoongArch: Support new relocation types Content-Language: en-US To: Jinyang He , Xi Ruoyao , Huacai Chen , Youling Tang Cc: loongarch@lists.linux.dev, LKML , Lulu Cheng References: <32a74a218c76611f897fd1df1ad0059068621133.camel@xry111.site> <0179679b736aea7258981dec2d83107cce74dfc1.camel@xry111.site> <6b5d2188f93ed72b67a4bbb7116113f833fe1ee5.camel@xry111.site> <7cad6e78014168a8906e130e1cf3809077d2bda7.camel@xry111.site> <1d0783b87bda3e454a111862fcc5b5faffcb16b0.camel@xry111.site> <00eede4b1380888a500f74b1e818bb25a550632b.camel@xry111.site> <7512ae16-b171-d072-674f-a6b9a5e764d6@loongson.cn> <10751c9af5d45fea741e0bbed6c818ddb9db3ac3.camel@xry111.site> <7b1f9813-85fc-acfd-8e24-7e01469ded3a@loongson.cn> From: WANG Xuerui In-Reply-To: <7b1f9813-85fc-acfd-8e24-7e01469ded3a@loongson.cn> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2022/8/1 18:08, Jinyang He wrote: > [snip] > > Actually, I really hope kernel image is in the XKVRANGE, rather > than being in XKPRANGE. So that we can limit kernel and modules > be in 4GB range. I think it will make all work normally. :-( Just my 2c. I'd prefer any scheme in which memfd_secret is possible. The current design makes it impossible to carve out memory regions from kernel's view, IIUC, which is of course something to improve... -- WANG "xen0n" Xuerui Linux/LoongArch mailing list: https://lore.kernel.org/loongarch/