Bug 205184 - gdm-binary polls every 100ms, and thus wakes the process up every 100ms
gdm-binary polls every 100ms, and thus wakes the process up every 100ms
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: gdm (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ray Strode [halfline]
Mike McLean
:
Depends On:
Blocks: FC6Target wakeup
  Show dependency treegraph
 
Reported: 2006-09-05 07:45 EDT by Arjan van de Ven
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-09-14 02:44:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Arjan van de Ven 2006-09-05 07:45:46 EDT
Description of problem:
    monitor->priv->poll_timeout_id =
            g_timeout_add_full (G_PRIORITY_DEFAULT_IDLE,
                                SC_SECURITY_TOKEN_MONITOR_POLL_INTERVAL,
                                (GSourceFunc)
                               
sc_security_token_monitor_check_for_and_process_events,
                                monitor, (GDestroyNotify)
                                sc_security_token_monitor_polling_stopped_handler);


with....
#define SC_SECURITY_TOKEN_MONITOR_POLL_INTERVAL 100     /* ms */


this is clearly evil (it wakes the processor up every 100msec) and it's running
all the time when logged into gnome!
Comment 1 Arjan van de Ven 2006-09-05 08:12:24 EDT
why btw is gdm doing this when I'm already logged in?
(not that there's an excuse to do it even when not logged in...)
Comment 2 Ray Strode [halfline] 2006-09-05 11:10:42 EDT
This is a known problem that is targetted to get fixed before FC6.

See bug 201860.  Both gdm and g-s use the same code for this particular bit, but
i'll leave this report open to track getting the fix into the actual package.
Comment 3 Ray Strode [halfline] 2006-09-14 02:44:40 EDT
should be fixed in the next build. Please reopen if it's still causing you
problems in gdm-2.16.0-4.fc6

Note You need to log in before you can comment on or make changes to this bug.