[Bug runtime/26689] New: [mm] systemtap broken on >=5.8 (debian-testing): need portage from mmap_sem to mmap_lock API

sipdbg at hacari dot net sourceware-bugzilla@sourceware.org
Thu Oct 1 10:38:05 GMT 2020


https://sourceware.org/bugzilla/show_bug.cgi?id=26689

            Bug ID: 26689
           Summary: [mm] systemtap broken on >=5.8 (debian-testing): need
                    portage from mmap_sem to mmap_lock API
           Product: systemtap
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: sipdbg at hacari dot net
  Target Milestone: ---

Created attachment 12879
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12879&action=edit
debian-testing 5.8 kernel fix

Hi,

down_read (&mm->mmap_sem);
     has evolved to
mmap_read_lock (mm);

Same things for up_{read,write} and *_trylock()

I fixed the source code and I am providing a patch.


Thanks you :-))

P.S.: I also included generated/utsrelease.h instead of linux/vermagic.h to
avoid an new pre-processor #error statement

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Systemtap mailing list