On Thu, May 2, 2019 at 6:29 PM Verma, Vishal L <vishal.l.verma(a)intel.com> wrote:
On Thu, 2019-05-02 at 17:44 -0400, Pavel Tatashin wrote:
> > In running with these patches, and testing the offlining part, I ran
> > into the following lockdep below.
> > This is with just these three patches on top of -rc7.
> Hi Verma,
> Thank you for testing. I wonder if there is a command sequence that I
> could run to reproduce it?
> Also, could you please send your config and qemu arguments.
Yes, here is the qemu config:
For the command list - I'm using WIP patches to ndctl/daxctl to add the
command I mentioned earlier. Using this command, I can reproduce the
lockdep issue. I thought I should be able to reproduce the issue by
onlining/offlining through sysfs directly too - something like:
for mem in /sys/devices/system/node/node"$node"/memory*; do
echo "offline" > $mem/state
But with that I can't reproduce the problem.
I'll try to dig a bit deeper into what might be happening, the daxctl
modifications simply amount to doing the same thing as above in C, so
I'm not immediately sure what might be happening.
If you're interested, I can post the ndctl patches - maybe as an RFC -
to test with.
I could apply the patches and test with them. Also, could you please
send your kernel config.