[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yt9dcytqx6dv.fsf@linux.ibm.com>
Date: Wed, 24 Jan 2024 13:28:28 +0100
From: Sven Schnelle <svens@...ux.ibm.com>
To: Ryan Roberts <ryan.roberts@....com>
Cc: Jiri Olsa <olsajiri@...il.com>, David Hildenbrand <david@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Matthew Wilcox
<willy@...radead.org>,
Yin Fengwei <fengwei.yin@...el.com>, Yu Zhao
<yuzhao@...gle.com>,
Catalin Marinas <catalin.marinas@....com>,
Anshuman
Khandual <anshuman.khandual@....com>,
Yang Shi <shy828301@...il.com>, "Huang, Ying" <ying.huang@...el.com>,
Zi Yan <ziy@...dia.com>, Luis
Chamberlain <mcgrof@...nel.org>,
Itaru Kitayama
<itaru.kitayama@...il.com>,
"Kirill A. Shutemov"
<kirill.shutemov@...ux.intel.com>,
John Hubbard <jhubbard@...dia.com>,
David Rientjes <rientjes@...gle.com>, Vlastimil Babka <vbabka@...e.cz>,
Hugh Dickins <hughd@...gle.com>,
Kefeng Wang
<wangkefeng.wang@...wei.com>,
Barry Song <21cnbao@...il.com>, Alistair
Popple <apopple@...dia.com>,
linux-mm@...ck.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, Barry Song <v-songbaohua@...o.com>,
linux-s390@...r.kernel.org
Subject: Re: [PATCH v9 02/10] mm: Non-pmd-mappable, large folios for
folio_add_new_anon_rmap()
Hi Ryan,
Ryan Roberts <ryan.roberts@....com> writes:
>>>>>>>>> I'm hitting this bug (console output below) with adding uprobe
>>>>>>>>> on simple program like:
>>>>>>>>>
>>>>>>>>> $ cat up.c
>>>>>>>>> int main(void)
>>>>>>>>> {
>>>>>>>>> return 0;
>>>>>>>>> }
>>>>>>>>>
>>>>>>>>> # bpftrace -e 'uprobe:/home/jolsa/up:_start {}'
>>>>>>>>>
>>>>>>>>> $ ./up
>>>>>>>>>
>>>>>>>>> it's on top of current linus tree master:
>>>>>>>>> 052d534373b7 Merge tag 'exfat-for-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat
>>>>>>>>>
>>>>>>>>> before this patch it seems to work, I can send my .config if needed
>>>>>>
>>>>>> Thanks for the bug report!
>>>>>
>>>>> I just hit the same bug in our CI, but can't find the fix in -next. Is
>>>>> this in the queue somewhere?
>>>>
>>>> we hit it as well, but I can see the fix in linux-next/master
>>>>
>>>> 4c137bc28064 uprobes: use pagesize-aligned virtual address when replacing pages
>>>
>>> Yes that's the one. Just to confirm: you are still hitting the VM_BUG_ON despite
>>> having this change in your kernel? Could you please send over the full bug log?
>>
>> ah sorry.. I meant the change fixes the problem for us, it just did not
>> yet propagate through the merge cycle into bpf trees.. but I can see it
>> in linux-next tree, so it's probably just matter of time
>
> OK great! How about you, Sven? Do you have this change in your kernel? Hopefully
> it should fix your problem.
Same here - the fix makes uprobes work again, i just didn't see it in
torvalds-master and neither in todays linux-next. But Jiri is right,
it's in linux-next/master. I just missed to find it there. So everything
should be ok.
Powered by blists - more mailing lists