Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1539113

Re: [PATCH v2] inotify: Convert to using per-namespace limits

From ebiederm@xmission.com (Eric W. Biederman)
Newsgroups linux.kernel
Subject Re: [PATCH v2] inotify: Convert to using per-namespace limits
Date 2016-12-09 06:50 +0100
Message-ID <sMmed-7Op-15@gated-at.bofh.it> (permalink)
References (1 earlier) <sqZPk-3Ko-15@gated-at.bofh.it> <svHf3-3WD-1@gated-at.bofh.it> <sLW0q-7Yr-13@gated-at.bofh.it> <sM0Qq-2Lg-13@gated-at.bofh.it> <sM25P-3Kk-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Nikolay Borisov <n.borisov.lkml@gmail.com> writes:

> On  8.12.2016 08:58, Nikolay Borisov wrote:
>> 
>> 
>> On  8.12.2016 03:40, Eric W. Biederman wrote:
>>> Nikolay Borisov <kernel@kyup.com> writes:
>>>
>>>> Gentle ping, now that rc1 has shipped and Jan's sysctl concern hopefully
>>>> resolved.
>>>
>>> After getting slowed down by some fixes I am now taking a hard look at
>>> your patch in the hopes of merging it.
>>>
>>> Did you happen to see the kbuild test roboot boot failures and did you
>>> happen to look into what caused them?  I have just skimmed them and it
>>> appears to be related to your patch.
>> 
>> I saw them in the beginning but they did look like a generic memory
>> corruption and I believe at the time those patches were submitted there
>> was a lingering memory corruption hitting various patches. Thus I didn't
>> think it was related to my patches. I've since left my work so been
>> taking a bit of time off and haven't looked really hard, so those
>> patches have been kind of lingering.
>> 
>> 
>> But now that you mention it I will try and take a second look to see
>> what might cause the memory corruption? Is there a way to force 0day to
>> re-run them to see whether the failure was indeed caused by my patches
>> or were intermittent?
>
> Ok, I took another look into the report but bear in mind that the
> corruption indeed happened in retire_userns_sysctls. But also this row
> in the report leads me to believe it's not my patch that's the culprit:
>
> [   65.527277] INFO: Allocated in setup_userns_sysctls+0x3f/0xa6 age=5
> cpu=1 pid=418
> [   65.558397] INFO: Freed in free_ctx+0x1d/0x20 age=6 cpu=0 pid=19
>
>
> So a free_ctx function did free it originally, likely causing the
> corruption. And there is no such function involved in the code I'm touching.

Yes.  I read through your patch carefully and it doesn't look like it
could possibly cause that kind of corruption, the code is just too
simple.

So I have (belatedly) placed this change in linux-next.

Eric

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2] inotify: Convert to using per-namespace limits ebiederm@xmission.com (Eric W. Biederman) - 2016-12-08 02:50 +0100
  Re: [PATCH v2] inotify: Convert to using per-namespace limits Nikolay Borisov <n.borisov.lkml@gmail.com> - 2016-12-08 08:00 +0100
    Re: [PATCH v2] inotify: Convert to using per-namespace limits Nikolay Borisov <n.borisov.lkml@gmail.com> - 2016-12-08 09:20 +0100
      Re: [PATCH v2] inotify: Convert to using per-namespace limits ebiederm@xmission.com (Eric W. Biederman) - 2016-12-09 06:50 +0100
    Re: [PATCH v2] inotify: Convert to using per-namespace limits ebiederm@xmission.com (Eric W. Biederman) - 2016-12-09 04:00 +0100

csiph-web