[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7c204a40-532d-4afe-94f9-e685fb9be454@intel.com>
Date: Wed, 11 Jun 2025 07:16:06 -0700
From: Dave Hansen <dave.hansen@...el.com>
To: Em Sharnoff <sharnoff@...n.tech>, linux-kernel@...r.kernel.org,
x86@...nel.org, linux-mm@...ck.org
Cc: Ingo Molnar <mingo@...nel.org>, "H. Peter Anvin" <hpa@...or.com>,
Andy Lutomirski <luto@...nel.org>, Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>, Borislav Petkov <bp@...en8.de>,
"Edgecombe, Rick P" <rick.p.edgecombe@...el.com>,
Oleg Vasilev <oleg@...n.tech>, Arthur Petukhovsky <arthur@...n.tech>,
Stefan Radig <stefan@...n.tech>, Misha Sakhnov <misha@...n.tech>
Subject: Re: [PATCH v3 1/2] x86/mm: Handle alloc failure in phys_*_init()
On 6/11/25 01:38, Em Sharnoff wrote:
>> Could you please find a way to reduce the number of casts?
> What do you think about changing the return for these functions to just 'int'
> for errors?
> It's a larger change (especially if all callers should be updated to check the
> return value), but I think much cleaner in the end.
Fine with me. No reason to cram errno's into a physical address that's
never used as a physical address.
Powered by blists - more mailing lists