From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Petkov Subject: Re: [PATCH v3 1/7] x86, kaslr: Use init_size instead of run_size Date: Mon, 9 Mar 2015 21:00:35 +0100 Message-ID: <20150309200035.GK12732@pd.tnic> References: <1425766041-6551-1-git-send-email-yinghai@kernel.org> <1425766041-6551-2-git-send-email-yinghai@kernel.org> <20150309124935.GA12732@pd.tnic> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Yinghai Lu Cc: Matt Fleming , "H. Peter Anvin" , Ingo Molnar , Kees Cook , Baoquan He , Thomas Gleixner , Jiri Kosina , Linux Kernel Mailing List , "linux-efi@vger.kernel.org" , Josh Triplett , Andrew Morton , Ard Biesheuvel , Junjie Mao List-Id: linux-efi@vger.kernel.org On Mon, Mar 09, 2015 at 12:35:25PM -0700, Yinghai Lu wrote: > Can you put back: > " > So need to make sure [z_extra_offset, init_size) will fit ZO, that means > init_size need to be adjusted according to ZO size. > That make init_size is always >= run_size. Why? We don't adjust init_size. We assign INIT_SIZE to it. Or do you want to say that we indirectly adjust init_size through INIT_SIZE? -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --