Re: perfmon trouble

2018-06-11 Thread Al Viro
On Mon, Jun 11, 2018 at 11:51:34AM -0700, Stephane Eranian wrote: > Thanks Al for the careful analysis. If I understand correctly, the > problem seems to be that on > execve the mapping of the sampling buffer is not destroyed and then on > close, the kernel > unmaps whatever the new binary had in

Re: perfmon trouble

2018-06-11 Thread Linus Torvalds
On Mon, Jun 11, 2018 at 11:51 AM Stephane Eranian wrote: > > In the meantime, I agree with Matthew, simply disable > PERFMON support. Ok, since everybody seems to agree on that, I marked it BROKEN for now, in the hope that nobody even notices and we can just remove the code entirely. And if some

Re: perfmon trouble

2018-06-11 Thread Stephane Eranian
Hi, On Mon, Jun 11, 2018 at 10:18 AM Matthew Wilcox wrote: > > On Mon, Jun 11, 2018 at 10:04:00AM -0700, Linus Torvalds wrote: > > On Mon, Jun 11, 2018 at 9:49 AM Matthew Wilcox wrote: > > > > > > The problem is that even oprofile on ia64 depends on perfmon. > > > > Hmm? You can definitely enabl

Re: perfmon trouble

2018-06-11 Thread Matthew Wilcox
On Mon, Jun 11, 2018 at 10:04:00AM -0700, Linus Torvalds wrote: > On Mon, Jun 11, 2018 at 9:49 AM Matthew Wilcox wrote: > > > > The problem is that even oprofile on ia64 depends on perfmon. > > Hmm? You can definitely enable ia64 support for oprofile even without perfmon. Oh, I think my memory i

Re: perfmon trouble

2018-06-11 Thread Linus Torvalds
On Mon, Jun 11, 2018 at 9:49 AM Matthew Wilcox wrote: > > The problem is that even oprofile on ia64 depends on perfmon. Hmm? You can definitely enable ia64 support for oprofile even without perfmon. Are you saying the end result isn't usable? Because I'd be inclined to just remove CONFIG_PERFMO

Re: perfmon trouble

2018-06-11 Thread Matthew Wilcox
On Mon, Jun 11, 2018 at 09:23:13AM -0700, Christoph Hellwig wrote: > Is perfmon even in still in use? If not it might be a good idea to > drop it for good. The problem is that even oprofile on ia64 depends on perfmon. We have about four options, none of which are terribly appealing: 1. rm -rf a

Re: perfmon trouble

2018-06-11 Thread Christoph Hellwig
Is perfmon even in still in use? If not it might be a good idea to drop it for good.

perfmon trouble

2018-06-10 Thread Al Viro
On Sat, Jun 09, 2018 at 04:51:08PM +0100, Al Viro wrote: > Stephane, could you comment on the situation in there? I realize that you > hadn't touched that thing in more than a decade, but I've no idea who else > might be familiar with that thing and it's very inconveniently special... Having loo