This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug corefiles/16981] New: "AnonHugePages:" is not checked with "Anonymous:"


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

            Bug ID: 16981
           Summary: "AnonHugePages:" is not checked with "Anonymous:"
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: corefiles
          Assignee: unassigned at sourceware dot org
          Reporter: jan.kratochvil at redhat dot com
        Depends on: 11804
            Target: *-linux-gnu

Created attachment 7615
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7615&action=edit
.c hugetlb attempt, not working for me

PR 11804 started to check "Anonymous:" but Linux kernel now also supports
"AnonHugePages:" and I think GDB should check also that /proc/PID/smaps entry.


Unfortunately during some experiments I am unable to get any hugetlb region, I
have tried qemu-kvm and also an attached .c attempt; This command has never
printed a line for me:
        grep -w ht /proc/*/smaps
Maybe my machines have too fragmented memory, I haven't tried some machine
after fresh reboot.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]