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

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Fri Apr 26 18:58:41 PDT 2013


commit 877d451133dc59e5bf142dbadf5e9b4e5b09c2a7
Author: Sepherosa Ziehau <sephe at 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



More information about the Commits mailing list