Message ID | 87sggnajpv.fsf_-_@x220.int.ebiederm.org (mailing list archive) |
---|---|
Headers | show |
Series | proc: Ensure we see the exit of each process tid exactly | expand |
On Tue, Apr 28, 2020 at 5:20 AM Eric W. Biederman <ebiederm@xmission.com> wrote: > > In short I don't think this change will introduce any regressions. I think the series looks fine, but I also think the long explanation (that I snipped in this reply) in the cover letter should be there in the kernel tree. So if you send me this as a single pull request, with that explanation (either in the email or in the signed tag - although you don't seem to use tags normally - so that we have that extra commentary for posterity, that sounds good. That said, this fix seems to not matter for normal operation, so unless it's holding up something important, maybe it's 5.8 material? Linus
Linus Torvalds <torvalds@linux-foundation.org> writes: > On Tue, Apr 28, 2020 at 5:20 AM Eric W. Biederman <ebiederm@xmission.com> wrote: >> >> In short I don't think this change will introduce any regressions. > > I think the series looks fine, but I also think the long explanation > (that I snipped in this reply) in the cover letter should be there in > the kernel tree. When I have been adding patchsets like this to my tree I have been doing merge --no-ff so I can create a place for explanations like this, and I will do the same with this. I already have Alexey Gladkov's proc changes, and my next_tgid cleanup on a branch of proc changes in my tree already. > So if you send me this as a single pull request, with that explanation > (either in the email or in the signed tag - although you don't seem to > use tags normally - so that we have that extra commentary for > posterity, that sounds good. I hope you don't mind if I combind this with some other proc changes. If you do mind I will put this on a separate topic branch. Right now it just seems easier for me to keep track of if I keep my number of topics limited. > That said, this fix seems to not matter for normal operation, so > unless it's holding up something important, maybe it's 5.8 material? Yes, this is 5.8 material. I am just aiming to get review before I put in linux-next, and later send it to your for merging. I should have mentioned that in the cover letter. I am noticing that removing technical debt without adding more technical debt is quite a challenge. Eric
On 04/28, Eric W. Biederman wrote: > > In short I don't think this change will introduce any regressions. > > Eric W. Biederman (2): > rculist: Add hlists_swap_heads_rcu > proc: Ensure we see the exit of each process tid exactly once Eric, sorry, I got lost. Both changes look good to me, feel free to add my ack, but I presume this is on top of next_tgid/lookup_task changes ? If yes, why did not you remove has_group_leader_pid? Oleg.
Oleg Nesterov <oleg@redhat.com> writes: > On 04/28, Eric W. Biederman wrote: >> >> In short I don't think this change will introduce any regressions. >> >> Eric W. Biederman (2): >> rculist: Add hlists_swap_heads_rcu >> proc: Ensure we see the exit of each process tid exactly once > > Eric, sorry, I got lost. > > Both changes look good to me, feel free to add my ack, but I presume > this is on top of next_tgid/lookup_task changes ? If yes, why did not > you remove has_group_leader_pid? On top of next_tgid. Upon a close examination there are not any current bugs in posix-cpu-timers nor is there anything that exchange_tids will make worse. I am preparing a follow on patchset to kill has_group_leader_pid. I am preparing a further follow on patchset to see if I can get that code to start returning pids, because that is cheaper and clearer. I pushed those changes a little farther out so I could maintain focus on what I am accomplishing. Adding exchange_tids was difficult because I had to audit pretty much all of the pid use in the kernel to see if the small change in behavior would make anything worse. The rest of the changes should be simpler and more localized so I hope they go faster. Eric
Linus Torvalds <torvalds@linux-foundation.org> writes: > On Tue, Apr 28, 2020 at 5:20 AM Eric W. Biederman <ebiederm@xmission.com> wrote: >> >> In short I don't think this change will introduce any regressions. > > I think the series looks fine. Mind if I translate that into Acked-by: Linus Torvalds <torvalds@linux-foundation.org> on the patches? Eric
On Tue, Apr 28, 2020 at 11:59 AM Eric W. Biederman <ebiederm@xmission.com> wrote: > > Linus Torvalds <torvalds@linux-foundation.org> writes: > > > > I think the series looks fine. > > Mind if I translate that into > > Acked-by: Linus Torvalds <torvalds@linux-foundation.org> > on the patches? Sure, go right ahead. Linus