DragonFly BSD
DragonFly commits List (threaded) for 2013-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: intr: Don't embed struct thread in intr_info


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 26 Apr 2013 18:58:41 -0700 (PDT)

commit 877d451133dc59e5bf142dbadf5e9b4e5b09c2a7
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Sat Apr 27 09:54:27 2013 +0800

    intr: Don't embed struct thread in intr_info
    
    After the per-cpu IDT support, the intr_info array grows so large that
    embedding struct thread in intr_info wastes too much memory.  After this
    commit, the intr_info.i_thread is allocated on demand.
    
    Noticed-by: dillon@

Summary of changes:
 sys/kern/kern_intr.c | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/877d451133dc59e5bf142dbadf5e9b4e5b09c2a7


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]