From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AB3E13858D35; Sat, 11 Nov 2023 07:19:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AB3E13858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1699687182; bh=yCR2v3dtYolsZroauUC+K4CIqHW8VkgYgniKggU+F0w=; h=From:To:Subject:Date:From; b=kL8CC5qJX0sm/sW7gIfW0Eh+U4dJveD0xiWFQ1iTqNr+F0ptLOz26beT+ygIjYotp N4g2Vx94uz9rdKiJSCkEYKijNL+kB4Nre7W6+KDa+Jk9qM7NAD7VGsBXzTIXpO3aUz WQEPrPBBdWMKJnd3k3Wb4GvdvKdSC+DCLkRj9XKo= From: "agentzh at gmail dot com" To: systemtap@sourceware.org Subject: [Bug runtime/31053] New: The stap runtime's allocator might sleep in atomic contexts Date: Sat, 11 Nov 2023 07:19:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: agentzh at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31053 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 suppo= sed 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. --=20 You are receiving this mail because: You are the assignee for the bug.=