[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250218200355.959a79bf9b6253772a95e782@linux-foundation.org>
Date: Tue, 18 Feb 2025 20:03:55 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Barry Song <21cnbao@...il.com>
Cc: gaoxu <gaoxu2@...or.com>, "linux-mm@...ck.org" <linux-mm@...ck.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, Suren
Baghdasaryan <surenb@...gle.com>, Yosry Ahmed <yosry.ahmed@...ux.dev>
Subject: Re: [PATCH v4] mm: Fix possible NULL pointer dereference in
__swap_duplicate
On Wed, 19 Feb 2025 15:28:26 +1300 Barry Song <21cnbao@...il.com> wrote:
> > The patch seems to only provide a workaround, but there are no more
> > effective software solutions to handle the bit flips problem. This path
> > will change the issue from a system crash to a process exception, thereby
> > reducing the impact on the entire machine.
> >
> > Signed-off-by: gao xu <gaoxu2@...or.com>
>
> Regardless of whether the above statement is 100% accurate or whether
> a bit-flip actually exists, providing this check still seems useful,
> at least for
> defensive programming.
I'm doubtful as well.
How often has this crash been observed?
Powered by blists - more mailing lists