Re: [PATCH v8 1/4] fs/proc/kcore: avoid bounce buffer for ktext data

From: David Hildenbrand
Date: Mon Jul 31 2023 - 15:25:45 EST


On 31.07.23 21:21, Lorenzo Stoakes wrote:
On Mon, Jul 24, 2023 at 08:23:55AM +0200, David Hildenbrand wrote:
Hi,


I met this too when I executed below command to trigger a kcore reading.
I wanted to do a simple testing during system running and got this.

makedumpfile --mem-usage /proc/kcore

Later I tried your above objdump testing, it corrupted system too.


What do you mean with "corrupted system too" -- did it not only fail to
dump the system, but also actually harmed the system?

@Lorenzo do you plan on reproduce + fix, or should we consider reverting
that change?

--
Cheers,

David / dhildenb


Apologies I mised this, I have been very busy lately not least with book :)

Concerning, I will take a look as I get a chance. I think the whole series
would have to be reverted which would be... depressing... as other patches
in series eliminates the bounce buffer altogether.


I spotted

https://lkml.kernel.org/r/069dd40aa71e634b414d07039d72467d051fb486.camel@xxxxxx

today, maybe that's related.

--
Cheers,

David / dhildenb