On Thu, Aug 3, 2017 at 4:25 PM, Linus Torvalds
wrote:
> On Thu, Aug 3, 2017 at 4:11 PM, Andrew Morton
> wrote:
>>
>> Where is this INIT_LIST_HEAD()?
>
> I think it's this one:
>
> list_del_init(&info->shrinklist);
>
> in shmem_unused_huge_shrink().
Yes, this is correct. Sorry about con
On Thu, Aug 3, 2017 at 4:53 PM, Andrew Morton wrote:
> On Thu, 3 Aug 2017 16:25:46 -0700 Linus Torvalds
> wrote:
>
>> On Thu, Aug 3, 2017 at 4:11 PM, Andrew Morton
>> wrote:
>> >
>> > Where is this INIT_LIST_HEAD()?
>>
>> I think it's this one:
>>
>> list_del_init(&info->shrinklist);
>
On Thu, Aug 03, 2017 at 04:53:07PM -0700, Andrew Morton wrote:
> On Thu, 3 Aug 2017 16:25:46 -0700 Linus Torvalds
> wrote:
>
> > On Thu, Aug 3, 2017 at 4:11 PM, Andrew Morton
> > wrote:
> > >
> > > Where is this INIT_LIST_HEAD()?
> >
> > I think it's this one:
> >
> > list_del_init(&
On Thu, 3 Aug 2017 16:25:46 -0700 Linus Torvalds
wrote:
> On Thu, Aug 3, 2017 at 4:11 PM, Andrew Morton
> wrote:
> >
> > Where is this INIT_LIST_HEAD()?
>
> I think it's this one:
>
> list_del_init(&info->shrinklist);
>
> in shmem_unused_huge_shrink().
OK.
> > I'm not sure I'm und
On Thu, Aug 3, 2017 at 4:11 PM, Andrew Morton wrote:
>
> Where is this INIT_LIST_HEAD()?
I think it's this one:
list_del_init(&info->shrinklist);
in shmem_unused_huge_shrink().
> I'm not sure I'm understanding this. AFAICT all the list operations to
> which you refer are synchronized
On Wed, 2 Aug 2017 22:46:30 -0700 Cong Wang wrote:
> We saw many list corruption warnings on shmem shrinklist:
>
> ...
>
> The problem is that shmem_unused_huge_shrink() moves entries
> from the global sbinfo->shrinklist to its local lists and then
> releases the spinlock. However, a parallel
6 matches
Mail list logo