[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200829181520.ec52c425fc0a9d220559230a@kernel.org>
Date: Sat, 29 Aug 2020 18:15:20 +0900
From: Masami Hiramatsu <mhiramat@...nel.org>
To: Cameron <cameron@...dycamel.com>
Cc: Peter Zijlstra <peterz@...radead.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
linux-kernel@...r.kernel.org, Eddy_Wu@...ndmicro.com,
x86@...nel.org, davem@...emloft.net, rostedt@...dmis.org,
naveen.n.rao@...ux.ibm.com, anil.s.keshavamurthy@...el.com,
linux-arch@...r.kernel.org, oleg@...hat.com, will@...nel.org,
paulmck@...nel.org
Subject: Re: [RFC][PATCH 7/7] kprobes: Replace rp->free_instance with
freelist
On Fri, 28 Aug 2020 22:31:17 -0400
Cameron <cameron@...dycamel.com> wrote:
> On Fri, Aug 28, 2020 at 10:29 PM Cameron <cameron@...dycamel.com> wrote:
> > I thought about this some more, and actually, it should be safe.
>
> Although I should note that it's important that the flags/refcount are
> not overwritten
> even after the node is taken off the freelist.
Thanks for the check, but I personally would like to keep it separated
because the memory layouts of those in-kernel list-like data structures
can be changed by debug config option...
Thank you,
--
Masami Hiramatsu <mhiramat@...nel.org>
Powered by blists - more mailing lists