#7981 NORM 8.2.1: EC mask setting is inefficient

Zarro Boogs per Child bugtracker at laptop.org
Fri Aug 15 13:37:52 EDT 2008


#7981: EC mask setting is inefficient
-------------------------+--------------------------------------------------
   Reporter:  cjb        |       Owner:  dsaxena      
       Type:  defect     |      Status:  new          
   Priority:  normal     |   Milestone:  8.2.1        
  Component:  kernel     |     Version:  not specified
 Resolution:             |    Keywords:               
Next_action:  never set  |    Verified:  0            
  Blockedby:             |    Blocking:               
-------------------------+--------------------------------------------------

Comment(by dsaxena):

 This might be due to OHM disabling events via the /sys/power/wakeup_events
 interface, where we write one file per bit and on every write I do a RMW
 on the EC mask. I should do some sort of caching in the kernel and only
 write
 back the bits when we trigger a suspend.

-- 
Ticket URL: <http://dev.laptop.org/ticket/7981#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list