diff options
| author | Jeremy Fitzhardinge <[email protected]> | 2010-06-07 16:28:49 -0400 |
|---|---|---|
| committer | Konrad Rzeszutek Wilk <[email protected]> | 2010-10-18 10:41:42 -0400 |
| commit | b21ddbf50386d10cdd60d8f8e744cff0496d2552 (patch) | |
| tree | fdd4a7ef7010262e22ad80797ac79578d63f3858 /scripts/stackusage | |
| parent | 0794bfc74365d0de4b1d4920cb71031850551cbd (diff) | |
xen: dynamically allocate irq & event structures
Dynamically allocate the irq_info and evtchn_to_irq arrays, so that
1) the irq_info array scales to the actual number of possible irqs,
and 2) we don't needlessly increase the static size of the kernel
when we aren't running under Xen.
Derived on patch from Mike Travis <[email protected]>.
[Impact: reduce memory usage ]
[v2: Conflict in drivers/xen/events.c: Replaced alloc_bootmen with kcalloc ]
Signed-off-by: Jeremy Fitzhardinge <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions