public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/31053] New: The stap runtime's allocator might sleep in atomic contexts
@ 2023-11-11  7:19 agentzh at gmail dot com
  2023-11-14 20:50 ` [Bug runtime/31053] " agentzh at gmail dot com
  0 siblings, 1 reply; 2+ messages in thread
From: agentzh at gmail dot com @ 2023-11-11  7:19 UTC (permalink / raw)
  To: systemtap

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

            Bug ID: 31053
           Summary: The stap runtime's allocator might sleep in atomic
                    contexts
           Product: systemtap
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: agentzh at gmail dot com
  Target Milestone: ---

Currently, the `STP_ALLOC_FLAGS` flag used in the stap kernel runtime's
allocator actually includes __GFP_IO and __GFP_FS flags which might sleep. All
kernels since 3.10 would trigger this bug. But the STP_ALLOC_FLAGS is supposed
to be used "anywhere", including atomic contexts, according to the existing
code comment:

```
 /* Default, and should be "safe" from anywhere. */
```

I'll fix it in a patch. Glad we drop support for the 2.6 kernels so we can
remove a lot of baggage here.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug runtime/31053] The stap runtime's allocator might sleep in atomic contexts
  2023-11-11  7:19 [Bug runtime/31053] New: The stap runtime's allocator might sleep in atomic contexts agentzh at gmail dot com
@ 2023-11-14 20:50 ` agentzh at gmail dot com
  0 siblings, 0 replies; 2+ messages in thread
From: agentzh at gmail dot com @ 2023-11-14 20:50 UTC (permalink / raw)
  To: systemtap

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

agentzh <agentzh at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from agentzh <agentzh at gmail dot com> ---
Fixed in commit 13654ecdb.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-14 20:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-11  7:19 [Bug runtime/31053] New: The stap runtime's allocator might sleep in atomic contexts agentzh at gmail dot com
2023-11-14 20:50 ` [Bug runtime/31053] " agentzh at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).